]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
New SetModified method
[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
554f62e9
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
d55e5bfc 996
554f62e9
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1000
554f62e9
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1004
554f62e9
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1008
554f62e9
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1012
d55e5bfc 1013
554f62e9 1014/* Runtime API */
d55e5bfc 1015
554f62e9
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1019
554f62e9
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
7449af73 1025
d55e5bfc 1026
554f62e9 1027/* Runtime API implementation */
093d3ff1 1028
554f62e9 1029/* Error manipulation */
093d3ff1 1030
554f62e9
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1037}
1038
554f62e9
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1 1044}
d55e5bfc 1045
554f62e9 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1047
554f62e9 1048/* Set a constant value */
093d3ff1 1049
554f62e9
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
d55e5bfc
RD
1054}
1055
554f62e9 1056/* Append a value to the result obj */
d55e5bfc 1057
554f62e9
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
c32bde28 1084 } else {
554f62e9
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
c32bde28 1096 }
554f62e9
RD
1097 return result;
1098#endif
d55e5bfc 1099}
093d3ff1 1100
554f62e9 1101/* Unpack the argument tuple */
093d3ff1 1102
554f62e9
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1605#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1609#endif
1610 };
1611
554f62e9 1612 static PyTypeObject pyswigobject_type;
7449af73 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
554f62e9
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
093d3ff1 1628#endif
554f62e9
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
093d3ff1 1647#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
d55e5bfc 1668#endif
093d3ff1 1669#if PY_VERSION_HEX >= 0x02030000
554f62e9 1670 0, /* tp_del */
093d3ff1
RD
1671#endif
1672#ifdef COUNT_ALLOCS
554f62e9 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
554f62e9 1675 };
7449af73 1676 pyswigobject_type = tmp;
554f62e9 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
7449af73 1680 return &pyswigobject_type;
093d3ff1
RD
1681}
1682
1683SWIGRUNTIME PyObject *
554f62e9 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1685{
554f62e9
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
7449af73 1692 }
554f62e9 1693 return (PyObject *)sobj;
093d3ff1
RD
1694}
1695
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
554f62e9 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
1706
1707SWIGRUNTIME int
554f62e9 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1709{
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
554f62e9 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
9d7dfdff 1720
093d3ff1
RD
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
554f62e9 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1729 }
1730}
1731
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
554f62e9 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
1742
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745{
554f62e9
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1750}
1751
554f62e9 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1753
1754SWIGRUNTIME PyTypeObject*
7449af73 1755PySwigPacked_type(void) {
554f62e9
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
093d3ff1
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
554f62e9 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
554f62e9 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
554f62e9 1838 };
7449af73 1839 pyswigpacked_type = tmp;
554f62e9 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
7449af73 1843 return &pyswigpacked_type;
093d3ff1
RD
1844}
1845
1846SWIGRUNTIME PyObject *
554f62e9 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
554f62e9
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
7449af73
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
554f62e9
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
7449af73 1860 }
093d3ff1 1861 }
554f62e9 1862 return (PyObject *) sobj;
093d3ff1
RD
1863}
1864
554f62e9 1865SWIGRUNTIME swig_type_info *
093d3ff1
RD
1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867{
554f62e9
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
093d3ff1
RD
1876}
1877
093d3ff1 1878/* -----------------------------------------------------------------------------
554f62e9 1879 * pointers/data manipulation
093d3ff1
RD
1880 * ----------------------------------------------------------------------------- */
1881
554f62e9
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
093d3ff1 1887
554f62e9
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
093d3ff1 1894
554f62e9 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1896
554f62e9
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
554f62e9
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
093d3ff1 1922 } else {
554f62e9
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
554f62e9
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
093d3ff1
RD
1943 }
1944}
1945
554f62e9
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
093d3ff1 1957 }
554f62e9 1958 return 0;
093d3ff1
RD
1959}
1960
554f62e9
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
554f62e9
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
093d3ff1 1988 } else {
554f62e9
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
554f62e9
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
093d3ff1
RD
2038 }
2039}
2040
554f62e9
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
554f62e9
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2047 } else {
554f62e9
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
093d3ff1
RD
2065 }
2066}
2067
554f62e9 2068/* Convert a packed value value */
093d3ff1 2069
093d3ff1 2070SWIGRUNTIME int
554f62e9
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
093d3ff1 2080 }
554f62e9
RD
2081 return SWIG_OK;
2082}
093d3ff1 2083
554f62e9
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
093d3ff1 2087
554f62e9
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
093d3ff1 2092
554f62e9
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
093d3ff1 2111 }
554f62e9
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
554f62e9
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
093d3ff1 2122 }
554f62e9
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
093d3ff1 2136 }
554f62e9
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
093d3ff1 2143 }
554f62e9
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
093d3ff1
RD
2154}
2155
554f62e9
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
093d3ff1 2171#endif
554f62e9
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
093d3ff1 2176
554f62e9
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2187 } else {
554f62e9 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
554f62e9 2190 return SWIG_Py_Void();
093d3ff1 2191 }
554f62e9
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
554f62e9 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
554f62e9
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
093d3ff1 2209 }
093d3ff1 2210 }
554f62e9 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
554f62e9
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
7449af73
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
093d3ff1
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
093d3ff1 2244#endif
7449af73
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
7449af73
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
554f62e9 2259 return SWIG_ERROR;
7449af73
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
554f62e9 2264 return SWIG_ERROR;
7449af73
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
554f62e9 2272 return SWIG_ERROR;
7449af73
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
554f62e9 2275 return SWIG_ERROR;
7449af73 2276 Py_DECREF(o);
554f62e9 2277 return SWIG_OK;
093d3ff1 2278}
7449af73 2279#endif
093d3ff1 2280
554f62e9
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
7449af73
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
554f62e9 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2306 } else {
2307 Py_XDECREF(pointer);
7449af73
RD
2308 }
2309}
093d3ff1 2310
554f62e9
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
093d3ff1 2316}
093d3ff1 2317
554f62e9
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
7449af73
RD
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_long swig_types[4]
2467#define SWIGTYPE_p_unsigned_char swig_types[5]
2468#define SWIGTYPE_p_unsigned_int swig_types[6]
2469#define SWIGTYPE_p_unsigned_long swig_types[7]
2470#define SWIGTYPE_p_void swig_types[8]
2471#define SWIGTYPE_p_wxANIHandler swig_types[9]
2472#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474#define SWIGTYPE_p_wxArrayInt swig_types[12]
2475#define SWIGTYPE_p_wxArrayString swig_types[13]
2476#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477#define SWIGTYPE_p_wxBitmap swig_types[15]
2478#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482#define SWIGTYPE_p_wxButton swig_types[20]
2483#define SWIGTYPE_p_wxCURHandler swig_types[21]
2484#define SWIGTYPE_p_wxCheckBox swig_types[22]
2485#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487#define SWIGTYPE_p_wxChoice swig_types[25]
2488#define SWIGTYPE_p_wxChoicebook swig_types[26]
2489#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2490#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491#define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492#define SWIGTYPE_p_wxColour swig_types[30]
b850e7f3
RD
2493#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494#define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495#define SWIGTYPE_p_wxComboBox swig_types[33]
2496#define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497#define SWIGTYPE_p_wxContextHelp swig_types[35]
2498#define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499#define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500#define SWIGTYPE_p_wxControl swig_types[38]
2501#define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502#define SWIGTYPE_p_wxCursor swig_types[40]
2503#define SWIGTYPE_p_wxDC swig_types[41]
2504#define SWIGTYPE_p_wxDateEvent swig_types[42]
2505#define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506#define SWIGTYPE_p_wxDateTime swig_types[44]
2507#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508#define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510#define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511#define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512#define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513#define SWIGTYPE_p_wxEvent swig_types[51]
2514#define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515#define SWIGTYPE_p_wxFSFile swig_types[53]
2516#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517#define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518#define SWIGTYPE_p_wxFileSystem swig_types[56]
2519#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520#define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521#define SWIGTYPE_p_wxFont swig_types[59]
2522#define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523#define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524#define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525#define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526#define SWIGTYPE_p_wxGauge swig_types[64]
2527#define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528#define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529#define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530#define SWIGTYPE_p_wxGridSizer swig_types[68]
2531#define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532#define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534#define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535#define SWIGTYPE_p_wxICOHandler swig_types[73]
2536#define SWIGTYPE_p_wxIcon swig_types[74]
2537#define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538#define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539#define SWIGTYPE_p_wxImage swig_types[77]
2540#define SWIGTYPE_p_wxImageHandler swig_types[78]
2541#define SWIGTYPE_p_wxImageList swig_types[79]
2542#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543#define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544#define SWIGTYPE_p_wxItemContainer swig_types[82]
2545#define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546#define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547#define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548#define SWIGTYPE_p_wxListBox swig_types[86]
2549#define SWIGTYPE_p_wxListEvent swig_types[87]
2550#define SWIGTYPE_p_wxListItem swig_types[88]
2551#define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552#define SWIGTYPE_p_wxListView swig_types[90]
2553#define SWIGTYPE_p_wxListbook swig_types[91]
2554#define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555#define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556#define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557#define SWIGTYPE_p_wxMenu swig_types[95]
2558#define SWIGTYPE_p_wxMenuBar swig_types[96]
2559#define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560#define SWIGTYPE_p_wxMenuItem swig_types[98]
2561#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562#define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563#define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565#define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566#define SWIGTYPE_p_wxNotebook swig_types[104]
2567#define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568#define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569#define SWIGTYPE_p_wxObject swig_types[107]
2570#define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571#define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572#define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573#define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575#define SWIGTYPE_p_wxPaperSize swig_types[113]
2576#define SWIGTYPE_p_wxPickerBase swig_types[114]
2577#define SWIGTYPE_p_wxPoint swig_types[115]
2578#define SWIGTYPE_p_wxPyApp swig_types[116]
2579#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580#define SWIGTYPE_p_wxPyControl swig_types[118]
2581#define SWIGTYPE_p_wxPyEvent swig_types[119]
2582#define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583#define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584#define SWIGTYPE_p_wxPySizer swig_types[122]
2585#define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586#define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587#define SWIGTYPE_p_wxPyValidator swig_types[125]
2588#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589#define SWIGTYPE_p_wxRadioBox swig_types[127]
2590#define SWIGTYPE_p_wxRadioButton swig_types[128]
2591#define SWIGTYPE_p_wxRect swig_types[129]
2592#define SWIGTYPE_p_wxScrollBar swig_types[130]
2593#define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594#define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595#define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596#define SWIGTYPE_p_wxShowEvent swig_types[134]
2597#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598#define SWIGTYPE_p_wxSize swig_types[136]
2599#define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600#define SWIGTYPE_p_wxSizer swig_types[138]
2601#define SWIGTYPE_p_wxSizerItem swig_types[139]
2602#define SWIGTYPE_p_wxSlider swig_types[140]
2603#define SWIGTYPE_p_wxSpinButton swig_types[141]
2604#define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605#define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606#define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607#define SWIGTYPE_p_wxStaticBox swig_types[145]
2608#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609#define SWIGTYPE_p_wxStaticLine swig_types[147]
2610#define SWIGTYPE_p_wxStaticText swig_types[148]
2611#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612#define SWIGTYPE_p_wxString swig_types[150]
2613#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615#define SWIGTYPE_p_wxTextAttr swig_types[153]
2616#define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617#define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618#define SWIGTYPE_p_wxToggleButton swig_types[156]
2619#define SWIGTYPE_p_wxToolBar swig_types[157]
2620#define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622#define SWIGTYPE_p_wxToolbook swig_types[160]
2623#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625#define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626#define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627#define SWIGTYPE_p_wxTreebook swig_types[165]
2628#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630#define SWIGTYPE_p_wxValidator swig_types[168]
2631#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632#define SWIGTYPE_p_wxWindow swig_types[170]
2633#define SWIGTYPE_p_wxWindowBase swig_types[171]
2634#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636#define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637static swig_type_info *swig_types[176];
2638static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
7449af73
RD
2639#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2641
2642/* -------- TYPES TABLE (END) -------- */
2643
554f62e9
RD
2644#if (PY_VERSION_HEX <= 0x02000000)
2645# if !defined(SWIG_PYTHON_CLASSIC)
2646# error "This python version requires to use swig with the '-classic' option"
2647# endif
2648#endif
2649#if (PY_VERSION_HEX <= 0x02020000)
2650# error "This python version requires to use swig with the '-nomodern' option"
2651#endif
2652#if (PY_VERSION_HEX <= 0x02020000)
2653# error "This python version requires to use swig with the '-nomodernargs' option"
2654#endif
2655#ifndef METH_O
2656# error "This python version requires to use swig with the '-nofastunpack' option"
2657#endif
093d3ff1
RD
2658
2659/*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662#define SWIG_init init_controls_
2663
2664#define SWIG_name "_controls_"
2665
554f62e9
RD
2666#define SWIGVERSION 0x010329
2667
2668
2669#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671
2672
2673#include <stdexcept>
2674
2675
2676namespace swig {
2677 class PyObject_ptr {
2678 protected:
2679 PyObject *_obj;
2680
2681 public:
2682 PyObject_ptr() :_obj(0)
2683 {
2684 }
2685
2686 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2687 {
2688 Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2692 {
2693 if (initial_ref) Py_XINCREF(_obj);
2694 }
2695
2696 PyObject_ptr & operator=(const PyObject_ptr& item)
2697 {
2698 Py_XINCREF(item._obj);
2699 Py_XDECREF(_obj);
2700 _obj = item._obj;
2701 return *this;
2702 }
2703
2704 ~PyObject_ptr()
2705 {
2706 Py_XDECREF(_obj);
2707 }
2708
2709 operator PyObject *() const
2710 {
2711 return _obj;
2712 }
2713
2714 PyObject *operator->() const
2715 {
2716 return _obj;
2717 }
2718 };
2719}
2720
2721
2722namespace swig {
2723 struct PyObject_var : PyObject_ptr {
2724 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2725
2726 PyObject_var & operator = (PyObject* obj)
2727 {
2728 Py_XDECREF(_obj);
2729 _obj = obj;
2730 return *this;
2731 }
2732 };
2733}
2734
2735
093d3ff1
RD
2736#include "wx/wxPython/wxPython.h"
2737#include "wx/wxPython/pyclasses.h"
2738
2739 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2740 static const wxString wxPyEmptyString(wxEmptyString);
2741 static const wxString wxPyControlNameStr(wxControlNameStr);
2742
2743 const wxArrayString wxPyEmptyStringArray;
2744
2745 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2746
554f62e9 2747 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2748
2749
554f62e9
RD
2750SWIGINTERNINLINE PyObject *
2751SWIG_From_int (int value)
2752{
2753 return SWIG_From_long (value);
2754}
093d3ff1
RD
2755
2756
554f62e9
RD
2757#include <limits.h>
2758#ifndef LLONG_MIN
2759# define LLONG_MIN LONG_LONG_MIN
2760#endif
2761#ifndef LLONG_MAX
2762# define LLONG_MAX LONG_LONG_MAX
2763#endif
2764#ifndef ULLONG_MAX
2765# define ULLONG_MAX ULONG_LONG_MAX
2766#endif
093d3ff1
RD
2767
2768
2769SWIGINTERN int
554f62e9 2770SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2771{
2772 if (PyNumber_Check(obj)) {
2773 if (val) *val = PyInt_AsLong(obj);
554f62e9 2774 return SWIG_OK;
093d3ff1 2775 }
554f62e9 2776 return SWIG_TypeError;
093d3ff1
RD
2777}
2778
2779
093d3ff1 2780SWIGINTERN int
554f62e9
RD
2781SWIG_AsVal_int (PyObject * obj, int *val)
2782{
093d3ff1 2783 long v;
554f62e9
RD
2784 int res = SWIG_AsVal_long (obj, &v);
2785 if (SWIG_IsOK(res)) {
2786 if ((v < INT_MIN || v > INT_MAX)) {
2787 return SWIG_OverflowError;
093d3ff1 2788 } else {
554f62e9 2789 if (val) *val = static_cast< int >(v);
093d3ff1 2790 }
554f62e9
RD
2791 }
2792 return res;
d55e5bfc
RD
2793}
2794
c32bde28 2795 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2796
093d3ff1 2797SWIGINTERN int
554f62e9 2798SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2799{
c32bde28
RD
2800 if (obj == Py_True) {
2801 if (val) *val = true;
554f62e9
RD
2802 return SWIG_OK;
2803 } else if (obj == Py_False) {
c32bde28 2804 if (val) *val = false;
554f62e9 2805 return SWIG_OK;
093d3ff1 2806 } else {
554f62e9
RD
2807 long v = 0;
2808 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2809 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2810 return res;
c32bde28 2811 }
d55e5bfc
RD
2812}
2813
2814 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2815 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2816 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2817 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2818 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2819 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2820
2821#include <wx/checklst.h>
d55e5bfc
RD
2822
2823 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
554f62e9 2824SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2825 if (clientData)
2826 {
d55e5bfc
RD
2827 wxPyClientData* data = new wxPyClientData(clientData);
2828 self->Insert(item, pos, data);
e9d6f3a4
RD
2829 }
2830 else
d55e5bfc
RD
2831 self->Insert(item, pos);
2832 }
50f151d7
RD
2833
2834SWIGINTERN int
2835SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2836{
2837 long v = 0;
2838 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2839 return SWIG_TypeError;
2840 }
2841 else if (val)
2842 *val = (unsigned long)v;
2843 return SWIG_OK;
2844}
2845
2846
2847SWIGINTERN int
2848SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2849{
2850 unsigned long v;
2851 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2852 if (SWIG_IsOK(res)) {
2853 if ((v > UINT_MAX)) {
2854 return SWIG_OverflowError;
2855 } else {
2856 if (val) *val = static_cast< unsigned int >(v);
2857 }
2858 }
2859 return res;
2860}
2861
554f62e9 2862SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2863 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2864 wxArrayInt lst;
2865 self->GetSelections(lst);
2866 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2867 for (size_t i=0; i<lst.GetCount(); i++)
2868 {
7e08d4ef
RD
2869 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2870 }
e9d6f3a4 2871 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2872 return tup;
2873 }
554f62e9 2874SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2875 #ifdef __WXMSW__
2876 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2877 self->GetItem(item)->SetTextColour(c);
2878 #endif
2879 }
554f62e9 2880SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2881 #ifdef __WXMSW__
2882 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2883 self->GetItem(item)->SetBackgroundColour(c);
2884 #endif
2885 }
554f62e9 2886SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
2887 #ifdef __WXMSW__
2888 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2889 self->GetItem(item)->SetFont(f);
2890 #endif
2891 }
2892 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
554f62e9 2893SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2894 self->AppendText(text);
2895 }
554f62e9 2896SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
2897 return self->GetValue().Mid(from, to - from);
2898 }
2899 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2900 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2901 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2903 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2904
1c71765a
RD
2905SWIGINTERNINLINE PyObject*
2906SWIG_From_unsigned_SS_long (unsigned long value)
2907{
2908 return (value > LONG_MAX) ?
2909 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2910}
2911
2912
2913SWIGINTERNINLINE PyObject *
2914SWIG_From_size_t (size_t value)
2915{
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2917}
2918
2919
50f151d7
RD
2920SWIGINTERNINLINE PyObject *
2921SWIG_From_unsigned_SS_int (unsigned int value)
2922{
2923 return SWIG_From_unsigned_SS_long (value);
2924}
2925
2926
d55e5bfc
RD
2927#include <wx/slider.h>
2928
2929
2930 static const wxString wxPySliderNameStr(wxSliderNameStr);
2931 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2932
2933#if !wxUSE_TOGGLEBTN
2934// implement dummy items for platforms that don't have this class
2935
2936#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2937
2938class wxToggleButton : public wxControl
2939{
2940public:
2941 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2942 const wxPoint&, const wxSize&, long,
2943 const wxValidator&, const wxString&)
2944 { wxPyRaiseNotImplemented(); }
2945
2946 wxToggleButton()
2947 { wxPyRaiseNotImplemented(); }
2948};
2949#endif
2950
51b83b37 2951 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 2952
7e08d4ef 2953SWIGINTERNINLINE int
554f62e9 2954SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2955{
7e08d4ef 2956 unsigned long v;
554f62e9
RD
2957 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2958 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2959 return res;
7e08d4ef 2960}
7e08d4ef 2961
d55e5bfc 2962 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9 2963SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2964 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2965 if (udata) {
2966 Py_INCREF(udata->m_obj);
2967 return udata->m_obj;
2968 } else {
2969 Py_INCREF(Py_None);
2970 return Py_None;
2971 }
2972 }
554f62e9 2973SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2974 self->SetClientData(new wxPyUserData(clientData));
2975 }
554f62e9 2976SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
2977 wxPyUserData* udata = NULL;
2978 if (clientData && clientData != Py_None)
2979 udata = new wxPyUserData(clientData);
2980 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2981 shortHelp, longHelp, udata);
2982 }
554f62e9 2983SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
2984 wxPyUserData* udata = NULL;
2985 if (clientData && clientData != Py_None)
2986 udata = new wxPyUserData(clientData);
2987 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2988 shortHelp, longHelp, udata);
2989 }
554f62e9 2990SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
2991 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2992 if (udata) {
2993 Py_INCREF(udata->m_obj);
2994 return udata->m_obj;
2995 } else {
2996 Py_INCREF(Py_None);
2997 return Py_None;
2998 }
2999 }
554f62e9 3000SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
3001 self->SetToolClientData(id, new wxPyUserData(clientData));
3002 }
3003
3004#include <wx/listctrl.h>
3005
fef4c27a 3006 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
554f62e9 3007SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3010 int retval = 0;
3011 PyObject* func = (PyObject*)funcPtr;
5a446332 3012 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3013
3014 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3015 PyObject* result = PyEval_CallObject(func, args);
3016 Py_DECREF(args);
3017 if (result) {
3018 retval = PyInt_AsLong(result);
3019 Py_DECREF(result);
3020 }
3021
3022 wxPyEndBlockThreads(blocked);
3023 return retval;
3024 }
3025
3026 // C++ Version of a Python aware class
3027class wxPyListCtrl : public wxListCtrl {
7449af73 3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
3029public:
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3032 const wxPoint& pos,
3033 const wxSize& size,
3034 long style,
3035 const wxValidator& validator,
3036 const wxString& name) :
3037 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3038
3039 bool Create(wxWindow* parent, wxWindowID id,
3040 const wxPoint& pos,
3041 const wxSize& size,
3042 long style,
3043 const wxValidator& validator,
3044 const wxString& name) {
3045 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3046 }
3047
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3050
84f85550
RD
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3054
d55e5bfc
RD
3055 PYPRIVATE;
3056};
3057
3058IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3059
3060IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 3061IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3062IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
3063IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3064
d55e5bfc 3065
554f62e9 3066SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
3067 wxListItem item;
3068 item.SetMask( wxLIST_MASK_STATE |
3069 wxLIST_MASK_TEXT |
3070 wxLIST_MASK_IMAGE |
3071 wxLIST_MASK_DATA |
3072 wxLIST_SET_ITEM |
3073 wxLIST_MASK_WIDTH |
3074 wxLIST_MASK_FORMAT
3075 );
3076 if (self->GetColumn(col, item))
3077 return new wxListItem(item);
3078 else
3079 return NULL;
3080 }
554f62e9 3081SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
3082 wxListItem* info = new wxListItem;
3083 info->m_itemId = itemId;
3084 info->m_col = col;
3085 info->m_mask = 0xFFFF;
3086 self->GetItem(*info);
3087 return info;
3088 }
554f62e9 3089SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3090 wxPoint pos;
3091 self->GetItemPosition(item, pos);
3092 return pos;
3093 }
554f62e9 3094SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
3095 wxRect rect;
3096 self->GetItemRect(item, rect, code);
3097 return rect;
3098 }
554f62e9 3099SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3100 if (!PyCallable_Check(func))
ae8162c8 3101 return false;
d55e5bfc
RD
3102 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3103 }
554f62e9 3104SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
3105
3106 return self;
3107
3108
3109
3110 }
3111
3112#include <wx/treectrl.h>
3113#include "wx/wxPython/pytree.h"
3114
3115 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
554f62e9
RD
3116SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3117SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3118SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
3119 // C++ version of Python aware wxTreeCtrl
3120class wxPyTreeCtrl : public wxTreeCtrl {
7449af73 3121 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
3122public:
3123 wxPyTreeCtrl() : wxTreeCtrl() {}
3124 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3125 const wxPoint& pos,
3126 const wxSize& size,
3127 long style,
3128 const wxValidator& validator,
3129 const wxString& name) :
3130 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3131
3132 bool Create(wxWindow *parent, wxWindowID id,
3133 const wxPoint& pos,
3134 const wxSize& size,
3135 long style,
3136 const wxValidator& validator,
3137 const wxString& name) {
3138 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3139 }
3140
3141
3142 int OnCompareItems(const wxTreeItemId& item1,
3143 const wxTreeItemId& item2) {
3144 int rval = 0;
3145 bool found;
5a446332 3146 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3147 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3148 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3149 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
3150 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3151 Py_DECREF(o1);
3152 Py_DECREF(o2);
3153 }
3154 wxPyEndBlockThreads(blocked);
3155 if (! found)
3156 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3157 return rval;
3158 }
3159 PYPRIVATE;
3160};
3161
3162IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3163
3164
554f62e9 3165SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3166 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3167 if (data == NULL) {
3168 data = new wxPyTreeItemData();
3169 data->SetId(item); // set the id
3170 self->SetItemData(item, data);
3171 }
3172 return data;
3173 }
554f62e9 3174SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3175 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3176 if (data == NULL) {
3177 data = new wxPyTreeItemData();
3178 data->SetId(item); // set the id
3179 self->SetItemData(item, data);
3180 }
3181 return data->GetData();
3182 }
554f62e9 3183SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
3184 data->SetId(item); // set the id
3185 self->SetItemData(item, data);
3186 }
554f62e9 3187SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
3188 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3189 if (data == NULL) {
3190 data = new wxPyTreeItemData(obj);
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 } else
3194 data->SetData(obj);
3195 }
554f62e9 3196SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3198 PyObject* rval = PyList_New(0);
3199 wxArrayTreeItemIds array;
3200 size_t num, x;
3201 num = self->GetSelections(array);
3202 for (x=0; x < num; x++) {
3203 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3204 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3205 PyList_Append(rval, item);
a07a67e6 3206 Py_DECREF(item);
d55e5bfc
RD
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 return rval;
3210 }
554f62e9 3211SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3212 void* cookie = 0;
3213 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3214 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3215 PyObject* tup = PyTuple_New(2);
ae8162c8 3216 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3217 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3218 wxPyEndBlockThreads(blocked);
3219 return tup;
3220 }
554f62e9 3221SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 3222 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3223 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3224 PyObject* tup = PyTuple_New(2);
ae8162c8 3225 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3226 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3227 wxPyEndBlockThreads(blocked);
3228 return tup;
3229 }
554f62e9 3230SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
3231 wxRect rect;
3232 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3233 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3234 wxRect* r = new wxRect(rect);
ae8162c8 3235 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
3236 wxPyEndBlockThreads(blocked);
3237 return val;
3238 }
3239 else
3240 RETURN_NONE();
3241 }
3242 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3243
7449af73 3244SWIGINTERNINLINE PyObject*
554f62e9 3245 SWIG_From_bool (bool value)
c32bde28 3246{
554f62e9 3247 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3248}
3249
d55e5bfc
RD
3250 // C++ version of Python aware wxControl
3251class wxPyControl : public wxControl
3252{
3253 DECLARE_DYNAMIC_CLASS(wxPyControl)
3254public:
3255 wxPyControl() : wxControl() {}
3256 wxPyControl(wxWindow* parent, const wxWindowID id,
3257 const wxPoint& pos = wxDefaultPosition,
3258 const wxSize& size = wxDefaultSize,
3259 long style = 0,
3260 const wxValidator& validator=wxDefaultValidator,
3261 const wxString& name = wxPyControlNameStr)
3262 : wxControl(parent, id, pos, size, style, validator, name) {}
3263
caef1a4d 3264 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 3265
60d5fcc1
RD
3266 bool DoEraseBackground(wxDC* dc) {
3267#ifdef __WXMSW__
3268 return wxWindow::DoEraseBackground(dc->GetHDC());
3269#else
3270 dc->SetBackground(wxBrush(GetBackgroundColour()));
3271 dc->Clear();
3272 return true;
3273#endif
3274 }
3275
d55e5bfc
RD
3276 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3277 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3278 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3280
3281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3284
3285 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3286 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3287
3288 DEC_PYCALLBACK__(InitDialog);
3289 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3290 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3291 DEC_PYCALLBACK_BOOL_(Validate);
3292
3293 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3295 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3296
3297 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3298 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3299
caef1a4d 3300 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3301 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3302
51b83b37
RD
3303 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3304
8d38bd1d
RD
3305 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3306
d55e5bfc
RD
3307 PYPRIVATE;
3308};
3309
3310IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3311
3312IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3313IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3314IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3315IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3316
3317IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3318IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3319IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3320
3321IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3322IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3323
3324IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3325IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3326IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3327IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3328
3329IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3330IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3331IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3332
3333IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3334IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3335
caef1a4d 3336IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 3337IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 3338
51b83b37 3339IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3340
3341IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3342
d55e5bfc
RD
3343
3344
554f62e9 3345SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
3346
3347#include <wx/generic/dragimgg.h>
3348
53aa7709 3349 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
554f62e9 3350SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3351 wxDateTime rv;
3352 self->GetRange(&rv, NULL);
3353 return rv;
3354 }
554f62e9 3355SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3356 wxDateTime rv;
3357 self->GetRange(NULL, &rv);
3358 return rv;
3359 }
704eda0c 3360 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3361
3362#include <wx/pickerbase.h>
3363#include <wx/clrpicker.h>
3364#include <wx/filepicker.h>
3365#include <wx/fontpicker.h>
3366
3367 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3368 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3369 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3370 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3371 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3372 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3373 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
d55e5bfc
RD
3374#ifdef __cplusplus
3375extern "C" {
3376#endif
554f62e9
RD
3377SWIGINTERN int ButtonNameStr_set(PyObject *) {
3378 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3379 return 1;
d55e5bfc
RD
3380}
3381
3382
554f62e9
RD
3383SWIGINTERN PyObject *ButtonNameStr_get(void) {
3384 PyObject *pyobj = 0;
3385
3386 {
d55e5bfc 3387#if wxUSE_UNICODE
554f62e9 3388 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3389#else
554f62e9 3390 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3391#endif
554f62e9
RD
3392 }
3393 return pyobj;
3394}
3395
3396
3397SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj = 0;
3399 wxWindow *arg1 = (wxWindow *) 0 ;
3400 int arg2 = (int) -1 ;
3401 wxString const &arg3_defvalue = wxPyEmptyString ;
3402 wxString *arg3 = (wxString *) &arg3_defvalue ;
3403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3405 wxSize const &arg5_defvalue = wxDefaultSize ;
3406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3407 long arg6 = (long) 0 ;
3408 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3409 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3410 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3411 wxString *arg8 = (wxString *) &arg8_defvalue ;
3412 wxButton *result = 0 ;
3413 void *argp1 = 0 ;
3414 int res1 = 0 ;
3415 int val2 ;
3416 int ecode2 = 0 ;
3417 bool temp3 = false ;
3418 wxPoint temp4 ;
3419 wxSize temp5 ;
3420 long val6 ;
3421 int ecode6 = 0 ;
3422 void *argp7 = 0 ;
3423 int res7 = 0 ;
3424 bool temp8 = false ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 PyObject * obj2 = 0 ;
3428 PyObject * obj3 = 0 ;
3429 PyObject * obj4 = 0 ;
3430 PyObject * obj5 = 0 ;
3431 PyObject * obj6 = 0 ;
3432 PyObject * obj7 = 0 ;
3433 char * kwnames[] = {
3434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3435 };
3436
3437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3439 if (!SWIG_IsOK(res1)) {
3440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3441 }
3442 arg1 = reinterpret_cast< wxWindow * >(argp1);
3443 if (obj1) {
3444 ecode2 = SWIG_AsVal_int(obj1, &val2);
3445 if (!SWIG_IsOK(ecode2)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3447 }
3448 arg2 = static_cast< int >(val2);
3449 }
3450 if (obj2) {
d55e5bfc 3451 {
554f62e9
RD
3452 arg3 = wxString_in_helper(obj2);
3453 if (arg3 == NULL) SWIG_fail;
3454 temp3 = true;
d55e5bfc 3455 }
554f62e9
RD
3456 }
3457 if (obj3) {
d55e5bfc 3458 {
554f62e9
RD
3459 arg4 = &temp4;
3460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3461 }
554f62e9
RD
3462 }
3463 if (obj4) {
d55e5bfc 3464 {
554f62e9
RD
3465 arg5 = &temp5;
3466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3467 }
554f62e9
RD
3468 }
3469 if (obj5) {
3470 ecode6 = SWIG_AsVal_long(obj5, &val6);
3471 if (!SWIG_IsOK(ecode6)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3473 }
3474 arg6 = static_cast< long >(val6);
3475 }
3476 if (obj6) {
3477 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3478 if (!SWIG_IsOK(res7)) {
3479 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3480 }
554f62e9
RD
3481 if (!argp7) {
3482 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3483 }
554f62e9
RD
3484 arg7 = reinterpret_cast< wxValidator * >(argp7);
3485 }
3486 if (obj7) {
d55e5bfc 3487 {
554f62e9
RD
3488 arg8 = wxString_in_helper(obj7);
3489 if (arg8 == NULL) SWIG_fail;
3490 temp8 = true;
d55e5bfc 3491 }
554f62e9
RD
3492 }
3493 {
3494 if (!wxPyCheckForApp()) SWIG_fail;
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3501 {
3502 if (temp3)
3503 delete arg3;
3504 }
3505 {
3506 if (temp8)
3507 delete arg8;
3508 }
3509 return resultobj;
3510fail:
3511 {
3512 if (temp3)
3513 delete arg3;
3514 }
3515 {
3516 if (temp8)
3517 delete arg8;
3518 }
3519 return NULL;
d55e5bfc
RD
3520}
3521
3522
554f62e9
RD
3523SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3524 PyObject *resultobj = 0;
3525 wxButton *result = 0 ;
3526
3527 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3528 {
3529 if (!wxPyCheckForApp()) SWIG_fail;
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 result = (wxButton *)new wxButton();
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3536 return resultobj;
3537fail:
3538 return NULL;
3539}
3540
3541
3542SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj = 0;
3544 wxButton *arg1 = (wxButton *) 0 ;
3545 wxWindow *arg2 = (wxWindow *) 0 ;
3546 int arg3 = (int) -1 ;
3547 wxString const &arg4_defvalue = wxPyEmptyString ;
3548 wxString *arg4 = (wxString *) &arg4_defvalue ;
3549 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3550 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3551 wxSize const &arg6_defvalue = wxDefaultSize ;
3552 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3553 long arg7 = (long) 0 ;
3554 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3555 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3556 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3557 wxString *arg9 = (wxString *) &arg9_defvalue ;
3558 bool result;
3559 void *argp1 = 0 ;
3560 int res1 = 0 ;
3561 void *argp2 = 0 ;
3562 int res2 = 0 ;
3563 int val3 ;
3564 int ecode3 = 0 ;
3565 bool temp4 = false ;
3566 wxPoint temp5 ;
3567 wxSize temp6 ;
3568 long val7 ;
3569 int ecode7 = 0 ;
3570 void *argp8 = 0 ;
3571 int res8 = 0 ;
3572 bool temp9 = false ;
3573 PyObject * obj0 = 0 ;
3574 PyObject * obj1 = 0 ;
3575 PyObject * obj2 = 0 ;
3576 PyObject * obj3 = 0 ;
3577 PyObject * obj4 = 0 ;
3578 PyObject * obj5 = 0 ;
3579 PyObject * obj6 = 0 ;
3580 PyObject * obj7 = 0 ;
3581 PyObject * obj8 = 0 ;
3582 char * kwnames[] = {
3583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3584 };
3585
3586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3588 if (!SWIG_IsOK(res1)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3590 }
3591 arg1 = reinterpret_cast< wxButton * >(argp1);
3592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3593 if (!SWIG_IsOK(res2)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3595 }
3596 arg2 = reinterpret_cast< wxWindow * >(argp2);
3597 if (obj2) {
3598 ecode3 = SWIG_AsVal_int(obj2, &val3);
3599 if (!SWIG_IsOK(ecode3)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3601 }
3602 arg3 = static_cast< int >(val3);
3603 }
3604 if (obj3) {
d55e5bfc 3605 {
554f62e9
RD
3606 arg4 = wxString_in_helper(obj3);
3607 if (arg4 == NULL) SWIG_fail;
3608 temp4 = true;
d55e5bfc 3609 }
554f62e9
RD
3610 }
3611 if (obj4) {
d55e5bfc 3612 {
554f62e9
RD
3613 arg5 = &temp5;
3614 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3615 }
554f62e9
RD
3616 }
3617 if (obj5) {
d55e5bfc 3618 {
554f62e9
RD
3619 arg6 = &temp6;
3620 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3621 }
554f62e9
RD
3622 }
3623 if (obj6) {
3624 ecode7 = SWIG_AsVal_long(obj6, &val7);
3625 if (!SWIG_IsOK(ecode7)) {
3626 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3627 }
3628 arg7 = static_cast< long >(val7);
3629 }
3630 if (obj7) {
3631 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3632 if (!SWIG_IsOK(res8)) {
3633 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3634 }
554f62e9
RD
3635 if (!argp8) {
3636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3637 }
554f62e9
RD
3638 arg8 = reinterpret_cast< wxValidator * >(argp8);
3639 }
3640 if (obj8) {
d55e5bfc 3641 {
554f62e9
RD
3642 arg9 = wxString_in_helper(obj8);
3643 if (arg9 == NULL) SWIG_fail;
3644 temp9 = true;
d55e5bfc 3645 }
554f62e9
RD
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3655 }
3656 {
3657 if (temp4)
3658 delete arg4;
3659 }
3660 {
3661 if (temp9)
3662 delete arg9;
3663 }
3664 return resultobj;
3665fail:
3666 {
3667 if (temp4)
3668 delete arg4;
3669 }
3670 {
3671 if (temp9)
3672 delete arg9;
3673 }
3674 return NULL;
d55e5bfc
RD
3675}
3676
3677
554f62e9
RD
3678SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3679 PyObject *resultobj = 0;
3680 wxButton *arg1 = (wxButton *) 0 ;
3681 void *argp1 = 0 ;
3682 int res1 = 0 ;
3683 PyObject *swig_obj[1] ;
3684
3685 if (!args) SWIG_fail;
3686 swig_obj[0] = args;
3687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3688 if (!SWIG_IsOK(res1)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3690 }
3691 arg1 = reinterpret_cast< wxButton * >(argp1);
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->SetDefault();
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 resultobj = SWIG_Py_Void();
3699 return resultobj;
3700fail:
3701 return NULL;
d55e5bfc
RD
3702}
3703
3704
554f62e9
RD
3705SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3706 PyObject *resultobj = 0;
3707 wxSize result;
3708
3709 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 result = wxButton::GetDefaultSize();
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3717 return resultobj;
3718fail:
3719 return NULL;
3720}
3721
3722
3723SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj = 0;
3725 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3726 SwigValueWrapper<wxVisualAttributes > result;
3727 int val1 ;
3728 int ecode1 = 0 ;
3729 PyObject * obj0 = 0 ;
3730 char * kwnames[] = {
3731 (char *) "variant", NULL
3732 };
3733
3734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3735 if (obj0) {
3736 ecode1 = SWIG_AsVal_int(obj0, &val1);
3737 if (!SWIG_IsOK(ecode1)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3739 }
3740 arg1 = static_cast< wxWindowVariant >(val1);
3741 }
3742 {
3743 if (!wxPyCheckForApp()) SWIG_fail;
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = wxButton::GetClassDefaultAttributes(arg1);
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3750 return resultobj;
3751fail:
3752 return NULL;
3753}
3754
3755
3756SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3757 PyObject *obj;
3758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3759 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3760 return SWIG_Py_Void();
3761}
3762
3763SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3764 return SWIG_Python_InitShadowInstance(args);
3765}
3766
3767SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj = 0;
3769 wxWindow *arg1 = (wxWindow *) 0 ;
3770 int arg2 = (int) -1 ;
3771 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3772 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3775 wxSize const &arg5_defvalue = wxDefaultSize ;
3776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3777 long arg6 = (long) wxBU_AUTODRAW ;
3778 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3779 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3780 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3781 wxString *arg8 = (wxString *) &arg8_defvalue ;
3782 wxBitmapButton *result = 0 ;
3783 void *argp1 = 0 ;
3784 int res1 = 0 ;
3785 int val2 ;
3786 int ecode2 = 0 ;
3787 void *argp3 = 0 ;
3788 int res3 = 0 ;
3789 wxPoint temp4 ;
3790 wxSize temp5 ;
3791 long val6 ;
3792 int ecode6 = 0 ;
3793 void *argp7 = 0 ;
3794 int res7 = 0 ;
3795 bool temp8 = false ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 PyObject * obj2 = 0 ;
3799 PyObject * obj3 = 0 ;
3800 PyObject * obj4 = 0 ;
3801 PyObject * obj5 = 0 ;
3802 PyObject * obj6 = 0 ;
3803 PyObject * obj7 = 0 ;
3804 char * kwnames[] = {
3805 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3806 };
3807
3808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3810 if (!SWIG_IsOK(res1)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3812 }
3813 arg1 = reinterpret_cast< wxWindow * >(argp1);
3814 if (obj1) {
3815 ecode2 = SWIG_AsVal_int(obj1, &val2);
3816 if (!SWIG_IsOK(ecode2)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3818 }
3819 arg2 = static_cast< int >(val2);
3820 }
3821 if (obj2) {
3822 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3823 if (!SWIG_IsOK(res3)) {
3824 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3825 }
3826 if (!argp3) {
3827 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 }
3829 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3830 }
3831 if (obj3) {
d55e5bfc 3832 {
554f62e9
RD
3833 arg4 = &temp4;
3834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3835 }
554f62e9
RD
3836 }
3837 if (obj4) {
d55e5bfc 3838 {
554f62e9
RD
3839 arg5 = &temp5;
3840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3841 }
554f62e9
RD
3842 }
3843 if (obj5) {
3844 ecode6 = SWIG_AsVal_long(obj5, &val6);
3845 if (!SWIG_IsOK(ecode6)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3847 }
3848 arg6 = static_cast< long >(val6);
3849 }
3850 if (obj6) {
3851 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3852 if (!SWIG_IsOK(res7)) {
3853 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3854 }
554f62e9
RD
3855 if (!argp7) {
3856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3857 }
554f62e9
RD
3858 arg7 = reinterpret_cast< wxValidator * >(argp7);
3859 }
3860 if (obj7) {
f20a2e1f 3861 {
554f62e9
RD
3862 arg8 = wxString_in_helper(obj7);
3863 if (arg8 == NULL) SWIG_fail;
3864 temp8 = true;
f20a2e1f 3865 }
554f62e9
RD
3866 }
3867 {
3868 if (!wxPyCheckForApp()) SWIG_fail;
3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
3870 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3875 {
3876 if (temp8)
3877 delete arg8;
3878 }
3879 return resultobj;
3880fail:
3881 {
3882 if (temp8)
3883 delete arg8;
3884 }
3885 return NULL;
f20a2e1f
RD
3886}
3887
3888
554f62e9
RD
3889SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3890 PyObject *resultobj = 0;
3891 wxBitmapButton *result = 0 ;
3892
3893 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3894 {
3895 if (!wxPyCheckForApp()) SWIG_fail;
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxBitmapButton *)new wxBitmapButton();
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3902 return resultobj;
3903fail:
3904 return NULL;
3905}
3906
3907
3908SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj = 0;
3910 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3911 wxWindow *arg2 = (wxWindow *) 0 ;
3912 int arg3 = (int) -1 ;
3913 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3914 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3917 wxSize const &arg6_defvalue = wxDefaultSize ;
3918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3919 long arg7 = (long) wxBU_AUTODRAW ;
3920 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3921 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3922 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3923 wxString *arg9 = (wxString *) &arg9_defvalue ;
3924 bool result;
3925 void *argp1 = 0 ;
3926 int res1 = 0 ;
3927 void *argp2 = 0 ;
3928 int res2 = 0 ;
3929 int val3 ;
3930 int ecode3 = 0 ;
3931 void *argp4 = 0 ;
3932 int res4 = 0 ;
3933 wxPoint temp5 ;
3934 wxSize temp6 ;
3935 long val7 ;
3936 int ecode7 = 0 ;
3937 void *argp8 = 0 ;
3938 int res8 = 0 ;
3939 bool temp9 = false ;
3940 PyObject * obj0 = 0 ;
3941 PyObject * obj1 = 0 ;
3942 PyObject * obj2 = 0 ;
3943 PyObject * obj3 = 0 ;
3944 PyObject * obj4 = 0 ;
3945 PyObject * obj5 = 0 ;
3946 PyObject * obj6 = 0 ;
3947 PyObject * obj7 = 0 ;
3948 PyObject * obj8 = 0 ;
3949 char * kwnames[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3951 };
3952
3953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3955 if (!SWIG_IsOK(res1)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3957 }
3958 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3959 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3960 if (!SWIG_IsOK(res2)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3962 }
3963 arg2 = reinterpret_cast< wxWindow * >(argp2);
3964 if (obj2) {
3965 ecode3 = SWIG_AsVal_int(obj2, &val3);
3966 if (!SWIG_IsOK(ecode3)) {
3967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3968 }
3969 arg3 = static_cast< int >(val3);
3970 }
3971 if (obj3) {
3972 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3973 if (!SWIG_IsOK(res4)) {
3974 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3975 }
554f62e9
RD
3976 if (!argp4) {
3977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3978 }
554f62e9
RD
3979 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3980 }
3981 if (obj4) {
d55e5bfc 3982 {
554f62e9
RD
3983 arg5 = &temp5;
3984 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3985 }
554f62e9
RD
3986 }
3987 if (obj5) {
d55e5bfc 3988 {
554f62e9
RD
3989 arg6 = &temp6;
3990 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3991 }
3992 }
3993 if (obj6) {
3994 ecode7 = SWIG_AsVal_long(obj6, &val7);
3995 if (!SWIG_IsOK(ecode7)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3997 }
3998 arg7 = static_cast< long >(val7);
3999 }
4000 if (obj7) {
4001 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4002 if (!SWIG_IsOK(res8)) {
4003 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4004 }
4005 if (!argp8) {
4006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4007 }
554f62e9
RD
4008 arg8 = reinterpret_cast< wxValidator * >(argp8);
4009 }
4010 if (obj8) {
d55e5bfc 4011 {
554f62e9
RD
4012 arg9 = wxString_in_helper(obj8);
4013 if (arg9 == NULL) SWIG_fail;
4014 temp9 = true;
d55e5bfc 4015 }
554f62e9
RD
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 {
4024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4025 }
4026 {
4027 if (temp9)
4028 delete arg9;
4029 }
4030 return resultobj;
4031fail:
4032 {
4033 if (temp9)
4034 delete arg9;
4035 }
4036 return NULL;
d55e5bfc
RD
4037}
4038
4039
554f62e9
RD
4040SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 PyObject *resultobj = 0;
4042 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4043 wxBitmap result;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 PyObject *swig_obj[1] ;
4047
4048 if (!args) SWIG_fail;
4049 swig_obj[0] = args;
4050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4051 if (!SWIG_IsOK(res1)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4053 }
4054 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = (arg1)->GetBitmapLabel();
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4062 return resultobj;
4063fail:
4064 return NULL;
d55e5bfc
RD
4065}
4066
4067
554f62e9
RD
4068SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4069 PyObject *resultobj = 0;
4070 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4071 wxBitmap result;
4072 void *argp1 = 0 ;
4073 int res1 = 0 ;
4074 PyObject *swig_obj[1] ;
4075
4076 if (!args) SWIG_fail;
4077 swig_obj[0] = args;
4078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4079 if (!SWIG_IsOK(res1)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4081 }
4082 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (arg1)->GetBitmapDisabled();
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4090 return resultobj;
4091fail:
4092 return NULL;
d55e5bfc
RD
4093}
4094
4095
554f62e9
RD
4096SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4097 PyObject *resultobj = 0;
4098 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4099 wxBitmap result;
4100 void *argp1 = 0 ;
4101 int res1 = 0 ;
4102 PyObject *swig_obj[1] ;
4103
4104 if (!args) SWIG_fail;
4105 swig_obj[0] = args;
4106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4107 if (!SWIG_IsOK(res1)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4109 }
4110 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (arg1)->GetBitmapFocus();
4114 wxPyEndAllowThreads(__tstate);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4118 return resultobj;
4119fail:
4120 return NULL;
d55e5bfc
RD
4121}
4122
4123
554f62e9
RD
4124SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4127 wxBitmap result;
4128 void *argp1 = 0 ;
4129 int res1 = 0 ;
4130 PyObject *swig_obj[1] ;
4131
4132 if (!args) SWIG_fail;
4133 swig_obj[0] = args;
4134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4135 if (!SWIG_IsOK(res1)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4137 }
4138 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (arg1)->GetBitmapSelected();
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4146 return resultobj;
4147fail:
4148 return NULL;
d55e5bfc
RD
4149}
4150
4151
554f62e9
RD
4152SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4153 PyObject *resultobj = 0;
4154 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4155 wxBitmap result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 PyObject *swig_obj[1] ;
4159
4160 if (!args) SWIG_fail;
4161 swig_obj[0] = args;
4162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4163 if (!SWIG_IsOK(res1)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4165 }
4166 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 result = (arg1)->GetBitmapHover();
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4174 return resultobj;
4175fail:
4176 return NULL;
4177}
4178
4179
4180SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj = 0;
4182 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4183 wxBitmap *arg2 = 0 ;
4184 void *argp1 = 0 ;
4185 int res1 = 0 ;
4186 void *argp2 = 0 ;
4187 int res2 = 0 ;
4188 PyObject * obj0 = 0 ;
4189 PyObject * obj1 = 0 ;
4190 char * kwnames[] = {
4191 (char *) "self",(char *) "bitmap", NULL
4192 };
4193
4194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4196 if (!SWIG_IsOK(res1)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4198 }
4199 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4201 if (!SWIG_IsOK(res2)) {
4202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4203 }
4204 if (!argp2) {
4205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 }
4207 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 resultobj = SWIG_Py_Void();
4215 return resultobj;
4216fail:
4217 return NULL;
4218}
4219
4220
4221SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj = 0;
4223 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4224 wxBitmap *arg2 = 0 ;
4225 void *argp1 = 0 ;
4226 int res1 = 0 ;
4227 void *argp2 = 0 ;
4228 int res2 = 0 ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 char * kwnames[] = {
4232 (char *) "self",(char *) "bitmap", NULL
4233 };
4234
4235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4237 if (!SWIG_IsOK(res1)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4239 }
4240 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4241 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4242 if (!SWIG_IsOK(res2)) {
4243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4244 }
4245 if (!argp2) {
4246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 }
4248 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 resultobj = SWIG_Py_Void();
4256 return resultobj;
4257fail:
4258 return NULL;
4259}
4260
4261
4262SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj = 0;
4264 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4265 wxBitmap *arg2 = 0 ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 void *argp2 = 0 ;
4269 int res2 = 0 ;
4270 PyObject * obj0 = 0 ;
4271 PyObject * obj1 = 0 ;
4272 char * kwnames[] = {
4273 (char *) "self",(char *) "bitmap", NULL
4274 };
4275
4276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4278 if (!SWIG_IsOK(res1)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4280 }
4281 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4283 if (!SWIG_IsOK(res2)) {
4284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4285 }
4286 if (!argp2) {
4287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 }
4289 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 resultobj = SWIG_Py_Void();
4297 return resultobj;
4298fail:
4299 return NULL;
4300}
4301
4302
4303SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj = 0;
4305 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4306 wxBitmap *arg2 = 0 ;
4307 void *argp1 = 0 ;
4308 int res1 = 0 ;
4309 void *argp2 = 0 ;
4310 int res2 = 0 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char * kwnames[] = {
4314 (char *) "self",(char *) "bitmap", NULL
4315 };
4316
4317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4319 if (!SWIG_IsOK(res1)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4321 }
4322 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4323 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4324 if (!SWIG_IsOK(res2)) {
4325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4326 }
4327 if (!argp2) {
4328 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 }
4330 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_Py_Void();
4338 return resultobj;
4339fail:
4340 return NULL;
4341}
4342
4343
4344SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4347 wxBitmap *arg2 = 0 ;
4348 void *argp1 = 0 ;
4349 int res1 = 0 ;
4350 void *argp2 = 0 ;
4351 int res2 = 0 ;
4352 PyObject * obj0 = 0 ;
4353 PyObject * obj1 = 0 ;
4354 char * kwnames[] = {
4355 (char *) "self",(char *) "hover", NULL
4356 };
4357
4358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4360 if (!SWIG_IsOK(res1)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4362 }
4363 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4364 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4365 if (!SWIG_IsOK(res2)) {
4366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4367 }
4368 if (!argp2) {
4369 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 }
4371 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 resultobj = SWIG_Py_Void();
4379 return resultobj;
4380fail:
4381 return NULL;
4382}
4383
4384
4385SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4386 PyObject *resultobj = 0;
4387 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4388 int arg2 ;
4389 int arg3 ;
4390 void *argp1 = 0 ;
4391 int res1 = 0 ;
4392 int val2 ;
4393 int ecode2 = 0 ;
4394 int val3 ;
4395 int ecode3 = 0 ;
4396 PyObject * obj0 = 0 ;
4397 PyObject * obj1 = 0 ;
4398 PyObject * obj2 = 0 ;
4399 char * kwnames[] = {
4400 (char *) "self",(char *) "x",(char *) "y", NULL
4401 };
4402
4403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4405 if (!SWIG_IsOK(res1)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4407 }
4408 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4409 ecode2 = SWIG_AsVal_int(obj1, &val2);
4410 if (!SWIG_IsOK(ecode2)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4412 }
4413 arg2 = static_cast< int >(val2);
4414 ecode3 = SWIG_AsVal_int(obj2, &val3);
4415 if (!SWIG_IsOK(ecode3)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4417 }
4418 arg3 = static_cast< int >(val3);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 (arg1)->SetMargins(arg2,arg3);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_Py_Void();
4426 return resultobj;
4427fail:
4428 return NULL;
d55e5bfc
RD
4429}
4430
4431
554f62e9
RD
4432SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4433 PyObject *resultobj = 0;
4434 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4435 int result;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 PyObject *swig_obj[1] ;
4439
4440 if (!args) SWIG_fail;
4441 swig_obj[0] = args;
4442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4443 if (!SWIG_IsOK(res1)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4445 }
4446 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 resultobj = SWIG_From_int(static_cast< int >(result));
4454 return resultobj;
4455fail:
4456 return NULL;
d55e5bfc
RD
4457}
4458
4459
554f62e9
RD
4460SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4461 PyObject *resultobj = 0;
4462 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4463 int result;
4464 void *argp1 = 0 ;
4465 int res1 = 0 ;
4466 PyObject *swig_obj[1] ;
4467
4468 if (!args) SWIG_fail;
4469 swig_obj[0] = args;
4470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4471 if (!SWIG_IsOK(res1)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4473 }
4474 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 resultobj = SWIG_From_int(static_cast< int >(result));
4482 return resultobj;
4483fail:
4484 return NULL;
b1fcee84
RD
4485}
4486
4487
554f62e9
RD
4488SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4489 PyObject *obj;
4490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4492 return SWIG_Py_Void();
d55e5bfc
RD
4493}
4494
554f62e9
RD
4495SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4496 return SWIG_Python_InitShadowInstance(args);
4497}
d55e5bfc 4498
554f62e9
RD
4499SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4500 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4501 return 1;
d55e5bfc
RD
4502}
4503
4504
554f62e9
RD
4505SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4506 PyObject *pyobj = 0;
4507
4508 {
4509#if wxUSE_UNICODE
4510 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4511#else
4512 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4513#endif
4514 }
4515 return pyobj;
4516}
4517
4518
4519SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj = 0;
4521 wxWindow *arg1 = (wxWindow *) 0 ;
4522 int arg2 = (int) -1 ;
4523 wxString const &arg3_defvalue = wxPyEmptyString ;
4524 wxString *arg3 = (wxString *) &arg3_defvalue ;
4525 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4526 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4527 wxSize const &arg5_defvalue = wxDefaultSize ;
4528 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4529 long arg6 = (long) 0 ;
4530 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4531 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4532 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4533 wxString *arg8 = (wxString *) &arg8_defvalue ;
4534 wxCheckBox *result = 0 ;
4535 void *argp1 = 0 ;
4536 int res1 = 0 ;
4537 int val2 ;
4538 int ecode2 = 0 ;
4539 bool temp3 = false ;
4540 wxPoint temp4 ;
4541 wxSize temp5 ;
4542 long val6 ;
4543 int ecode6 = 0 ;
4544 void *argp7 = 0 ;
4545 int res7 = 0 ;
4546 bool temp8 = false ;
4547 PyObject * obj0 = 0 ;
4548 PyObject * obj1 = 0 ;
4549 PyObject * obj2 = 0 ;
4550 PyObject * obj3 = 0 ;
4551 PyObject * obj4 = 0 ;
4552 PyObject * obj5 = 0 ;
4553 PyObject * obj6 = 0 ;
4554 PyObject * obj7 = 0 ;
4555 char * kwnames[] = {
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4557 };
4558
4559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4561 if (!SWIG_IsOK(res1)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4563 }
4564 arg1 = reinterpret_cast< wxWindow * >(argp1);
4565 if (obj1) {
4566 ecode2 = SWIG_AsVal_int(obj1, &val2);
4567 if (!SWIG_IsOK(ecode2)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4569 }
4570 arg2 = static_cast< int >(val2);
4571 }
4572 if (obj2) {
d55e5bfc 4573 {
554f62e9
RD
4574 arg3 = wxString_in_helper(obj2);
4575 if (arg3 == NULL) SWIG_fail;
4576 temp3 = true;
d55e5bfc 4577 }
554f62e9
RD
4578 }
4579 if (obj3) {
4580 {
4581 arg4 = &temp4;
4582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4583 }
554f62e9
RD
4584 }
4585 if (obj4) {
d55e5bfc 4586 {
554f62e9
RD
4587 arg5 = &temp5;
4588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4589 }
554f62e9
RD
4590 }
4591 if (obj5) {
4592 ecode6 = SWIG_AsVal_long(obj5, &val6);
4593 if (!SWIG_IsOK(ecode6)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4595 }
4596 arg6 = static_cast< long >(val6);
4597 }
4598 if (obj6) {
4599 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4600 if (!SWIG_IsOK(res7)) {
4601 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4602 }
554f62e9
RD
4603 if (!argp7) {
4604 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 }
4606 arg7 = reinterpret_cast< wxValidator * >(argp7);
4607 }
4608 if (obj7) {
b1fcee84 4609 {
554f62e9
RD
4610 arg8 = wxString_in_helper(obj7);
4611 if (arg8 == NULL) SWIG_fail;
4612 temp8 = true;
b1fcee84 4613 }
554f62e9
RD
4614 }
4615 {
4616 if (!wxPyCheckForApp()) SWIG_fail;
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4623 {
4624 if (temp3)
4625 delete arg3;
4626 }
4627 {
4628 if (temp8)
4629 delete arg8;
4630 }
4631 return resultobj;
4632fail:
4633 {
4634 if (temp3)
4635 delete arg3;
4636 }
4637 {
4638 if (temp8)
4639 delete arg8;
4640 }
4641 return NULL;
b1fcee84
RD
4642}
4643
4644
554f62e9
RD
4645SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4646 PyObject *resultobj = 0;
4647 wxCheckBox *result = 0 ;
4648
4649 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4650 {
4651 if (!wxPyCheckForApp()) SWIG_fail;
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (wxCheckBox *)new wxCheckBox();
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4658 return resultobj;
4659fail:
4660 return NULL;
4661}
4662
4663
4664SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4667 wxWindow *arg2 = (wxWindow *) 0 ;
4668 int arg3 = (int) -1 ;
4669 wxString const &arg4_defvalue = wxPyEmptyString ;
4670 wxString *arg4 = (wxString *) &arg4_defvalue ;
4671 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4672 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4673 wxSize const &arg6_defvalue = wxDefaultSize ;
4674 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4675 long arg7 = (long) 0 ;
4676 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4677 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4678 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4679 wxString *arg9 = (wxString *) &arg9_defvalue ;
4680 bool result;
4681 void *argp1 = 0 ;
4682 int res1 = 0 ;
4683 void *argp2 = 0 ;
4684 int res2 = 0 ;
4685 int val3 ;
4686 int ecode3 = 0 ;
4687 bool temp4 = false ;
4688 wxPoint temp5 ;
4689 wxSize temp6 ;
4690 long val7 ;
4691 int ecode7 = 0 ;
4692 void *argp8 = 0 ;
4693 int res8 = 0 ;
4694 bool temp9 = false ;
4695 PyObject * obj0 = 0 ;
4696 PyObject * obj1 = 0 ;
4697 PyObject * obj2 = 0 ;
4698 PyObject * obj3 = 0 ;
4699 PyObject * obj4 = 0 ;
4700 PyObject * obj5 = 0 ;
4701 PyObject * obj6 = 0 ;
4702 PyObject * obj7 = 0 ;
4703 PyObject * obj8 = 0 ;
4704 char * kwnames[] = {
4705 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4706 };
4707
4708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4710 if (!SWIG_IsOK(res1)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4712 }
4713 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4715 if (!SWIG_IsOK(res2)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4717 }
4718 arg2 = reinterpret_cast< wxWindow * >(argp2);
4719 if (obj2) {
4720 ecode3 = SWIG_AsVal_int(obj2, &val3);
4721 if (!SWIG_IsOK(ecode3)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4723 }
4724 arg3 = static_cast< int >(val3);
4725 }
4726 if (obj3) {
093d3ff1 4727 {
554f62e9
RD
4728 arg4 = wxString_in_helper(obj3);
4729 if (arg4 == NULL) SWIG_fail;
4730 temp4 = true;
093d3ff1 4731 }
554f62e9
RD
4732 }
4733 if (obj4) {
093d3ff1 4734 {
554f62e9
RD
4735 arg5 = &temp5;
4736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4737 }
554f62e9
RD
4738 }
4739 if (obj5) {
d55e5bfc 4740 {
554f62e9
RD
4741 arg6 = &temp6;
4742 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4743 }
554f62e9
RD
4744 }
4745 if (obj6) {
4746 ecode7 = SWIG_AsVal_long(obj6, &val7);
4747 if (!SWIG_IsOK(ecode7)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4749 }
4750 arg7 = static_cast< long >(val7);
4751 }
4752 if (obj7) {
4753 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4754 if (!SWIG_IsOK(res8)) {
4755 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4756 }
554f62e9
RD
4757 if (!argp8) {
4758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 }
4760 arg8 = reinterpret_cast< wxValidator * >(argp8);
4761 }
4762 if (obj8) {
093d3ff1 4763 {
554f62e9
RD
4764 arg9 = wxString_in_helper(obj8);
4765 if (arg9 == NULL) SWIG_fail;
4766 temp9 = true;
093d3ff1 4767 }
554f62e9
RD
4768 }
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 {
4776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4777 }
4778 {
4779 if (temp4)
4780 delete arg4;
4781 }
4782 {
4783 if (temp9)
4784 delete arg9;
4785 }
4786 return resultobj;
4787fail:
4788 {
4789 if (temp4)
4790 delete arg4;
4791 }
4792 {
4793 if (temp9)
4794 delete arg9;
4795 }
4796 return NULL;
d55e5bfc
RD
4797}
4798
4799
554f62e9
RD
4800SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4801 PyObject *resultobj = 0;
4802 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4803 bool result;
4804 void *argp1 = 0 ;
4805 int res1 = 0 ;
4806 PyObject *swig_obj[1] ;
4807
4808 if (!args) SWIG_fail;
4809 swig_obj[0] = args;
4810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4811 if (!SWIG_IsOK(res1)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4813 }
4814 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (bool)(arg1)->GetValue();
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4823 }
4824 return resultobj;
4825fail:
4826 return NULL;
d55e5bfc
RD
4827}
4828
4829
554f62e9
RD
4830SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4831 PyObject *resultobj = 0;
4832 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4833 bool result;
4834 void *argp1 = 0 ;
4835 int res1 = 0 ;
4836 PyObject *swig_obj[1] ;
4837
4838 if (!args) SWIG_fail;
4839 swig_obj[0] = args;
4840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4841 if (!SWIG_IsOK(res1)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4843 }
4844 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (bool)(arg1)->IsChecked();
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 {
4852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4853 }
4854 return resultobj;
4855fail:
4856 return NULL;
4857}
4858
4859
4860SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj = 0;
4862 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4863 bool arg2 ;
4864 void *argp1 = 0 ;
4865 int res1 = 0 ;
4866 bool val2 ;
4867 int ecode2 = 0 ;
4868 PyObject * obj0 = 0 ;
4869 PyObject * obj1 = 0 ;
4870 char * kwnames[] = {
4871 (char *) "self",(char *) "state", NULL
4872 };
4873
4874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4876 if (!SWIG_IsOK(res1)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4878 }
4879 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4880 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4881 if (!SWIG_IsOK(ecode2)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4883 }
4884 arg2 = static_cast< bool >(val2);
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 (arg1)->SetValue(arg2);
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
4891 resultobj = SWIG_Py_Void();
4892 return resultobj;
4893fail:
4894 return NULL;
d55e5bfc 4895}
554f62e9
RD
4896
4897
4898SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4899 PyObject *resultobj = 0;
4900 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4901 wxCheckBoxState result;
4902 void *argp1 = 0 ;
4903 int res1 = 0 ;
4904 PyObject *swig_obj[1] ;
4905
4906 if (!args) SWIG_fail;
4907 swig_obj[0] = args;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 resultobj = SWIG_From_int(static_cast< int >(result));
4920 return resultobj;
4921fail:
4922 return NULL;
4923}
4924
4925
4926SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj = 0;
4928 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4929 wxCheckBoxState arg2 ;
4930 void *argp1 = 0 ;
4931 int res1 = 0 ;
4932 int val2 ;
4933 int ecode2 = 0 ;
4934 PyObject * obj0 = 0 ;
4935 PyObject * obj1 = 0 ;
4936 char * kwnames[] = {
4937 (char *) "self",(char *) "state", NULL
4938 };
4939
4940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4942 if (!SWIG_IsOK(res1)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4944 }
4945 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4946 ecode2 = SWIG_AsVal_int(obj1, &val2);
4947 if (!SWIG_IsOK(ecode2)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4949 }
4950 arg2 = static_cast< wxCheckBoxState >(val2);
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->Set3StateValue(arg2);
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_Py_Void();
4958 return resultobj;
4959fail:
4960 return NULL;
d55e5bfc
RD
4961}
4962
4963
554f62e9
RD
4964SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4965 PyObject *resultobj = 0;
4966 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4967 bool result;
4968 void *argp1 = 0 ;
4969 int res1 = 0 ;
4970 PyObject *swig_obj[1] ;
4971
4972 if (!args) SWIG_fail;
4973 swig_obj[0] = args;
4974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4975 if (!SWIG_IsOK(res1)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4977 }
4978 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 {
4986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4987 }
4988 return resultobj;
4989fail:
4990 return NULL;
d55e5bfc
RD
4991}
4992
4993
554f62e9
RD
4994SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4997 bool result;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5007 }
5008 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 {
5016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5017 }
5018 return resultobj;
5019fail:
5020 return NULL;
d55e5bfc
RD
5021}
5022
5023
554f62e9
RD
5024SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj = 0;
5026 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5027 SwigValueWrapper<wxVisualAttributes > result;
5028 int val1 ;
5029 int ecode1 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "variant", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5036 if (obj0) {
5037 ecode1 = SWIG_AsVal_int(obj0, &val1);
5038 if (!SWIG_IsOK(ecode1)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5040 }
5041 arg1 = static_cast< wxWindowVariant >(val1);
5042 }
5043 {
5044 if (!wxPyCheckForApp()) SWIG_fail;
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5051 return resultobj;
5052fail:
5053 return NULL;
d55e5bfc
RD
5054}
5055
5056
554f62e9
RD
5057SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5058 PyObject *obj;
5059 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5060 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5061 return SWIG_Py_Void();
d55e5bfc
RD
5062}
5063
554f62e9
RD
5064SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5065 return SWIG_Python_InitShadowInstance(args);
5066}
d55e5bfc 5067
554f62e9
RD
5068SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5069 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5070 return 1;
d55e5bfc
RD
5071}
5072
5073
554f62e9
RD
5074SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5075 PyObject *pyobj = 0;
5076
5077 {
5078#if wxUSE_UNICODE
5079 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5080#else
5081 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5082#endif
5083 }
5084 return pyobj;
5085}
5086
5087
5088SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj = 0;
5090 wxWindow *arg1 = (wxWindow *) 0 ;
5091 int arg2 = (int) -1 ;
5092 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5093 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5094 wxSize const &arg4_defvalue = wxDefaultSize ;
5095 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5096 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5097 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5098 long arg6 = (long) 0 ;
5099 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5100 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5101 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5102 wxString *arg8 = (wxString *) &arg8_defvalue ;
5103 wxChoice *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 int val2 ;
5107 int ecode2 = 0 ;
5108 wxPoint temp3 ;
5109 wxSize temp4 ;
5110 bool temp5 = false ;
5111 long val6 ;
5112 int ecode6 = 0 ;
5113 void *argp7 = 0 ;
5114 int res7 = 0 ;
5115 bool temp8 = false ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 PyObject * obj2 = 0 ;
5119 PyObject * obj3 = 0 ;
5120 PyObject * obj4 = 0 ;
5121 PyObject * obj5 = 0 ;
5122 PyObject * obj6 = 0 ;
5123 PyObject * obj7 = 0 ;
5124 char * kwnames[] = {
5125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5126 };
5127
5128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5130 if (!SWIG_IsOK(res1)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5132 }
5133 arg1 = reinterpret_cast< wxWindow * >(argp1);
5134 if (obj1) {
5135 ecode2 = SWIG_AsVal_int(obj1, &val2);
5136 if (!SWIG_IsOK(ecode2)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5138 }
5139 arg2 = static_cast< int >(val2);
5140 }
5141 if (obj2) {
093d3ff1 5142 {
554f62e9
RD
5143 arg3 = &temp3;
5144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5145 }
554f62e9
RD
5146 }
5147 if (obj3) {
d55e5bfc 5148 {
554f62e9
RD
5149 arg4 = &temp4;
5150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5151 }
554f62e9
RD
5152 }
5153 if (obj4) {
d55e5bfc 5154 {
554f62e9
RD
5155 if (! PySequence_Check(obj4)) {
5156 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5157 SWIG_fail;
5158 }
5159 arg5 = new wxArrayString;
5160 temp5 = true;
5161 int i, len=PySequence_Length(obj4);
5162 for (i=0; i<len; i++) {
5163 PyObject* item = PySequence_GetItem(obj4, i);
5164 wxString* s = wxString_in_helper(item);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 arg5->Add(*s);
5167 delete s;
5168 Py_DECREF(item);
5169 }
d55e5bfc 5170 }
554f62e9
RD
5171 }
5172 if (obj5) {
5173 ecode6 = SWIG_AsVal_long(obj5, &val6);
5174 if (!SWIG_IsOK(ecode6)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5176 }
5177 arg6 = static_cast< long >(val6);
5178 }
5179 if (obj6) {
5180 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5181 if (!SWIG_IsOK(res7)) {
5182 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5183 }
554f62e9
RD
5184 if (!argp7) {
5185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 }
5187 arg7 = reinterpret_cast< wxValidator * >(argp7);
5188 }
5189 if (obj7) {
d55e5bfc 5190 {
554f62e9
RD
5191 arg8 = wxString_in_helper(obj7);
5192 if (arg8 == NULL) SWIG_fail;
5193 temp8 = true;
d55e5bfc 5194 }
554f62e9
RD
5195 }
5196 {
5197 if (!wxPyCheckForApp()) SWIG_fail;
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5204 {
5205 if (temp5) delete arg5;
5206 }
5207 {
5208 if (temp8)
5209 delete arg8;
5210 }
5211 return resultobj;
5212fail:
5213 {
5214 if (temp5) delete arg5;
5215 }
5216 {
5217 if (temp8)
5218 delete arg8;
5219 }
5220 return NULL;
d55e5bfc
RD
5221}
5222
5223
554f62e9
RD
5224SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5225 PyObject *resultobj = 0;
5226 wxChoice *result = 0 ;
5227
5228 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5229 {
5230 if (!wxPyCheckForApp()) SWIG_fail;
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = (wxChoice *)new wxChoice();
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5237 return resultobj;
5238fail:
5239 return NULL;
5240}
5241
5242
5243SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj = 0;
5245 wxChoice *arg1 = (wxChoice *) 0 ;
5246 wxWindow *arg2 = (wxWindow *) 0 ;
5247 int arg3 = (int) -1 ;
5248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5250 wxSize const &arg5_defvalue = wxDefaultSize ;
5251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5252 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5253 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5254 long arg7 = (long) 0 ;
5255 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5256 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5257 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5258 wxString *arg9 = (wxString *) &arg9_defvalue ;
5259 bool result;
5260 void *argp1 = 0 ;
5261 int res1 = 0 ;
5262 void *argp2 = 0 ;
5263 int res2 = 0 ;
5264 int val3 ;
5265 int ecode3 = 0 ;
5266 wxPoint temp4 ;
5267 wxSize temp5 ;
5268 bool temp6 = false ;
5269 long val7 ;
5270 int ecode7 = 0 ;
5271 void *argp8 = 0 ;
5272 int res8 = 0 ;
5273 bool temp9 = false ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 PyObject * obj2 = 0 ;
5277 PyObject * obj3 = 0 ;
5278 PyObject * obj4 = 0 ;
5279 PyObject * obj5 = 0 ;
5280 PyObject * obj6 = 0 ;
5281 PyObject * obj7 = 0 ;
5282 PyObject * obj8 = 0 ;
5283 char * kwnames[] = {
5284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5285 };
5286
5287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5289 if (!SWIG_IsOK(res1)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5291 }
5292 arg1 = reinterpret_cast< wxChoice * >(argp1);
5293 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5294 if (!SWIG_IsOK(res2)) {
5295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5296 }
5297 arg2 = reinterpret_cast< wxWindow * >(argp2);
5298 if (obj2) {
5299 ecode3 = SWIG_AsVal_int(obj2, &val3);
5300 if (!SWIG_IsOK(ecode3)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5302 }
5303 arg3 = static_cast< int >(val3);
5304 }
5305 if (obj3) {
d55e5bfc 5306 {
554f62e9
RD
5307 arg4 = &temp4;
5308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5309 }
554f62e9
RD
5310 }
5311 if (obj4) {
d55e5bfc 5312 {
554f62e9
RD
5313 arg5 = &temp5;
5314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5315 }
554f62e9
RD
5316 }
5317 if (obj5) {
d55e5bfc 5318 {
554f62e9
RD
5319 if (! PySequence_Check(obj5)) {
5320 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5321 SWIG_fail;
5322 }
5323 arg6 = new wxArrayString;
5324 temp6 = true;
5325 int i, len=PySequence_Length(obj5);
5326 for (i=0; i<len; i++) {
5327 PyObject* item = PySequence_GetItem(obj5, i);
5328 wxString* s = wxString_in_helper(item);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 arg6->Add(*s);
5331 delete s;
5332 Py_DECREF(item);
5333 }
5334 }
5335 }
5336 if (obj6) {
5337 ecode7 = SWIG_AsVal_long(obj6, &val7);
5338 if (!SWIG_IsOK(ecode7)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5340 }
5341 arg7 = static_cast< long >(val7);
5342 }
5343 if (obj7) {
5344 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5345 if (!SWIG_IsOK(res8)) {
5346 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 5347 }
554f62e9
RD
5348 if (!argp8) {
5349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 }
5351 arg8 = reinterpret_cast< wxValidator * >(argp8);
5352 }
5353 if (obj8) {
d55e5bfc 5354 {
554f62e9
RD
5355 arg9 = wxString_in_helper(obj8);
5356 if (arg9 == NULL) SWIG_fail;
5357 temp9 = true;
d55e5bfc 5358 }
554f62e9
RD
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 {
5367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5368 }
5369 {
5370 if (temp6) delete arg6;
5371 }
5372 {
5373 if (temp9)
5374 delete arg9;
5375 }
5376 return resultobj;
5377fail:
5378 {
5379 if (temp6) delete arg6;
5380 }
5381 {
5382 if (temp9)
5383 delete arg9;
5384 }
5385 return NULL;
d55e5bfc
RD
5386}
5387
5388
554f62e9
RD
5389SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5390 PyObject *resultobj = 0;
5391 wxChoice *arg1 = (wxChoice *) 0 ;
5392 int result;
5393 void *argp1 = 0 ;
5394 int res1 = 0 ;
5395 PyObject *swig_obj[1] ;
5396
5397 if (!args) SWIG_fail;
5398 swig_obj[0] = args;
5399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5400 if (!SWIG_IsOK(res1)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5402 }
5403 arg1 = reinterpret_cast< wxChoice * >(argp1);
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_From_int(static_cast< int >(result));
5411 return resultobj;
5412fail:
5413 return NULL;
5414}
5415
5416
5417SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj = 0;
5419 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5420 SwigValueWrapper<wxVisualAttributes > result;
5421 int val1 ;
5422 int ecode1 = 0 ;
5423 PyObject * obj0 = 0 ;
5424 char * kwnames[] = {
5425 (char *) "variant", NULL
5426 };
5427
5428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5429 if (obj0) {
5430 ecode1 = SWIG_AsVal_int(obj0, &val1);
5431 if (!SWIG_IsOK(ecode1)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5433 }
5434 arg1 = static_cast< wxWindowVariant >(val1);
5435 }
5436 {
5437 if (!wxPyCheckForApp()) SWIG_fail;
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 result = wxChoice::GetClassDefaultAttributes(arg1);
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5444 return resultobj;
5445fail:
5446 return NULL;
f20a2e1f
RD
5447}
5448
5449
554f62e9
RD
5450SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5451 PyObject *obj;
5452 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5454 return SWIG_Py_Void();
d55e5bfc 5455}
554f62e9
RD
5456
5457SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458 return SWIG_Python_InitShadowInstance(args);
5459}
5460
5461SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5462 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5463 return 1;
d55e5bfc
RD
5464}
5465
5466
554f62e9
RD
5467SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5468 PyObject *pyobj = 0;
5469
5470 {
d55e5bfc 5471#if wxUSE_UNICODE
554f62e9 5472 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5473#else
554f62e9 5474 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5475#endif
554f62e9
RD
5476 }
5477 return pyobj;
5478}
5479
5480
5481SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj = 0;
5483 wxWindow *arg1 = (wxWindow *) 0 ;
5484 int arg2 = (int) -1 ;
5485 wxString const &arg3_defvalue = wxPyEmptyString ;
5486 wxString *arg3 = (wxString *) &arg3_defvalue ;
5487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5489 wxSize const &arg5_defvalue = wxDefaultSize ;
5490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5491 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5492 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5493 long arg7 = (long) 0 ;
5494 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5495 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5496 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5497 wxString *arg9 = (wxString *) &arg9_defvalue ;
5498 wxComboBox *result = 0 ;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 int val2 ;
5502 int ecode2 = 0 ;
5503 bool temp3 = false ;
5504 wxPoint temp4 ;
5505 wxSize temp5 ;
5506 bool temp6 = false ;
5507 long val7 ;
5508 int ecode7 = 0 ;
5509 void *argp8 = 0 ;
5510 int res8 = 0 ;
5511 bool temp9 = false ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 PyObject * obj2 = 0 ;
5515 PyObject * obj3 = 0 ;
5516 PyObject * obj4 = 0 ;
5517 PyObject * obj5 = 0 ;
5518 PyObject * obj6 = 0 ;
5519 PyObject * obj7 = 0 ;
5520 PyObject * obj8 = 0 ;
5521 char * kwnames[] = {
5522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5523 };
5524
5525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5527 if (!SWIG_IsOK(res1)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5529 }
5530 arg1 = reinterpret_cast< wxWindow * >(argp1);
5531 if (obj1) {
5532 ecode2 = SWIG_AsVal_int(obj1, &val2);
5533 if (!SWIG_IsOK(ecode2)) {
5534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5535 }
5536 arg2 = static_cast< int >(val2);
5537 }
5538 if (obj2) {
d55e5bfc 5539 {
554f62e9
RD
5540 arg3 = wxString_in_helper(obj2);
5541 if (arg3 == NULL) SWIG_fail;
5542 temp3 = true;
d55e5bfc 5543 }
554f62e9
RD
5544 }
5545 if (obj3) {
d55e5bfc 5546 {
554f62e9
RD
5547 arg4 = &temp4;
5548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5549 }
554f62e9
RD
5550 }
5551 if (obj4) {
d55e5bfc 5552 {
554f62e9
RD
5553 arg5 = &temp5;
5554 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5555 }
554f62e9
RD
5556 }
5557 if (obj5) {
d55e5bfc 5558 {
554f62e9
RD
5559 if (! PySequence_Check(obj5)) {
5560 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5561 SWIG_fail;
5562 }
5563 arg6 = new wxArrayString;
5564 temp6 = true;
5565 int i, len=PySequence_Length(obj5);
5566 for (i=0; i<len; i++) {
5567 PyObject* item = PySequence_GetItem(obj5, i);
5568 wxString* s = wxString_in_helper(item);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 arg6->Add(*s);
5571 delete s;
5572 Py_DECREF(item);
5573 }
d55e5bfc 5574 }
554f62e9
RD
5575 }
5576 if (obj6) {
5577 ecode7 = SWIG_AsVal_long(obj6, &val7);
5578 if (!SWIG_IsOK(ecode7)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5580 }
5581 arg7 = static_cast< long >(val7);
5582 }
5583 if (obj7) {
5584 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5585 if (!SWIG_IsOK(res8)) {
5586 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5587 }
5588 if (!argp8) {
5589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 }
5591 arg8 = reinterpret_cast< wxValidator * >(argp8);
5592 }
5593 if (obj8) {
d55e5bfc 5594 {
554f62e9
RD
5595 arg9 = wxString_in_helper(obj8);
5596 if (arg9 == NULL) SWIG_fail;
5597 temp9 = true;
d55e5bfc 5598 }
554f62e9
RD
5599 }
5600 {
5601 if (!wxPyCheckForApp()) SWIG_fail;
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5608 {
5609 if (temp3)
5610 delete arg3;
5611 }
5612 {
5613 if (temp6) delete arg6;
5614 }
5615 {
5616 if (temp9)
5617 delete arg9;
5618 }
5619 return resultobj;
5620fail:
5621 {
5622 if (temp3)
5623 delete arg3;
5624 }
5625 {
5626 if (temp6) delete arg6;
5627 }
5628 {
5629 if (temp9)
5630 delete arg9;
5631 }
5632 return NULL;
d55e5bfc
RD
5633}
5634
5635
554f62e9
RD
5636SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5637 PyObject *resultobj = 0;
5638 wxComboBox *result = 0 ;
5639
5640 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5641 {
5642 if (!wxPyCheckForApp()) SWIG_fail;
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 result = (wxComboBox *)new wxComboBox();
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5649 return resultobj;
5650fail:
5651 return NULL;
5652}
5653
5654
5655SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj = 0;
5657 wxComboBox *arg1 = (wxComboBox *) 0 ;
5658 wxWindow *arg2 = (wxWindow *) 0 ;
5659 int arg3 = (int) -1 ;
5660 wxString const &arg4_defvalue = wxPyEmptyString ;
5661 wxString *arg4 = (wxString *) &arg4_defvalue ;
5662 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5663 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5664 wxSize const &arg6_defvalue = wxDefaultSize ;
5665 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5666 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5667 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5668 long arg8 = (long) 0 ;
5669 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5670 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5671 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5672 wxString *arg10 = (wxString *) &arg10_defvalue ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 void *argp2 = 0 ;
5677 int res2 = 0 ;
5678 int val3 ;
5679 int ecode3 = 0 ;
5680 bool temp4 = false ;
5681 wxPoint temp5 ;
5682 wxSize temp6 ;
5683 bool temp7 = false ;
5684 long val8 ;
5685 int ecode8 = 0 ;
5686 void *argp9 = 0 ;
5687 int res9 = 0 ;
5688 bool temp10 = false ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 PyObject * obj2 = 0 ;
5692 PyObject * obj3 = 0 ;
5693 PyObject * obj4 = 0 ;
5694 PyObject * obj5 = 0 ;
5695 PyObject * obj6 = 0 ;
5696 PyObject * obj7 = 0 ;
5697 PyObject * obj8 = 0 ;
5698 PyObject * obj9 = 0 ;
5699 char * kwnames[] = {
5700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5701 };
5702
5703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5705 if (!SWIG_IsOK(res1)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5707 }
5708 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5710 if (!SWIG_IsOK(res2)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5712 }
5713 arg2 = reinterpret_cast< wxWindow * >(argp2);
5714 if (obj2) {
5715 ecode3 = SWIG_AsVal_int(obj2, &val3);
5716 if (!SWIG_IsOK(ecode3)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5718 }
5719 arg3 = static_cast< int >(val3);
5720 }
5721 if (obj3) {
d55e5bfc 5722 {
554f62e9
RD
5723 arg4 = wxString_in_helper(obj3);
5724 if (arg4 == NULL) SWIG_fail;
5725 temp4 = true;
d55e5bfc 5726 }
554f62e9
RD
5727 }
5728 if (obj4) {
d55e5bfc 5729 {
554f62e9
RD
5730 arg5 = &temp5;
5731 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5732 }
554f62e9
RD
5733 }
5734 if (obj5) {
d55e5bfc 5735 {
554f62e9
RD
5736 arg6 = &temp6;
5737 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5738 }
554f62e9
RD
5739 }
5740 if (obj6) {
d55e5bfc 5741 {
554f62e9
RD
5742 if (! PySequence_Check(obj6)) {
5743 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5744 SWIG_fail;
5745 }
5746 arg7 = new wxArrayString;
5747 temp7 = true;
5748 int i, len=PySequence_Length(obj6);
5749 for (i=0; i<len; i++) {
5750 PyObject* item = PySequence_GetItem(obj6, i);
5751 wxString* s = wxString_in_helper(item);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 arg7->Add(*s);
5754 delete s;
5755 Py_DECREF(item);
5756 }
d55e5bfc 5757 }
554f62e9
RD
5758 }
5759 if (obj7) {
5760 ecode8 = SWIG_AsVal_long(obj7, &val8);
5761 if (!SWIG_IsOK(ecode8)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5763 }
5764 arg8 = static_cast< long >(val8);
5765 }
5766 if (obj8) {
5767 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5768 if (!SWIG_IsOK(res9)) {
5769 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5770 }
554f62e9
RD
5771 if (!argp9) {
5772 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5773 }
554f62e9
RD
5774 arg9 = reinterpret_cast< wxValidator * >(argp9);
5775 }
5776 if (obj9) {
d55e5bfc 5777 {
554f62e9
RD
5778 arg10 = wxString_in_helper(obj9);
5779 if (arg10 == NULL) SWIG_fail;
5780 temp10 = true;
d55e5bfc 5781 }
554f62e9
RD
5782 }
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 {
5790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5791 }
5792 {
5793 if (temp4)
5794 delete arg4;
5795 }
5796 {
5797 if (temp7) delete arg7;
5798 }
5799 {
5800 if (temp10)
5801 delete arg10;
5802 }
5803 return resultobj;
5804fail:
5805 {
5806 if (temp4)
5807 delete arg4;
5808 }
5809 {
5810 if (temp7) delete arg7;
5811 }
5812 {
5813 if (temp10)
5814 delete arg10;
5815 }
5816 return NULL;
d55e5bfc
RD
5817}
5818
5819
554f62e9
RD
5820SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5821 PyObject *resultobj = 0;
5822 wxComboBox *arg1 = (wxComboBox *) 0 ;
5823 wxString result;
5824 void *argp1 = 0 ;
5825 int res1 = 0 ;
5826 PyObject *swig_obj[1] ;
5827
5828 if (!args) SWIG_fail;
5829 swig_obj[0] = args;
5830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5831 if (!SWIG_IsOK(res1)) {
5832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5833 }
5834 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = ((wxComboBox const *)arg1)->GetValue();
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 {
d55e5bfc 5842#if wxUSE_UNICODE
554f62e9 5843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5844#else
554f62e9 5845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5846#endif
554f62e9
RD
5847 }
5848 return resultobj;
5849fail:
5850 return NULL;
5851}
5852
5853
5854SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj = 0;
5856 wxComboBox *arg1 = (wxComboBox *) 0 ;
5857 wxString *arg2 = 0 ;
5858 void *argp1 = 0 ;
5859 int res1 = 0 ;
5860 bool temp2 = false ;
5861 PyObject * obj0 = 0 ;
5862 PyObject * obj1 = 0 ;
5863 char * kwnames[] = {
5864 (char *) "self",(char *) "value", NULL
5865 };
5866
5867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5869 if (!SWIG_IsOK(res1)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5871 }
5872 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5873 {
5874 arg2 = wxString_in_helper(obj1);
5875 if (arg2 == NULL) SWIG_fail;
5876 temp2 = true;
5877 }
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetValue((wxString const &)*arg2);
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
5884 resultobj = SWIG_Py_Void();
5885 {
5886 if (temp2)
5887 delete arg2;
5888 }
5889 return resultobj;
5890fail:
5891 {
5892 if (temp2)
5893 delete arg2;
5894 }
5895 return NULL;
d55e5bfc
RD
5896}
5897
5898
554f62e9
RD
5899SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5900 PyObject *resultobj = 0;
5901 wxComboBox *arg1 = (wxComboBox *) 0 ;
5902 void *argp1 = 0 ;
5903 int res1 = 0 ;
5904 PyObject *swig_obj[1] ;
5905
5906 if (!args) SWIG_fail;
5907 swig_obj[0] = args;
5908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5909 if (!SWIG_IsOK(res1)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5911 }
5912 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 (arg1)->Copy();
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_Py_Void();
5920 return resultobj;
5921fail:
5922 return NULL;
d55e5bfc
RD
5923}
5924
5925
554f62e9
RD
5926SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5927 PyObject *resultobj = 0;
5928 wxComboBox *arg1 = (wxComboBox *) 0 ;
5929 void *argp1 = 0 ;
5930 int res1 = 0 ;
5931 PyObject *swig_obj[1] ;
5932
5933 if (!args) SWIG_fail;
5934 swig_obj[0] = args;
5935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5936 if (!SWIG_IsOK(res1)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5938 }
5939 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->Cut();
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = SWIG_Py_Void();
5947 return resultobj;
5948fail:
5949 return NULL;
d55e5bfc
RD
5950}
5951
5952
554f62e9
RD
5953SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5954 PyObject *resultobj = 0;
5955 wxComboBox *arg1 = (wxComboBox *) 0 ;
5956 void *argp1 = 0 ;
5957 int res1 = 0 ;
5958 PyObject *swig_obj[1] ;
5959
5960 if (!args) SWIG_fail;
5961 swig_obj[0] = args;
5962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5963 if (!SWIG_IsOK(res1)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5965 }
5966 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 (arg1)->Paste();
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_Py_Void();
5974 return resultobj;
5975fail:
5976 return NULL;
5977}
5978
5979
5980SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj = 0;
5982 wxComboBox *arg1 = (wxComboBox *) 0 ;
5983 long arg2 ;
5984 void *argp1 = 0 ;
5985 int res1 = 0 ;
5986 long val2 ;
5987 int ecode2 = 0 ;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 char * kwnames[] = {
5991 (char *) "self",(char *) "pos", NULL
5992 };
5993
5994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5996 if (!SWIG_IsOK(res1)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5998 }
5999 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6000 ecode2 = SWIG_AsVal_long(obj1, &val2);
6001 if (!SWIG_IsOK(ecode2)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6003 }
6004 arg2 = static_cast< long >(val2);
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 (arg1)->SetInsertionPoint(arg2);
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = SWIG_Py_Void();
6012 return resultobj;
6013fail:
6014 return NULL;
d55e5bfc
RD
6015}
6016
6017
554f62e9
RD
6018SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6019 PyObject *resultobj = 0;
6020 wxComboBox *arg1 = (wxComboBox *) 0 ;
6021 long result;
6022 void *argp1 = 0 ;
6023 int res1 = 0 ;
6024 PyObject *swig_obj[1] ;
6025
6026 if (!args) SWIG_fail;
6027 swig_obj[0] = args;
6028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6029 if (!SWIG_IsOK(res1)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6031 }
6032 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 resultobj = SWIG_From_long(static_cast< long >(result));
6040 return resultobj;
6041fail:
6042 return NULL;
d55e5bfc
RD
6043}
6044
6045
554f62e9
RD
6046SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6047 PyObject *resultobj = 0;
6048 wxComboBox *arg1 = (wxComboBox *) 0 ;
6049 long result;
6050 void *argp1 = 0 ;
6051 int res1 = 0 ;
6052 PyObject *swig_obj[1] ;
6053
6054 if (!args) SWIG_fail;
6055 swig_obj[0] = args;
6056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6057 if (!SWIG_IsOK(res1)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6059 }
6060 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_From_long(static_cast< long >(result));
6068 return resultobj;
6069fail:
6070 return NULL;
6071}
6072
6073
6074SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj = 0;
6076 wxComboBox *arg1 = (wxComboBox *) 0 ;
6077 long arg2 ;
6078 long arg3 ;
6079 wxString *arg4 = 0 ;
6080 void *argp1 = 0 ;
6081 int res1 = 0 ;
6082 long val2 ;
6083 int ecode2 = 0 ;
6084 long val3 ;
6085 int ecode3 = 0 ;
6086 bool temp4 = false ;
6087 PyObject * obj0 = 0 ;
6088 PyObject * obj1 = 0 ;
6089 PyObject * obj2 = 0 ;
6090 PyObject * obj3 = 0 ;
6091 char * kwnames[] = {
f460c29d 6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
6093 };
6094
6095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6097 if (!SWIG_IsOK(res1)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6099 }
6100 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6101 ecode2 = SWIG_AsVal_long(obj1, &val2);
6102 if (!SWIG_IsOK(ecode2)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6104 }
6105 arg2 = static_cast< long >(val2);
6106 ecode3 = SWIG_AsVal_long(obj2, &val3);
6107 if (!SWIG_IsOK(ecode3)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6109 }
6110 arg3 = static_cast< long >(val3);
6111 {
6112 arg4 = wxString_in_helper(obj3);
6113 if (arg4 == NULL) SWIG_fail;
6114 temp4 = true;
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = SWIG_Py_Void();
6123 {
6124 if (temp4)
6125 delete arg4;
6126 }
6127 return resultobj;
6128fail:
6129 {
6130 if (temp4)
6131 delete arg4;
6132 }
6133 return NULL;
6134}
6135
6136
6137SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj = 0;
6139 wxComboBox *arg1 = (wxComboBox *) 0 ;
6140 long arg2 ;
6141 long arg3 ;
6142 void *argp1 = 0 ;
6143 int res1 = 0 ;
6144 long val2 ;
6145 int ecode2 = 0 ;
6146 long val3 ;
6147 int ecode3 = 0 ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 char * kwnames[] = {
f460c29d 6152 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6153 };
6154
6155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6157 if (!SWIG_IsOK(res1)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6159 }
6160 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6161 ecode2 = SWIG_AsVal_long(obj1, &val2);
6162 if (!SWIG_IsOK(ecode2)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6164 }
6165 arg2 = static_cast< long >(val2);
6166 ecode3 = SWIG_AsVal_long(obj2, &val3);
6167 if (!SWIG_IsOK(ecode3)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6169 }
6170 arg3 = static_cast< long >(val3);
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 (arg1)->SetSelection(arg2,arg3);
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 resultobj = SWIG_Py_Void();
6178 return resultobj;
6179fail:
6180 return NULL;
6181}
6182
6183
6184SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6185 PyObject *resultobj = 0;
6186 wxComboBox *arg1 = (wxComboBox *) 0 ;
6187 long *arg2 = (long *) 0 ;
6188 long *arg3 = (long *) 0 ;
6189 void *argp1 = 0 ;
6190 int res1 = 0 ;
6191 long temp2 ;
6192 int res2 = SWIG_TMPOBJ ;
6193 long temp3 ;
6194 int res3 = SWIG_TMPOBJ ;
6195 PyObject *swig_obj[1] ;
6196
6197 arg2 = &temp2;
6198 arg3 = &temp3;
6199 if (!args) SWIG_fail;
6200 swig_obj[0] = args;
6201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6202 if (!SWIG_IsOK(res1)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6204 }
6205 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 (arg1)->GetSelection(arg2,arg3);
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = SWIG_Py_Void();
6213 if (SWIG_IsTmpObj(res2)) {
6214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6215 } else {
6216 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6218 }
6219 if (SWIG_IsTmpObj(res3)) {
6220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6221 } else {
6222 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6224 }
6225 return resultobj;
6226fail:
6227 return NULL;
d55e5bfc
RD
6228}
6229
6230
554f62e9
RD
6231SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6232 PyObject *resultobj = 0;
6233 wxComboBox *arg1 = (wxComboBox *) 0 ;
6234 int result;
6235 void *argp1 = 0 ;
6236 int res1 = 0 ;
6237 PyObject *swig_obj[1] ;
6238
6239 if (!args) SWIG_fail;
6240 swig_obj[0] = args;
6241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6242 if (!SWIG_IsOK(res1)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6244 }
6245 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_From_int(static_cast< int >(result));
6253 return resultobj;
6254fail:
6255 return NULL;
6256}
6257
6258
6259SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj = 0;
6261 wxComboBox *arg1 = (wxComboBox *) 0 ;
6262 wxString *arg2 = 0 ;
6263 bool result;
6264 void *argp1 = 0 ;
6265 int res1 = 0 ;
6266 bool temp2 = false ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "self",(char *) "string", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6277 }
6278 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6279 {
6280 arg2 = wxString_in_helper(obj1);
6281 if (arg2 == NULL) SWIG_fail;
6282 temp2 = true;
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6292 }
6293 {
6294 if (temp2)
6295 delete arg2;
6296 }
6297 return resultobj;
6298fail:
6299 {
6300 if (temp2)
6301 delete arg2;
6302 }
6303 return NULL;
6304}
6305
6306
50f151d7
RD
6307SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj = 0;
6309 wxComboBox *arg1 = (wxComboBox *) 0 ;
6310 int arg2 ;
6311 wxString *arg3 = 0 ;
6312 void *argp1 = 0 ;
6313 int res1 = 0 ;
6314 int val2 ;
6315 int ecode2 = 0 ;
6316 bool temp3 = false ;
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 PyObject * obj2 = 0 ;
6320 char * kwnames[] = {
6321 (char *) "self",(char *) "n",(char *) "string", NULL
6322 };
6323
6324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6326 if (!SWIG_IsOK(res1)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6328 }
6329 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6330 ecode2 = SWIG_AsVal_int(obj1, &val2);
6331 if (!SWIG_IsOK(ecode2)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6333 }
6334 arg2 = static_cast< int >(val2);
6335 {
6336 arg3 = wxString_in_helper(obj2);
6337 if (arg3 == NULL) SWIG_fail;
6338 temp3 = true;
6339 }
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 (arg1)->SetString(arg2,(wxString const &)*arg3);
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_Py_Void();
6347 {
6348 if (temp3)
6349 delete arg3;
6350 }
6351 return resultobj;
6352fail:
6353 {
6354 if (temp3)
6355 delete arg3;
6356 }
6357 return NULL;
6358}
6359
6360
554f62e9
RD
6361SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj = 0;
6363 wxComboBox *arg1 = (wxComboBox *) 0 ;
6364 bool arg2 ;
6365 void *argp1 = 0 ;
6366 int res1 = 0 ;
6367 bool val2 ;
6368 int ecode2 = 0 ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char * kwnames[] = {
6372 (char *) "self",(char *) "editable", NULL
6373 };
6374
6375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6377 if (!SWIG_IsOK(res1)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6379 }
6380 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6382 if (!SWIG_IsOK(ecode2)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6384 }
6385 arg2 = static_cast< bool >(val2);
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 (arg1)->SetEditable(arg2);
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 resultobj = SWIG_Py_Void();
6393 return resultobj;
6394fail:
6395 return NULL;
d55e5bfc
RD
6396}
6397
6398
554f62e9
RD
6399SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6400 PyObject *resultobj = 0;
6401 wxComboBox *arg1 = (wxComboBox *) 0 ;
6402 void *argp1 = 0 ;
6403 int res1 = 0 ;
6404 PyObject *swig_obj[1] ;
6405
6406 if (!args) SWIG_fail;
6407 swig_obj[0] = args;
6408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6411 }
6412 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetInsertionPointEnd();
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_Py_Void();
6420 return resultobj;
6421fail:
6422 return NULL;
6423}
6424
6425
6426SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj = 0;
6428 wxComboBox *arg1 = (wxComboBox *) 0 ;
6429 long arg2 ;
6430 long arg3 ;
6431 void *argp1 = 0 ;
6432 int res1 = 0 ;
6433 long val2 ;
6434 int ecode2 = 0 ;
6435 long val3 ;
6436 int ecode3 = 0 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 char * kwnames[] = {
f460c29d 6441 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6442 };
6443
6444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6446 if (!SWIG_IsOK(res1)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6448 }
6449 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6450 ecode2 = SWIG_AsVal_long(obj1, &val2);
6451 if (!SWIG_IsOK(ecode2)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6453 }
6454 arg2 = static_cast< long >(val2);
6455 ecode3 = SWIG_AsVal_long(obj2, &val3);
6456 if (!SWIG_IsOK(ecode3)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6458 }
6459 arg3 = static_cast< long >(val3);
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 (arg1)->Remove(arg2,arg3);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = SWIG_Py_Void();
6467 return resultobj;
6468fail:
6469 return NULL;
d55e5bfc
RD
6470}
6471
6472
554f62e9
RD
6473SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6474 PyObject *resultobj = 0;
6475 wxComboBox *arg1 = (wxComboBox *) 0 ;
6476 bool result;
6477 void *argp1 = 0 ;
6478 int res1 = 0 ;
6479 PyObject *swig_obj[1] ;
6480
6481 if (!args) SWIG_fail;
6482 swig_obj[0] = args;
6483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6484 if (!SWIG_IsOK(res1)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6486 }
6487 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 {
6495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6496 }
6497 return resultobj;
6498fail:
6499 return NULL;
d55e5bfc
RD
6500}
6501
6502
554f62e9
RD
6503SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6504 PyObject *resultobj = 0;
6505 wxComboBox *arg1 = (wxComboBox *) 0 ;
6506 void *argp1 = 0 ;
6507 int res1 = 0 ;
6508 PyObject *swig_obj[1] ;
6509
6510 if (!args) SWIG_fail;
6511 swig_obj[0] = args;
6512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6513 if (!SWIG_IsOK(res1)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6515 }
6516 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 (arg1)->Undo();
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_Py_Void();
6524 return resultobj;
6525fail:
6526 return NULL;
d55e5bfc
RD
6527}
6528
6529
554f62e9
RD
6530SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6531 PyObject *resultobj = 0;
6532 wxComboBox *arg1 = (wxComboBox *) 0 ;
6533 void *argp1 = 0 ;
6534 int res1 = 0 ;
6535 PyObject *swig_obj[1] ;
6536
6537 if (!args) SWIG_fail;
6538 swig_obj[0] = args;
6539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6542 }
6543 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->Redo();
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = SWIG_Py_Void();
6551 return resultobj;
6552fail:
6553 return NULL;
d55e5bfc
RD
6554}
6555
6556
554f62e9
RD
6557SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6558 PyObject *resultobj = 0;
6559 wxComboBox *arg1 = (wxComboBox *) 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 PyObject *swig_obj[1] ;
6563
6564 if (!args) SWIG_fail;
6565 swig_obj[0] = args;
6566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6569 }
6570 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SelectAll();
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_Py_Void();
6578 return resultobj;
6579fail:
6580 return NULL;
f78cc896
RD
6581}
6582
6583
554f62e9
RD
6584SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6585 PyObject *resultobj = 0;
6586 wxComboBox *arg1 = (wxComboBox *) 0 ;
6587 bool result;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 PyObject *swig_obj[1] ;
6591
6592 if (!args) SWIG_fail;
6593 swig_obj[0] = args;
6594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6595 if (!SWIG_IsOK(res1)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6597 }
6598 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6607 }
6608 return resultobj;
6609fail:
6610 return NULL;
9d7dfdff
RD
6611}
6612
6613
554f62e9
RD
6614SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6615 PyObject *resultobj = 0;
6616 wxComboBox *arg1 = (wxComboBox *) 0 ;
6617 bool result;
6618 void *argp1 = 0 ;
6619 int res1 = 0 ;
6620 PyObject *swig_obj[1] ;
6621
6622 if (!args) SWIG_fail;
6623 swig_obj[0] = args;
6624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6625 if (!SWIG_IsOK(res1)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6627 }
6628 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 result = (bool)((wxComboBox const *)arg1)->CanCut();
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6637 }
6638 return resultobj;
6639fail:
6640 return NULL;
121b9a67
RD
6641}
6642
6643
554f62e9
RD
6644SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6645 PyObject *resultobj = 0;
6646 wxComboBox *arg1 = (wxComboBox *) 0 ;
6647 bool result;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 PyObject *swig_obj[1] ;
6651
6652 if (!args) SWIG_fail;
6653 swig_obj[0] = args;
6654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6657 }
6658 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
6668 return resultobj;
6669fail:
6670 return NULL;
121b9a67
RD
6671}
6672
6673
554f62e9
RD
6674SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6675 PyObject *resultobj = 0;
6676 wxComboBox *arg1 = (wxComboBox *) 0 ;
6677 bool result;
6678 void *argp1 = 0 ;
6679 int res1 = 0 ;
6680 PyObject *swig_obj[1] ;
6681
6682 if (!args) SWIG_fail;
6683 swig_obj[0] = args;
6684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6685 if (!SWIG_IsOK(res1)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6687 }
6688 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 {
6696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6697 }
6698 return resultobj;
6699fail:
6700 return NULL;
d55e5bfc
RD
6701}
6702
6703
554f62e9
RD
6704SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6705 PyObject *resultobj = 0;
6706 wxComboBox *arg1 = (wxComboBox *) 0 ;
6707 bool result;
6708 void *argp1 = 0 ;
6709 int res1 = 0 ;
6710 PyObject *swig_obj[1] ;
6711
6712 if (!args) SWIG_fail;
6713 swig_obj[0] = args;
6714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6715 if (!SWIG_IsOK(res1)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6717 }
6718 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 {
6726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6727 }
6728 return resultobj;
6729fail:
6730 return NULL;
d55e5bfc
RD
6731}
6732
6733
554f62e9
RD
6734SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj = 0;
6736 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6737 SwigValueWrapper<wxVisualAttributes > result;
6738 int val1 ;
6739 int ecode1 = 0 ;
6740 PyObject * obj0 = 0 ;
6741 char * kwnames[] = {
6742 (char *) "variant", NULL
6743 };
6744
6745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6746 if (obj0) {
6747 ecode1 = SWIG_AsVal_int(obj0, &val1);
6748 if (!SWIG_IsOK(ecode1)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6750 }
6751 arg1 = static_cast< wxWindowVariant >(val1);
6752 }
6753 {
6754 if (!wxPyCheckForApp()) SWIG_fail;
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = wxComboBox::GetClassDefaultAttributes(arg1);
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6761 return resultobj;
6762fail:
6763 return NULL;
d55e5bfc
RD
6764}
6765
6766
554f62e9
RD
6767SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6768 PyObject *obj;
6769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6771 return SWIG_Py_Void();
b519803b
RD
6772}
6773
554f62e9
RD
6774SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6775 return SWIG_Python_InitShadowInstance(args);
6776}
b519803b 6777
554f62e9
RD
6778SWIGINTERN int GaugeNameStr_set(PyObject *) {
6779 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6780 return 1;
b519803b
RD
6781}
6782
6783
554f62e9
RD
6784SWIGINTERN PyObject *GaugeNameStr_get(void) {
6785 PyObject *pyobj = 0;
6786
6787 {
6788#if wxUSE_UNICODE
6789 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6790#else
6791 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6792#endif
6793 }
6794 return pyobj;
6795}
6796
6797
6798SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj = 0;
6800 wxWindow *arg1 = (wxWindow *) 0 ;
6801 int arg2 = (int) -1 ;
6802 int arg3 = (int) 100 ;
6803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6805 wxSize const &arg5_defvalue = wxDefaultSize ;
6806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6807 long arg6 = (long) wxGA_HORIZONTAL ;
6808 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6809 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6810 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6811 wxString *arg8 = (wxString *) &arg8_defvalue ;
6812 wxGauge *result = 0 ;
6813 void *argp1 = 0 ;
6814 int res1 = 0 ;
6815 int val2 ;
6816 int ecode2 = 0 ;
6817 int val3 ;
6818 int ecode3 = 0 ;
6819 wxPoint temp4 ;
6820 wxSize temp5 ;
6821 long val6 ;
6822 int ecode6 = 0 ;
6823 void *argp7 = 0 ;
6824 int res7 = 0 ;
6825 bool temp8 = false ;
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj1 = 0 ;
6828 PyObject * obj2 = 0 ;
6829 PyObject * obj3 = 0 ;
6830 PyObject * obj4 = 0 ;
6831 PyObject * obj5 = 0 ;
6832 PyObject * obj6 = 0 ;
6833 PyObject * obj7 = 0 ;
6834 char * kwnames[] = {
6835 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6836 };
6837
6838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6840 if (!SWIG_IsOK(res1)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6842 }
6843 arg1 = reinterpret_cast< wxWindow * >(argp1);
6844 if (obj1) {
6845 ecode2 = SWIG_AsVal_int(obj1, &val2);
6846 if (!SWIG_IsOK(ecode2)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6848 }
6849 arg2 = static_cast< int >(val2);
6850 }
6851 if (obj2) {
6852 ecode3 = SWIG_AsVal_int(obj2, &val3);
6853 if (!SWIG_IsOK(ecode3)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6855 }
6856 arg3 = static_cast< int >(val3);
6857 }
6858 if (obj3) {
b519803b 6859 {
554f62e9
RD
6860 arg4 = &temp4;
6861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b519803b 6862 }
554f62e9
RD
6863 }
6864 if (obj4) {
b519803b 6865 {
554f62e9
RD
6866 arg5 = &temp5;
6867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b519803b 6868 }
554f62e9
RD
6869 }
6870 if (obj5) {
6871 ecode6 = SWIG_AsVal_long(obj5, &val6);
6872 if (!SWIG_IsOK(ecode6)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6874 }
6875 arg6 = static_cast< long >(val6);
6876 }
6877 if (obj6) {
6878 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6879 if (!SWIG_IsOK(res7)) {
6880 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6881 }
6882 if (!argp7) {
6883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
b519803b 6884 }
554f62e9
RD
6885 arg7 = reinterpret_cast< wxValidator * >(argp7);
6886 }
6887 if (obj7) {
b519803b 6888 {
554f62e9
RD
6889 arg8 = wxString_in_helper(obj7);
6890 if (arg8 == NULL) SWIG_fail;
6891 temp8 = true;
b519803b 6892 }
554f62e9
RD
6893 }
6894 {
6895 if (!wxPyCheckForApp()) SWIG_fail;
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6902 {
6903 if (temp8)
6904 delete arg8;
6905 }
6906 return resultobj;
6907fail:
6908 {
6909 if (temp8)
6910 delete arg8;
6911 }
6912 return NULL;
b519803b
RD
6913}
6914
6915
554f62e9
RD
6916SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6917 PyObject *resultobj = 0;
6918 wxGauge *result = 0 ;
6919
6920 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6921 {
6922 if (!wxPyCheckForApp()) SWIG_fail;
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (wxGauge *)new wxGauge();
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6929 return resultobj;
6930fail:
6931 return NULL;
6932}
6933
6934
6935SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj = 0;
6937 wxGauge *arg1 = (wxGauge *) 0 ;
6938 wxWindow *arg2 = (wxWindow *) 0 ;
6939 int arg3 = (int) -1 ;
6940 int arg4 = (int) 100 ;
6941 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6942 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6943 wxSize const &arg6_defvalue = wxDefaultSize ;
6944 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6945 long arg7 = (long) wxGA_HORIZONTAL ;
6946 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6947 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6948 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6949 wxString *arg9 = (wxString *) &arg9_defvalue ;
6950 bool result;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 void *argp2 = 0 ;
6954 int res2 = 0 ;
6955 int val3 ;
6956 int ecode3 = 0 ;
6957 int val4 ;
6958 int ecode4 = 0 ;
6959 wxPoint temp5 ;
6960 wxSize temp6 ;
6961 long val7 ;
6962 int ecode7 = 0 ;
6963 void *argp8 = 0 ;
6964 int res8 = 0 ;
6965 bool temp9 = false ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 PyObject * obj2 = 0 ;
6969 PyObject * obj3 = 0 ;
6970 PyObject * obj4 = 0 ;
6971 PyObject * obj5 = 0 ;
6972 PyObject * obj6 = 0 ;
6973 PyObject * obj7 = 0 ;
6974 PyObject * obj8 = 0 ;
6975 char * kwnames[] = {
6976 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6977 };
6978
6979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6981 if (!SWIG_IsOK(res1)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6983 }
6984 arg1 = reinterpret_cast< wxGauge * >(argp1);
6985 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6986 if (!SWIG_IsOK(res2)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6988 }
6989 arg2 = reinterpret_cast< wxWindow * >(argp2);
6990 if (obj2) {
6991 ecode3 = SWIG_AsVal_int(obj2, &val3);
6992 if (!SWIG_IsOK(ecode3)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6994 }
6995 arg3 = static_cast< int >(val3);
6996 }
6997 if (obj3) {
6998 ecode4 = SWIG_AsVal_int(obj3, &val4);
6999 if (!SWIG_IsOK(ecode4)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7001 }
7002 arg4 = static_cast< int >(val4);
7003 }
7004 if (obj4) {
b519803b 7005 {
554f62e9
RD
7006 arg5 = &temp5;
7007 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b519803b 7008 }
554f62e9
RD
7009 }
7010 if (obj5) {
b519803b 7011 {
554f62e9
RD
7012 arg6 = &temp6;
7013 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b519803b 7014 }
554f62e9
RD
7015 }
7016 if (obj6) {
7017 ecode7 = SWIG_AsVal_long(obj6, &val7);
7018 if (!SWIG_IsOK(ecode7)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7020 }
7021 arg7 = static_cast< long >(val7);
7022 }
7023 if (obj7) {
7024 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7025 if (!SWIG_IsOK(res8)) {
7026 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
b519803b 7027 }
554f62e9
RD
7028 if (!argp8) {
7029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 }
7031 arg8 = reinterpret_cast< wxValidator * >(argp8);
7032 }
7033 if (obj8) {
b519803b 7034 {
554f62e9
RD
7035 arg9 = wxString_in_helper(obj8);
7036 if (arg9 == NULL) SWIG_fail;
7037 temp9 = true;
b519803b 7038 }
554f62e9
RD
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7048 }
7049 {
7050 if (temp9)
7051 delete arg9;
7052 }
7053 return resultobj;
7054fail:
7055 {
7056 if (temp9)
7057 delete arg9;
7058 }
7059 return NULL;
7060}
7061
7062
7063SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj = 0;
7065 wxGauge *arg1 = (wxGauge *) 0 ;
7066 int arg2 ;
7067 void *argp1 = 0 ;
7068 int res1 = 0 ;
7069 int val2 ;
7070 int ecode2 = 0 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char * kwnames[] = {
7074 (char *) "self",(char *) "range", NULL
7075 };
7076
7077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7079 if (!SWIG_IsOK(res1)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7081 }
7082 arg1 = reinterpret_cast< wxGauge * >(argp1);
7083 ecode2 = SWIG_AsVal_int(obj1, &val2);
7084 if (!SWIG_IsOK(ecode2)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7086 }
7087 arg2 = static_cast< int >(val2);
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->SetRange(arg2);
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 resultobj = SWIG_Py_Void();
7095 return resultobj;
7096fail:
7097 return NULL;
b519803b
RD
7098}
7099
7100
554f62e9
RD
7101SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7102 PyObject *resultobj = 0;
7103 wxGauge *arg1 = (wxGauge *) 0 ;
7104 int result;
7105 void *argp1 = 0 ;
7106 int res1 = 0 ;
7107 PyObject *swig_obj[1] ;
7108
7109 if (!args) SWIG_fail;
7110 swig_obj[0] = args;
7111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7112 if (!SWIG_IsOK(res1)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7114 }
7115 arg1 = reinterpret_cast< wxGauge * >(argp1);
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (int)((wxGauge const *)arg1)->GetRange();
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = SWIG_From_int(static_cast< int >(result));
7123 return resultobj;
7124fail:
7125 return NULL;
7126}
7127
7128
7129SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj = 0;
7131 wxGauge *arg1 = (wxGauge *) 0 ;
7132 int arg2 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 int val2 ;
7136 int ecode2 = 0 ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 char * kwnames[] = {
7140 (char *) "self",(char *) "pos", NULL
7141 };
7142
7143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7145 if (!SWIG_IsOK(res1)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7147 }
7148 arg1 = reinterpret_cast< wxGauge * >(argp1);
7149 ecode2 = SWIG_AsVal_int(obj1, &val2);
7150 if (!SWIG_IsOK(ecode2)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7152 }
7153 arg2 = static_cast< int >(val2);
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->SetValue(arg2);
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_Py_Void();
7161 return resultobj;
7162fail:
7163 return NULL;
b519803b
RD
7164}
7165
7166
554f62e9
RD
7167SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7168 PyObject *resultobj = 0;
7169 wxGauge *arg1 = (wxGauge *) 0 ;
7170 int result;
7171 void *argp1 = 0 ;
7172 int res1 = 0 ;
7173 PyObject *swig_obj[1] ;
7174
7175 if (!args) SWIG_fail;
7176 swig_obj[0] = args;
7177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7178 if (!SWIG_IsOK(res1)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7180 }
7181 arg1 = reinterpret_cast< wxGauge * >(argp1);
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (int)((wxGauge const *)arg1)->GetValue();
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 resultobj = SWIG_From_int(static_cast< int >(result));
7189 return resultobj;
7190fail:
7191 return NULL;
b519803b
RD
7192}
7193
7194
554f62e9
RD
7195SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7196 PyObject *resultobj = 0;
7197 wxGauge *arg1 = (wxGauge *) 0 ;
7198 bool result;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7208 }
7209 arg1 = reinterpret_cast< wxGauge * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (bool)((wxGauge const *)arg1)->IsVertical();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7218 }
7219 return resultobj;
7220fail:
7221 return NULL;
7222}
7223
7224
7225SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj = 0;
7227 wxGauge *arg1 = (wxGauge *) 0 ;
7228 int arg2 ;
7229 void *argp1 = 0 ;
7230 int res1 = 0 ;
7231 int val2 ;
7232 int ecode2 = 0 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char * kwnames[] = {
7236 (char *) "self",(char *) "w", NULL
7237 };
7238
7239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7241 if (!SWIG_IsOK(res1)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7243 }
7244 arg1 = reinterpret_cast< wxGauge * >(argp1);
7245 ecode2 = SWIG_AsVal_int(obj1, &val2);
7246 if (!SWIG_IsOK(ecode2)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7248 }
7249 arg2 = static_cast< int >(val2);
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SetShadowWidth(arg2);
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_Py_Void();
7257 return resultobj;
7258fail:
7259 return NULL;
f20a2e1f
RD
7260}
7261
7262
554f62e9
RD
7263SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7264 PyObject *resultobj = 0;
7265 wxGauge *arg1 = (wxGauge *) 0 ;
7266 int result;
7267 void *argp1 = 0 ;
7268 int res1 = 0 ;
7269 PyObject *swig_obj[1] ;
7270
7271 if (!args) SWIG_fail;
7272 swig_obj[0] = args;
7273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7274 if (!SWIG_IsOK(res1)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7276 }
7277 arg1 = reinterpret_cast< wxGauge * >(argp1);
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_From_int(static_cast< int >(result));
7285 return resultobj;
7286fail:
7287 return NULL;
7288}
7289
7290
7291SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj = 0;
7293 wxGauge *arg1 = (wxGauge *) 0 ;
7294 int arg2 ;
7295 void *argp1 = 0 ;
7296 int res1 = 0 ;
7297 int val2 ;
7298 int ecode2 = 0 ;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301 char * kwnames[] = {
7302 (char *) "self",(char *) "w", NULL
7303 };
7304
7305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7307 if (!SWIG_IsOK(res1)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7309 }
7310 arg1 = reinterpret_cast< wxGauge * >(argp1);
7311 ecode2 = SWIG_AsVal_int(obj1, &val2);
7312 if (!SWIG_IsOK(ecode2)) {
7313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7314 }
7315 arg2 = static_cast< int >(val2);
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 (arg1)->SetBezelFace(arg2);
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = SWIG_Py_Void();
7323 return resultobj;
7324fail:
7325 return NULL;
d55e5bfc 7326}
554f62e9
RD
7327
7328
7329SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7330 PyObject *resultobj = 0;
7331 wxGauge *arg1 = (wxGauge *) 0 ;
7332 int result;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 PyObject *swig_obj[1] ;
7336
7337 if (!args) SWIG_fail;
7338 swig_obj[0] = args;
7339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7340 if (!SWIG_IsOK(res1)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7342 }
7343 arg1 = reinterpret_cast< wxGauge * >(argp1);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_From_int(static_cast< int >(result));
7351 return resultobj;
7352fail:
7353 return NULL;
7354}
7355
7356
7357SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj = 0;
7359 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7360 SwigValueWrapper<wxVisualAttributes > result;
7361 int val1 ;
7362 int ecode1 = 0 ;
7363 PyObject * obj0 = 0 ;
7364 char * kwnames[] = {
7365 (char *) "variant", NULL
7366 };
7367
7368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7369 if (obj0) {
7370 ecode1 = SWIG_AsVal_int(obj0, &val1);
7371 if (!SWIG_IsOK(ecode1)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7373 }
7374 arg1 = static_cast< wxWindowVariant >(val1);
7375 }
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = wxGauge::GetClassDefaultAttributes(arg1);
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7384 return resultobj;
7385fail:
7386 return NULL;
d55e5bfc
RD
7387}
7388
7389
554f62e9
RD
7390SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7391 PyObject *obj;
7392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7394 return SWIG_Py_Void();
7395}
7396
7397SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7398 return SWIG_Python_InitShadowInstance(args);
7399}
7400
7401SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7402 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7403 return 1;
7404}
7405
7406
7407SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7408 PyObject *pyobj = 0;
7409
7410 {
d55e5bfc 7411#if wxUSE_UNICODE
554f62e9 7412 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7413#else
554f62e9 7414 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7415#endif
554f62e9
RD
7416 }
7417 return pyobj;
d55e5bfc
RD
7418}
7419
7420
554f62e9
RD
7421SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7422 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7423 return 1;
d55e5bfc
RD
7424}
7425
7426
554f62e9
RD
7427SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7428 PyObject *pyobj = 0;
7429
7430 {
7431#if wxUSE_UNICODE
7432 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7433#else
7434 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7435#endif
7436 }
7437 return pyobj;
7438}
7439
7440
7441SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7442 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7443 return 1;
7444}
7445
7446
7447SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7448 PyObject *pyobj = 0;
7449
7450 {
7451#if wxUSE_UNICODE
7452 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7453#else
7454 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7455#endif
7456 }
7457 return pyobj;
7458}
7459
7460
7461SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7462 PyObject *resultobj = 0;
7463 wxWindow *arg1 = (wxWindow *) 0 ;
7464 int arg2 = (int) -1 ;
7465 wxString const &arg3_defvalue = wxPyEmptyString ;
7466 wxString *arg3 = (wxString *) &arg3_defvalue ;
7467 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7468 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7469 wxSize const &arg5_defvalue = wxDefaultSize ;
7470 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7471 long arg6 = (long) 0 ;
7472 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7473 wxString *arg7 = (wxString *) &arg7_defvalue ;
7474 wxStaticBox *result = 0 ;
7475 void *argp1 = 0 ;
7476 int res1 = 0 ;
7477 int val2 ;
7478 int ecode2 = 0 ;
7479 bool temp3 = false ;
7480 wxPoint temp4 ;
7481 wxSize temp5 ;
7482 long val6 ;
7483 int ecode6 = 0 ;
7484 bool temp7 = false ;
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
7487 PyObject * obj2 = 0 ;
7488 PyObject * obj3 = 0 ;
7489 PyObject * obj4 = 0 ;
7490 PyObject * obj5 = 0 ;
7491 PyObject * obj6 = 0 ;
7492 char * kwnames[] = {
7493 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7494 };
7495
7496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7498 if (!SWIG_IsOK(res1)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7500 }
7501 arg1 = reinterpret_cast< wxWindow * >(argp1);
7502 if (obj1) {
7503 ecode2 = SWIG_AsVal_int(obj1, &val2);
7504 if (!SWIG_IsOK(ecode2)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7506 }
7507 arg2 = static_cast< int >(val2);
7508 }
7509 if (obj2) {
d55e5bfc 7510 {
554f62e9
RD
7511 arg3 = wxString_in_helper(obj2);
7512 if (arg3 == NULL) SWIG_fail;
7513 temp3 = true;
d55e5bfc 7514 }
554f62e9
RD
7515 }
7516 if (obj3) {
d55e5bfc 7517 {
554f62e9
RD
7518 arg4 = &temp4;
7519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7520 }
554f62e9
RD
7521 }
7522 if (obj4) {
d55e5bfc 7523 {
554f62e9
RD
7524 arg5 = &temp5;
7525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7526 }
554f62e9
RD
7527 }
7528 if (obj5) {
7529 ecode6 = SWIG_AsVal_long(obj5, &val6);
7530 if (!SWIG_IsOK(ecode6)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7532 }
7533 arg6 = static_cast< long >(val6);
7534 }
7535 if (obj6) {
d55e5bfc 7536 {
554f62e9
RD
7537 arg7 = wxString_in_helper(obj6);
7538 if (arg7 == NULL) SWIG_fail;
7539 temp7 = true;
d55e5bfc 7540 }
554f62e9
RD
7541 }
7542 {
7543 if (!wxPyCheckForApp()) SWIG_fail;
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7550 {
7551 if (temp3)
7552 delete arg3;
7553 }
7554 {
7555 if (temp7)
7556 delete arg7;
7557 }
7558 return resultobj;
7559fail:
7560 {
7561 if (temp3)
7562 delete arg3;
7563 }
7564 {
7565 if (temp7)
7566 delete arg7;
7567 }
7568 return NULL;
d55e5bfc
RD
7569}
7570
7571
554f62e9
RD
7572SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7573 PyObject *resultobj = 0;
7574 wxStaticBox *result = 0 ;
7575
7576 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7577 {
7578 if (!wxPyCheckForApp()) SWIG_fail;
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (wxStaticBox *)new wxStaticBox();
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7585 return resultobj;
7586fail:
7587 return NULL;
7588}
7589
7590
7591SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj = 0;
7593 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7594 wxWindow *arg2 = (wxWindow *) 0 ;
7595 int arg3 = (int) -1 ;
7596 wxString const &arg4_defvalue = wxPyEmptyString ;
7597 wxString *arg4 = (wxString *) &arg4_defvalue ;
7598 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7599 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7600 wxSize const &arg6_defvalue = wxDefaultSize ;
7601 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7602 long arg7 = (long) 0 ;
7603 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7604 wxString *arg8 = (wxString *) &arg8_defvalue ;
7605 bool result;
7606 void *argp1 = 0 ;
7607 int res1 = 0 ;
7608 void *argp2 = 0 ;
7609 int res2 = 0 ;
7610 int val3 ;
7611 int ecode3 = 0 ;
7612 bool temp4 = false ;
7613 wxPoint temp5 ;
7614 wxSize temp6 ;
7615 long val7 ;
7616 int ecode7 = 0 ;
7617 bool temp8 = false ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 PyObject * obj2 = 0 ;
7621 PyObject * obj3 = 0 ;
7622 PyObject * obj4 = 0 ;
7623 PyObject * obj5 = 0 ;
7624 PyObject * obj6 = 0 ;
7625 PyObject * obj7 = 0 ;
7626 char * kwnames[] = {
7627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7628 };
7629
7630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7632 if (!SWIG_IsOK(res1)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7634 }
7635 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7637 if (!SWIG_IsOK(res2)) {
7638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7639 }
7640 arg2 = reinterpret_cast< wxWindow * >(argp2);
7641 if (obj2) {
7642 ecode3 = SWIG_AsVal_int(obj2, &val3);
7643 if (!SWIG_IsOK(ecode3)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7645 }
7646 arg3 = static_cast< int >(val3);
7647 }
7648 if (obj3) {
093d3ff1 7649 {
554f62e9
RD
7650 arg4 = wxString_in_helper(obj3);
7651 if (arg4 == NULL) SWIG_fail;
7652 temp4 = true;
093d3ff1 7653 }
554f62e9
RD
7654 }
7655 if (obj4) {
d55e5bfc 7656 {
554f62e9
RD
7657 arg5 = &temp5;
7658 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7659 }
554f62e9
RD
7660 }
7661 if (obj5) {
d55e5bfc 7662 {
554f62e9
RD
7663 arg6 = &temp6;
7664 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7665 }
554f62e9
RD
7666 }
7667 if (obj6) {
7668 ecode7 = SWIG_AsVal_long(obj6, &val7);
7669 if (!SWIG_IsOK(ecode7)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7671 }
7672 arg7 = static_cast< long >(val7);
7673 }
7674 if (obj7) {
093d3ff1 7675 {
554f62e9
RD
7676 arg8 = wxString_in_helper(obj7);
7677 if (arg8 == NULL) SWIG_fail;
7678 temp8 = true;
093d3ff1 7679 }
554f62e9
RD
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 {
7688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7689 }
7690 {
7691 if (temp4)
7692 delete arg4;
7693 }
7694 {
7695 if (temp8)
7696 delete arg8;
7697 }
7698 return resultobj;
7699fail:
7700 {
7701 if (temp4)
7702 delete arg4;
7703 }
7704 {
7705 if (temp8)
7706 delete arg8;
7707 }
7708 return NULL;
7709}
d55e5bfc 7710
554f62e9
RD
7711
7712SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj = 0;
7714 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7715 SwigValueWrapper<wxVisualAttributes > result;
7716 int val1 ;
7717 int ecode1 = 0 ;
7718 PyObject * obj0 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "variant", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7724 if (obj0) {
7725 ecode1 = SWIG_AsVal_int(obj0, &val1);
7726 if (!SWIG_IsOK(ecode1)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7728 }
7729 arg1 = static_cast< wxWindowVariant >(val1);
7730 }
7731 {
7732 if (!wxPyCheckForApp()) SWIG_fail;
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7739 return resultobj;
7740fail:
7741 return NULL;
7742}
7743
7744
7745SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7746 PyObject *obj;
7747 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7748 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7749 return SWIG_Py_Void();
7750}
7751
7752SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7753 return SWIG_Python_InitShadowInstance(args);
7754}
7755
7756SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj = 0;
7758 wxWindow *arg1 = (wxWindow *) 0 ;
7759 int arg2 = (int) -1 ;
7760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7762 wxSize const &arg4_defvalue = wxDefaultSize ;
7763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7764 long arg5 = (long) wxLI_HORIZONTAL ;
7765 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7766 wxString *arg6 = (wxString *) &arg6_defvalue ;
7767 wxStaticLine *result = 0 ;
7768 void *argp1 = 0 ;
7769 int res1 = 0 ;
7770 int val2 ;
7771 int ecode2 = 0 ;
7772 wxPoint temp3 ;
7773 wxSize temp4 ;
7774 long val5 ;
7775 int ecode5 = 0 ;
7776 bool temp6 = false ;
7777 PyObject * obj0 = 0 ;
7778 PyObject * obj1 = 0 ;
7779 PyObject * obj2 = 0 ;
7780 PyObject * obj3 = 0 ;
7781 PyObject * obj4 = 0 ;
7782 PyObject * obj5 = 0 ;
7783 char * kwnames[] = {
7784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7785 };
7786
7787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7789 if (!SWIG_IsOK(res1)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7791 }
7792 arg1 = reinterpret_cast< wxWindow * >(argp1);
7793 if (obj1) {
7794 ecode2 = SWIG_AsVal_int(obj1, &val2);
7795 if (!SWIG_IsOK(ecode2)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7797 }
7798 arg2 = static_cast< int >(val2);
7799 }
7800 if (obj2) {
093d3ff1 7801 {
554f62e9
RD
7802 arg3 = &temp3;
7803 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7804 }
554f62e9
RD
7805 }
7806 if (obj3) {
d55e5bfc 7807 {
554f62e9
RD
7808 arg4 = &temp4;
7809 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7810 }
554f62e9
RD
7811 }
7812 if (obj4) {
7813 ecode5 = SWIG_AsVal_long(obj4, &val5);
7814 if (!SWIG_IsOK(ecode5)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7816 }
7817 arg5 = static_cast< long >(val5);
7818 }
7819 if (obj5) {
7820 {
7821 arg6 = wxString_in_helper(obj5);
7822 if (arg6 == NULL) SWIG_fail;
7823 temp6 = true;
7824 }
7825 }
7826 {
7827 if (!wxPyCheckForApp()) SWIG_fail;
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7834 {
7835 if (temp6)
7836 delete arg6;
7837 }
7838 return resultobj;
7839fail:
7840 {
7841 if (temp6)
7842 delete arg6;
7843 }
7844 return NULL;
d55e5bfc
RD
7845}
7846
7847
554f62e9
RD
7848SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7849 PyObject *resultobj = 0;
7850 wxStaticLine *result = 0 ;
7851
7852 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7853 {
7854 if (!wxPyCheckForApp()) SWIG_fail;
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (wxStaticLine *)new wxStaticLine();
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7861 return resultobj;
7862fail:
7863 return NULL;
7864}
7865
7866
7867SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj = 0;
7869 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7870 wxWindow *arg2 = (wxWindow *) 0 ;
7871 int arg3 = (int) -1 ;
7872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7874 wxSize const &arg5_defvalue = wxDefaultSize ;
7875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7876 long arg6 = (long) wxLI_HORIZONTAL ;
7877 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7878 wxString *arg7 = (wxString *) &arg7_defvalue ;
7879 bool result;
7880 void *argp1 = 0 ;
7881 int res1 = 0 ;
7882 void *argp2 = 0 ;
7883 int res2 = 0 ;
7884 int val3 ;
7885 int ecode3 = 0 ;
7886 wxPoint temp4 ;
7887 wxSize temp5 ;
7888 long val6 ;
7889 int ecode6 = 0 ;
7890 bool temp7 = false ;
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 PyObject * obj2 = 0 ;
7894 PyObject * obj3 = 0 ;
7895 PyObject * obj4 = 0 ;
7896 PyObject * obj5 = 0 ;
7897 PyObject * obj6 = 0 ;
7898 char * kwnames[] = {
7899 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7900 };
7901
7902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7904 if (!SWIG_IsOK(res1)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7906 }
7907 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7908 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7909 if (!SWIG_IsOK(res2)) {
7910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7911 }
7912 arg2 = reinterpret_cast< wxWindow * >(argp2);
7913 if (obj2) {
7914 ecode3 = SWIG_AsVal_int(obj2, &val3);
7915 if (!SWIG_IsOK(ecode3)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7917 }
7918 arg3 = static_cast< int >(val3);
7919 }
7920 if (obj3) {
d55e5bfc 7921 {
554f62e9
RD
7922 arg4 = &temp4;
7923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7924 }
554f62e9
RD
7925 }
7926 if (obj4) {
093d3ff1 7927 {
554f62e9
RD
7928 arg5 = &temp5;
7929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7930 }
554f62e9
RD
7931 }
7932 if (obj5) {
7933 ecode6 = SWIG_AsVal_long(obj5, &val6);
7934 if (!SWIG_IsOK(ecode6)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7936 }
7937 arg6 = static_cast< long >(val6);
7938 }
7939 if (obj6) {
7940 {
7941 arg7 = wxString_in_helper(obj6);
7942 if (arg7 == NULL) SWIG_fail;
7943 temp7 = true;
7944 }
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 {
7953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7954 }
7955 {
7956 if (temp7)
7957 delete arg7;
7958 }
7959 return resultobj;
7960fail:
7961 {
7962 if (temp7)
7963 delete arg7;
7964 }
7965 return NULL;
d55e5bfc
RD
7966}
7967
7968
554f62e9
RD
7969SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7970 PyObject *resultobj = 0;
7971 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7972 bool result;
7973 void *argp1 = 0 ;
7974 int res1 = 0 ;
7975 PyObject *swig_obj[1] ;
7976
7977 if (!args) SWIG_fail;
7978 swig_obj[0] = args;
7979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7980 if (!SWIG_IsOK(res1)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7982 }
7983 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7992 }
7993 return resultobj;
7994fail:
7995 return NULL;
7996}
7997
7998
7999SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8000 PyObject *resultobj = 0;
8001 int result;
8002
8003 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (int)wxStaticLine::GetDefaultSize();
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 resultobj = SWIG_From_int(static_cast< int >(result));
8011 return resultobj;
8012fail:
8013 return NULL;
8014}
8015
8016
8017SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj = 0;
8019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8020 SwigValueWrapper<wxVisualAttributes > result;
8021 int val1 ;
8022 int ecode1 = 0 ;
8023 PyObject * obj0 = 0 ;
8024 char * kwnames[] = {
8025 (char *) "variant", NULL
8026 };
8027
8028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8029 if (obj0) {
8030 ecode1 = SWIG_AsVal_int(obj0, &val1);
8031 if (!SWIG_IsOK(ecode1)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8033 }
8034 arg1 = static_cast< wxWindowVariant >(val1);
8035 }
8036 {
8037 if (!wxPyCheckForApp()) SWIG_fail;
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8044 return resultobj;
8045fail:
8046 return NULL;
8047}
8048
8049
8050SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *obj;
8052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8054 return SWIG_Py_Void();
8055}
8056
8057SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8058 return SWIG_Python_InitShadowInstance(args);
8059}
8060
8061SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxWindow *arg1 = (wxWindow *) 0 ;
8064 int arg2 = (int) -1 ;
8065 wxString const &arg3_defvalue = wxPyEmptyString ;
8066 wxString *arg3 = (wxString *) &arg3_defvalue ;
8067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8069 wxSize const &arg5_defvalue = wxDefaultSize ;
8070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8071 long arg6 = (long) 0 ;
8072 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8073 wxString *arg7 = (wxString *) &arg7_defvalue ;
8074 wxStaticText *result = 0 ;
8075 void *argp1 = 0 ;
8076 int res1 = 0 ;
8077 int val2 ;
8078 int ecode2 = 0 ;
8079 bool temp3 = false ;
8080 wxPoint temp4 ;
8081 wxSize temp5 ;
8082 long val6 ;
8083 int ecode6 = 0 ;
8084 bool temp7 = false ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 PyObject * obj2 = 0 ;
8088 PyObject * obj3 = 0 ;
8089 PyObject * obj4 = 0 ;
8090 PyObject * obj5 = 0 ;
8091 PyObject * obj6 = 0 ;
8092 char * kwnames[] = {
8093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8094 };
8095
8096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8098 if (!SWIG_IsOK(res1)) {
8099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8100 }
8101 arg1 = reinterpret_cast< wxWindow * >(argp1);
8102 if (obj1) {
8103 ecode2 = SWIG_AsVal_int(obj1, &val2);
8104 if (!SWIG_IsOK(ecode2)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8106 }
8107 arg2 = static_cast< int >(val2);
8108 }
8109 if (obj2) {
d55e5bfc 8110 {
554f62e9
RD
8111 arg3 = wxString_in_helper(obj2);
8112 if (arg3 == NULL) SWIG_fail;
8113 temp3 = true;
d55e5bfc 8114 }
554f62e9
RD
8115 }
8116 if (obj3) {
d55e5bfc 8117 {
554f62e9
RD
8118 arg4 = &temp4;
8119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8120 }
554f62e9
RD
8121 }
8122 if (obj4) {
093d3ff1 8123 {
554f62e9
RD
8124 arg5 = &temp5;
8125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8126 }
554f62e9
RD
8127 }
8128 if (obj5) {
8129 ecode6 = SWIG_AsVal_long(obj5, &val6);
8130 if (!SWIG_IsOK(ecode6)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8132 }
8133 arg6 = static_cast< long >(val6);
8134 }
8135 if (obj6) {
d55e5bfc 8136 {
554f62e9
RD
8137 arg7 = wxString_in_helper(obj6);
8138 if (arg7 == NULL) SWIG_fail;
8139 temp7 = true;
d55e5bfc 8140 }
554f62e9
RD
8141 }
8142 {
8143 if (!wxPyCheckForApp()) SWIG_fail;
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8150 {
8151 if (temp3)
8152 delete arg3;
8153 }
8154 {
8155 if (temp7)
8156 delete arg7;
8157 }
8158 return resultobj;
8159fail:
8160 {
8161 if (temp3)
8162 delete arg3;
8163 }
8164 {
8165 if (temp7)
8166 delete arg7;
8167 }
8168 return NULL;
d55e5bfc
RD
8169}
8170
8171
554f62e9
RD
8172SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8173 PyObject *resultobj = 0;
8174 wxStaticText *result = 0 ;
8175
8176 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8177 {
8178 if (!wxPyCheckForApp()) SWIG_fail;
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (wxStaticText *)new wxStaticText();
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8185 return resultobj;
8186fail:
8187 return NULL;
8188}
8189
8190
8191SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj = 0;
8193 wxStaticText *arg1 = (wxStaticText *) 0 ;
8194 wxWindow *arg2 = (wxWindow *) 0 ;
8195 int arg3 = (int) -1 ;
8196 wxString const &arg4_defvalue = wxPyEmptyString ;
8197 wxString *arg4 = (wxString *) &arg4_defvalue ;
8198 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8199 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8200 wxSize const &arg6_defvalue = wxDefaultSize ;
8201 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8202 long arg7 = (long) 0 ;
8203 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8204 wxString *arg8 = (wxString *) &arg8_defvalue ;
8205 bool result;
8206 void *argp1 = 0 ;
8207 int res1 = 0 ;
8208 void *argp2 = 0 ;
8209 int res2 = 0 ;
8210 int val3 ;
8211 int ecode3 = 0 ;
8212 bool temp4 = false ;
8213 wxPoint temp5 ;
8214 wxSize temp6 ;
8215 long val7 ;
8216 int ecode7 = 0 ;
8217 bool temp8 = false ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 PyObject * obj2 = 0 ;
8221 PyObject * obj3 = 0 ;
8222 PyObject * obj4 = 0 ;
8223 PyObject * obj5 = 0 ;
8224 PyObject * obj6 = 0 ;
8225 PyObject * obj7 = 0 ;
8226 char * kwnames[] = {
8227 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8228 };
8229
8230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8232 if (!SWIG_IsOK(res1)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8234 }
8235 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8237 if (!SWIG_IsOK(res2)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8239 }
8240 arg2 = reinterpret_cast< wxWindow * >(argp2);
8241 if (obj2) {
8242 ecode3 = SWIG_AsVal_int(obj2, &val3);
8243 if (!SWIG_IsOK(ecode3)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8245 }
8246 arg3 = static_cast< int >(val3);
8247 }
8248 if (obj3) {
d55e5bfc 8249 {
554f62e9
RD
8250 arg4 = wxString_in_helper(obj3);
8251 if (arg4 == NULL) SWIG_fail;
8252 temp4 = true;
8253 }
8254 }
8255 if (obj4) {
8256 {
8257 arg5 = &temp5;
8258 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8259 }
554f62e9
RD
8260 }
8261 if (obj5) {
093d3ff1 8262 {
554f62e9
RD
8263 arg6 = &temp6;
8264 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8265 }
554f62e9
RD
8266 }
8267 if (obj6) {
8268 ecode7 = SWIG_AsVal_long(obj6, &val7);
8269 if (!SWIG_IsOK(ecode7)) {
8270 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8271 }
8272 arg7 = static_cast< long >(val7);
8273 }
8274 if (obj7) {
093d3ff1 8275 {
554f62e9
RD
8276 arg8 = wxString_in_helper(obj7);
8277 if (arg8 == NULL) SWIG_fail;
8278 temp8 = true;
8279 }
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 {
8288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8289 }
8290 {
8291 if (temp4)
8292 delete arg4;
8293 }
8294 {
8295 if (temp8)
8296 delete arg8;
8297 }
8298 return resultobj;
8299fail:
8300 {
8301 if (temp4)
8302 delete arg4;
8303 }
8304 {
8305 if (temp8)
8306 delete arg8;
8307 }
8308 return NULL;
8309}
8310
8311
8312SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj = 0;
8314 wxStaticText *arg1 = (wxStaticText *) 0 ;
8315 int arg2 ;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 int val2 ;
8319 int ecode2 = 0 ;
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 char * kwnames[] = {
8323 (char *) "self",(char *) "width", NULL
8324 };
8325
8326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8328 if (!SWIG_IsOK(res1)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8330 }
8331 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8332 ecode2 = SWIG_AsVal_int(obj1, &val2);
8333 if (!SWIG_IsOK(ecode2)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8335 }
8336 arg2 = static_cast< int >(val2);
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 (arg1)->Wrap(arg2);
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 resultobj = SWIG_Py_Void();
8344 return resultobj;
8345fail:
8346 return NULL;
8347}
8348
8349
8350SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj = 0;
8352 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8353 SwigValueWrapper<wxVisualAttributes > result;
8354 int val1 ;
8355 int ecode1 = 0 ;
8356 PyObject * obj0 = 0 ;
8357 char * kwnames[] = {
8358 (char *) "variant", NULL
8359 };
8360
8361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8362 if (obj0) {
8363 ecode1 = SWIG_AsVal_int(obj0, &val1);
8364 if (!SWIG_IsOK(ecode1)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8366 }
8367 arg1 = static_cast< wxWindowVariant >(val1);
8368 }
8369 {
8370 if (!wxPyCheckForApp()) SWIG_fail;
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = wxStaticText::GetClassDefaultAttributes(arg1);
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8377 return resultobj;
8378fail:
8379 return NULL;
8380}
8381
8382
8383SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8384 PyObject *obj;
8385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8386 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8387 return SWIG_Py_Void();
8388}
8389
8390SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8391 return SWIG_Python_InitShadowInstance(args);
8392}
8393
8394SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj = 0;
8396 wxWindow *arg1 = (wxWindow *) 0 ;
8397 int arg2 = (int) -1 ;
8398 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8399 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8402 wxSize const &arg5_defvalue = wxDefaultSize ;
8403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8404 long arg6 = (long) 0 ;
8405 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8406 wxString *arg7 = (wxString *) &arg7_defvalue ;
8407 wxStaticBitmap *result = 0 ;
8408 void *argp1 = 0 ;
8409 int res1 = 0 ;
8410 int val2 ;
8411 int ecode2 = 0 ;
8412 void *argp3 = 0 ;
8413 int res3 = 0 ;
8414 wxPoint temp4 ;
8415 wxSize temp5 ;
8416 long val6 ;
8417 int ecode6 = 0 ;
8418 bool temp7 = false ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
8422 PyObject * obj3 = 0 ;
8423 PyObject * obj4 = 0 ;
8424 PyObject * obj5 = 0 ;
8425 PyObject * obj6 = 0 ;
8426 char * kwnames[] = {
8427 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8428 };
8429
8430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8432 if (!SWIG_IsOK(res1)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8434 }
8435 arg1 = reinterpret_cast< wxWindow * >(argp1);
8436 if (obj1) {
8437 ecode2 = SWIG_AsVal_int(obj1, &val2);
8438 if (!SWIG_IsOK(ecode2)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8440 }
8441 arg2 = static_cast< int >(val2);
8442 }
8443 if (obj2) {
8444 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8445 if (!SWIG_IsOK(res3)) {
8446 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8447 }
8448 if (!argp3) {
8449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8450 }
554f62e9
RD
8451 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8452 }
8453 if (obj3) {
d55e5bfc 8454 {
554f62e9
RD
8455 arg4 = &temp4;
8456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8457 }
554f62e9
RD
8458 }
8459 if (obj4) {
d55e5bfc 8460 {
554f62e9
RD
8461 arg5 = &temp5;
8462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8463 }
554f62e9
RD
8464 }
8465 if (obj5) {
8466 ecode6 = SWIG_AsVal_long(obj5, &val6);
8467 if (!SWIG_IsOK(ecode6)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8469 }
8470 arg6 = static_cast< long >(val6);
8471 }
8472 if (obj6) {
093d3ff1 8473 {
554f62e9
RD
8474 arg7 = wxString_in_helper(obj6);
8475 if (arg7 == NULL) SWIG_fail;
8476 temp7 = true;
093d3ff1 8477 }
554f62e9
RD
8478 }
8479 {
8480 if (!wxPyCheckForApp()) SWIG_fail;
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8487 {
8488 if (temp7)
8489 delete arg7;
8490 }
8491 return resultobj;
8492fail:
8493 {
8494 if (temp7)
8495 delete arg7;
8496 }
8497 return NULL;
d55e5bfc
RD
8498}
8499
8500
554f62e9
RD
8501SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *resultobj = 0;
8503 wxStaticBitmap *result = 0 ;
8504
8505 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8506 {
8507 if (!wxPyCheckForApp()) SWIG_fail;
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxStaticBitmap *)new wxStaticBitmap();
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8514 return resultobj;
8515fail:
8516 return NULL;
8517}
8518
8519
8520SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj = 0;
8522 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8523 wxWindow *arg2 = (wxWindow *) 0 ;
8524 int arg3 = (int) -1 ;
8525 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8526 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8529 wxSize const &arg6_defvalue = wxDefaultSize ;
8530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8531 long arg7 = (long) 0 ;
8532 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8533 wxString *arg8 = (wxString *) &arg8_defvalue ;
8534 bool result;
8535 void *argp1 = 0 ;
8536 int res1 = 0 ;
8537 void *argp2 = 0 ;
8538 int res2 = 0 ;
8539 int val3 ;
8540 int ecode3 = 0 ;
8541 void *argp4 = 0 ;
8542 int res4 = 0 ;
8543 wxPoint temp5 ;
8544 wxSize temp6 ;
8545 long val7 ;
8546 int ecode7 = 0 ;
8547 bool temp8 = false ;
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8550 PyObject * obj2 = 0 ;
8551 PyObject * obj3 = 0 ;
8552 PyObject * obj4 = 0 ;
8553 PyObject * obj5 = 0 ;
8554 PyObject * obj6 = 0 ;
8555 PyObject * obj7 = 0 ;
8556 char * kwnames[] = {
8557 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8558 };
8559
8560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8562 if (!SWIG_IsOK(res1)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8564 }
8565 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8567 if (!SWIG_IsOK(res2)) {
8568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8569 }
8570 arg2 = reinterpret_cast< wxWindow * >(argp2);
8571 if (obj2) {
8572 ecode3 = SWIG_AsVal_int(obj2, &val3);
8573 if (!SWIG_IsOK(ecode3)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8575 }
8576 arg3 = static_cast< int >(val3);
8577 }
8578 if (obj3) {
8579 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8580 if (!SWIG_IsOK(res4)) {
8581 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8582 }
8583 if (!argp4) {
8584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
f20a2e1f 8585 }
554f62e9
RD
8586 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8587 }
8588 if (obj4) {
f20a2e1f 8589 {
554f62e9
RD
8590 arg5 = &temp5;
8591 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8592 }
554f62e9
RD
8593 }
8594 if (obj5) {
f20a2e1f 8595 {
554f62e9
RD
8596 arg6 = &temp6;
8597 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
f20a2e1f 8598 }
554f62e9
RD
8599 }
8600 if (obj6) {
8601 ecode7 = SWIG_AsVal_long(obj6, &val7);
8602 if (!SWIG_IsOK(ecode7)) {
8603 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8604 }
8605 arg7 = static_cast< long >(val7);
8606 }
8607 if (obj7) {
d55e5bfc 8608 {
554f62e9
RD
8609 arg8 = wxString_in_helper(obj7);
8610 if (arg8 == NULL) SWIG_fail;
8611 temp8 = true;
d55e5bfc 8612 }
554f62e9
RD
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 {
8621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8622 }
8623 {
8624 if (temp8)
8625 delete arg8;
8626 }
8627 return resultobj;
8628fail:
8629 {
8630 if (temp8)
8631 delete arg8;
8632 }
8633 return NULL;
d55e5bfc
RD
8634}
8635
8636
554f62e9
RD
8637SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8638 PyObject *resultobj = 0;
8639 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8640 wxBitmap result;
8641 void *argp1 = 0 ;
8642 int res1 = 0 ;
8643 PyObject *swig_obj[1] ;
8644
8645 if (!args) SWIG_fail;
8646 swig_obj[0] = args;
8647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8648 if (!SWIG_IsOK(res1)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8650 }
8651 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (arg1)->GetBitmap();
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8659 return resultobj;
8660fail:
8661 return NULL;
8662}
8663
8664
8665SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj = 0;
8667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8668 wxBitmap *arg2 = 0 ;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 void *argp2 = 0 ;
8672 int res2 = 0 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 char * kwnames[] = {
8676 (char *) "self",(char *) "bitmap", NULL
8677 };
8678
8679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8681 if (!SWIG_IsOK(res1)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8683 }
8684 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8685 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8686 if (!SWIG_IsOK(res2)) {
8687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8688 }
8689 if (!argp2) {
8690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 }
8692 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_Py_Void();
8700 return resultobj;
8701fail:
8702 return NULL;
8703}
8704
8705
8706SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj = 0;
8708 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8709 wxIcon *arg2 = 0 ;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 void *argp2 = 0 ;
8713 int res2 = 0 ;
8714 PyObject * obj0 = 0 ;
8715 PyObject * obj1 = 0 ;
8716 char * kwnames[] = {
8717 (char *) "self",(char *) "icon", NULL
8718 };
8719
8720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8722 if (!SWIG_IsOK(res1)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8724 }
8725 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8726 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8727 if (!SWIG_IsOK(res2)) {
8728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8729 }
8730 if (!argp2) {
8731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 }
8733 arg2 = reinterpret_cast< wxIcon * >(argp2);
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 (arg1)->SetIcon((wxIcon const &)*arg2);
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 resultobj = SWIG_Py_Void();
8741 return resultobj;
8742fail:
8743 return NULL;
8744}
8745
8746
8747SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8748 PyObject *resultobj = 0;
8749 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8750 SwigValueWrapper<wxVisualAttributes > result;
8751 int val1 ;
8752 int ecode1 = 0 ;
8753 PyObject * obj0 = 0 ;
8754 char * kwnames[] = {
8755 (char *) "variant", NULL
8756 };
8757
8758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8759 if (obj0) {
8760 ecode1 = SWIG_AsVal_int(obj0, &val1);
8761 if (!SWIG_IsOK(ecode1)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8763 }
8764 arg1 = static_cast< wxWindowVariant >(val1);
8765 }
8766 {
8767 if (!wxPyCheckForApp()) SWIG_fail;
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8774 return resultobj;
8775fail:
8776 return NULL;
d55e5bfc
RD
8777}
8778
8779
554f62e9
RD
8780SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8781 PyObject *obj;
8782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8783 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8784 return SWIG_Py_Void();
d55e5bfc
RD
8785}
8786
554f62e9
RD
8787SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8788 return SWIG_Python_InitShadowInstance(args);
8789}
d55e5bfc 8790
554f62e9
RD
8791SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8792 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8793 return 1;
d55e5bfc
RD
8794}
8795
8796
554f62e9
RD
8797SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8798 PyObject *pyobj = 0;
8799
8800 {
d55e5bfc 8801#if wxUSE_UNICODE
554f62e9 8802 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8803#else
554f62e9 8804 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8805#endif
554f62e9
RD
8806 }
8807 return pyobj;
8808}
8809
8810
8811SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj = 0;
8813 wxWindow *arg1 = (wxWindow *) 0 ;
8814 int arg2 = (int) -1 ;
8815 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8816 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8817 wxSize const &arg4_defvalue = wxDefaultSize ;
8818 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8819 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8820 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8821 long arg6 = (long) 0 ;
8822 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8823 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8824 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8825 wxString *arg8 = (wxString *) &arg8_defvalue ;
8826 wxListBox *result = 0 ;
8827 void *argp1 = 0 ;
8828 int res1 = 0 ;
8829 int val2 ;
8830 int ecode2 = 0 ;
8831 wxPoint temp3 ;
8832 wxSize temp4 ;
8833 bool temp5 = false ;
8834 long val6 ;
8835 int ecode6 = 0 ;
8836 void *argp7 = 0 ;
8837 int res7 = 0 ;
8838 bool temp8 = false ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 PyObject * obj2 = 0 ;
8842 PyObject * obj3 = 0 ;
8843 PyObject * obj4 = 0 ;
8844 PyObject * obj5 = 0 ;
8845 PyObject * obj6 = 0 ;
8846 PyObject * obj7 = 0 ;
8847 char * kwnames[] = {
8848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8849 };
8850
8851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8853 if (!SWIG_IsOK(res1)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8855 }
8856 arg1 = reinterpret_cast< wxWindow * >(argp1);
8857 if (obj1) {
8858 ecode2 = SWIG_AsVal_int(obj1, &val2);
8859 if (!SWIG_IsOK(ecode2)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8861 }
8862 arg2 = static_cast< int >(val2);
8863 }
8864 if (obj2) {
d55e5bfc 8865 {
554f62e9
RD
8866 arg3 = &temp3;
8867 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8868 }
554f62e9
RD
8869 }
8870 if (obj3) {
d55e5bfc 8871 {
554f62e9
RD
8872 arg4 = &temp4;
8873 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8874 }
554f62e9
RD
8875 }
8876 if (obj4) {
d55e5bfc 8877 {
554f62e9
RD
8878 if (! PySequence_Check(obj4)) {
8879 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8880 SWIG_fail;
8881 }
8882 arg5 = new wxArrayString;
8883 temp5 = true;
8884 int i, len=PySequence_Length(obj4);
8885 for (i=0; i<len; i++) {
8886 PyObject* item = PySequence_GetItem(obj4, i);
8887 wxString* s = wxString_in_helper(item);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 arg5->Add(*s);
8890 delete s;
8891 Py_DECREF(item);
8892 }
d55e5bfc 8893 }
554f62e9
RD
8894 }
8895 if (obj5) {
8896 ecode6 = SWIG_AsVal_long(obj5, &val6);
8897 if (!SWIG_IsOK(ecode6)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8899 }
8900 arg6 = static_cast< long >(val6);
8901 }
8902 if (obj6) {
8903 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8904 if (!SWIG_IsOK(res7)) {
8905 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8906 }
554f62e9
RD
8907 if (!argp7) {
8908 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8909 }
554f62e9
RD
8910 arg7 = reinterpret_cast< wxValidator * >(argp7);
8911 }
8912 if (obj7) {
d55e5bfc 8913 {
554f62e9
RD
8914 arg8 = wxString_in_helper(obj7);
8915 if (arg8 == NULL) SWIG_fail;
8916 temp8 = true;
d55e5bfc 8917 }
554f62e9
RD
8918 }
8919 {
8920 if (!wxPyCheckForApp()) SWIG_fail;
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8927 {
8928 if (temp5) delete arg5;
8929 }
8930 {
8931 if (temp8)
8932 delete arg8;
8933 }
8934 return resultobj;
8935fail:
8936 {
8937 if (temp5) delete arg5;
8938 }
8939 {
8940 if (temp8)
8941 delete arg8;
8942 }
8943 return NULL;
d55e5bfc
RD
8944}
8945
8946
554f62e9
RD
8947SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8948 PyObject *resultobj = 0;
8949 wxListBox *result = 0 ;
8950
8951 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8952 {
8953 if (!wxPyCheckForApp()) SWIG_fail;
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 result = (wxListBox *)new wxListBox();
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8960 return resultobj;
8961fail:
8962 return NULL;
8963}
8964
8965
8966SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj = 0;
8968 wxListBox *arg1 = (wxListBox *) 0 ;
8969 wxWindow *arg2 = (wxWindow *) 0 ;
8970 int arg3 = (int) -1 ;
8971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8973 wxSize const &arg5_defvalue = wxDefaultSize ;
8974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8975 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8976 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8977 long arg7 = (long) 0 ;
8978 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8979 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8980 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8981 wxString *arg9 = (wxString *) &arg9_defvalue ;
8982 bool result;
8983 void *argp1 = 0 ;
8984 int res1 = 0 ;
8985 void *argp2 = 0 ;
8986 int res2 = 0 ;
8987 int val3 ;
8988 int ecode3 = 0 ;
8989 wxPoint temp4 ;
8990 wxSize temp5 ;
8991 bool temp6 = false ;
8992 long val7 ;
8993 int ecode7 = 0 ;
8994 void *argp8 = 0 ;
8995 int res8 = 0 ;
8996 bool temp9 = false ;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 PyObject * obj2 = 0 ;
9000 PyObject * obj3 = 0 ;
9001 PyObject * obj4 = 0 ;
9002 PyObject * obj5 = 0 ;
9003 PyObject * obj6 = 0 ;
9004 PyObject * obj7 = 0 ;
9005 PyObject * obj8 = 0 ;
9006 char * kwnames[] = {
9007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9008 };
9009
9010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9012 if (!SWIG_IsOK(res1)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9014 }
9015 arg1 = reinterpret_cast< wxListBox * >(argp1);
9016 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9017 if (!SWIG_IsOK(res2)) {
9018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9019 }
9020 arg2 = reinterpret_cast< wxWindow * >(argp2);
9021 if (obj2) {
9022 ecode3 = SWIG_AsVal_int(obj2, &val3);
9023 if (!SWIG_IsOK(ecode3)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9025 }
9026 arg3 = static_cast< int >(val3);
9027 }
9028 if (obj3) {
d55e5bfc 9029 {
554f62e9
RD
9030 arg4 = &temp4;
9031 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9032 }
554f62e9
RD
9033 }
9034 if (obj4) {
d55e5bfc 9035 {
554f62e9
RD
9036 arg5 = &temp5;
9037 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9038 }
554f62e9
RD
9039 }
9040 if (obj5) {
d55e5bfc 9041 {
554f62e9
RD
9042 if (! PySequence_Check(obj5)) {
9043 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9044 SWIG_fail;
9045 }
9046 arg6 = new wxArrayString;
9047 temp6 = true;
9048 int i, len=PySequence_Length(obj5);
9049 for (i=0; i<len; i++) {
9050 PyObject* item = PySequence_GetItem(obj5, i);
9051 wxString* s = wxString_in_helper(item);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 arg6->Add(*s);
9054 delete s;
9055 Py_DECREF(item);
9056 }
d55e5bfc 9057 }
554f62e9
RD
9058 }
9059 if (obj6) {
9060 ecode7 = SWIG_AsVal_long(obj6, &val7);
9061 if (!SWIG_IsOK(ecode7)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9063 }
9064 arg7 = static_cast< long >(val7);
9065 }
9066 if (obj7) {
9067 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9068 if (!SWIG_IsOK(res8)) {
9069 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 9070 }
554f62e9
RD
9071 if (!argp8) {
9072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9073 }
554f62e9
RD
9074 arg8 = reinterpret_cast< wxValidator * >(argp8);
9075 }
9076 if (obj8) {
f20a2e1f 9077 {
554f62e9
RD
9078 arg9 = wxString_in_helper(obj8);
9079 if (arg9 == NULL) SWIG_fail;
9080 temp9 = true;
f20a2e1f 9081 }
554f62e9
RD
9082 }
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
9092 {
9093 if (temp6) delete arg6;
9094 }
9095 {
9096 if (temp9)
9097 delete arg9;
9098 }
9099 return resultobj;
9100fail:
9101 {
9102 if (temp6) delete arg6;
9103 }
9104 {
9105 if (temp9)
9106 delete arg9;
9107 }
9108 return NULL;
9109}
9110
9111
9112SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj = 0;
9114 wxListBox *arg1 = (wxListBox *) 0 ;
9115 wxString *arg2 = 0 ;
9116 int arg3 ;
9117 PyObject *arg4 = (PyObject *) NULL ;
9118 void *argp1 = 0 ;
9119 int res1 = 0 ;
9120 bool temp2 = false ;
9121 int val3 ;
9122 int ecode3 = 0 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 PyObject * obj3 = 0 ;
9127 char * kwnames[] = {
9128 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9129 };
9130
9131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9133 if (!SWIG_IsOK(res1)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9135 }
9136 arg1 = reinterpret_cast< wxListBox * >(argp1);
9137 {
9138 arg2 = wxString_in_helper(obj1);
9139 if (arg2 == NULL) SWIG_fail;
9140 temp2 = true;
9141 }
9142 ecode3 = SWIG_AsVal_int(obj2, &val3);
9143 if (!SWIG_IsOK(ecode3)) {
9144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9145 }
9146 arg3 = static_cast< int >(val3);
9147 if (obj3) {
9148 arg4 = obj3;
9149 }
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_Py_Void();
9157 {
9158 if (temp2)
9159 delete arg2;
9160 }
9161 return resultobj;
9162fail:
9163 {
9164 if (temp2)
9165 delete arg2;
9166 }
9167 return NULL;
9168}
9169
9170
9171SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj = 0;
9173 wxListBox *arg1 = (wxListBox *) 0 ;
9174 wxArrayString *arg2 = 0 ;
50f151d7 9175 unsigned int arg3 ;
554f62e9
RD
9176 void *argp1 = 0 ;
9177 int res1 = 0 ;
9178 bool temp2 = false ;
50f151d7 9179 unsigned int val3 ;
554f62e9
RD
9180 int ecode3 = 0 ;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 PyObject * obj2 = 0 ;
9184 char * kwnames[] = {
9185 (char *) "self",(char *) "items",(char *) "pos", NULL
9186 };
9187
9188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9190 if (!SWIG_IsOK(res1)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9192 }
9193 arg1 = reinterpret_cast< wxListBox * >(argp1);
9194 {
9195 if (! PySequence_Check(obj1)) {
9196 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9197 SWIG_fail;
9198 }
9199 arg2 = new wxArrayString;
9200 temp2 = true;
9201 int i, len=PySequence_Length(obj1);
9202 for (i=0; i<len; i++) {
9203 PyObject* item = PySequence_GetItem(obj1, i);
9204 wxString* s = wxString_in_helper(item);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 arg2->Add(*s);
9207 delete s;
9208 Py_DECREF(item);
f20a2e1f 9209 }
554f62e9 9210 }
50f151d7 9211 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
554f62e9 9212 if (!SWIG_IsOK(ecode3)) {
50f151d7 9213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
554f62e9 9214 }
50f151d7 9215 arg3 = static_cast< unsigned int >(val3);
554f62e9
RD
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = SWIG_Py_Void();
9223 {
9224 if (temp2) delete arg2;
9225 }
9226 return resultobj;
9227fail:
9228 {
9229 if (temp2) delete arg2;
9230 }
9231 return NULL;
f20a2e1f
RD
9232}
9233
9234
554f62e9
RD
9235SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj = 0;
9237 wxListBox *arg1 = (wxListBox *) 0 ;
9238 wxArrayString *arg2 = 0 ;
9239 void *argp1 = 0 ;
9240 int res1 = 0 ;
9241 bool temp2 = false ;
9242 PyObject * obj0 = 0 ;
9243 PyObject * obj1 = 0 ;
9244 char * kwnames[] = {
9245 (char *) "self",(char *) "items", NULL
9246 };
9247
9248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9250 if (!SWIG_IsOK(res1)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9252 }
9253 arg1 = reinterpret_cast< wxListBox * >(argp1);
9254 {
9255 if (! PySequence_Check(obj1)) {
9256 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9257 SWIG_fail;
9258 }
9259 arg2 = new wxArrayString;
9260 temp2 = true;
9261 int i, len=PySequence_Length(obj1);
9262 for (i=0; i<len; i++) {
9263 PyObject* item = PySequence_GetItem(obj1, i);
9264 wxString* s = wxString_in_helper(item);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 arg2->Add(*s);
9267 delete s;
9268 Py_DECREF(item);
d55e5bfc 9269 }
554f62e9
RD
9270 }
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 (arg1)->Set((wxArrayString const &)*arg2);
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = SWIG_Py_Void();
9278 {
9279 if (temp2) delete arg2;
9280 }
9281 return resultobj;
9282fail:
9283 {
9284 if (temp2) delete arg2;
9285 }
9286 return NULL;
9287}
9288
9289
9290SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj = 0;
9292 wxListBox *arg1 = (wxListBox *) 0 ;
9293 int arg2 ;
9294 bool result;
9295 void *argp1 = 0 ;
9296 int res1 = 0 ;
9297 int val2 ;
9298 int ecode2 = 0 ;
9299 PyObject * obj0 = 0 ;
9300 PyObject * obj1 = 0 ;
9301 char * kwnames[] = {
9302 (char *) "self",(char *) "n", NULL
9303 };
9304
9305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9307 if (!SWIG_IsOK(res1)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9309 }
9310 arg1 = reinterpret_cast< wxListBox * >(argp1);
9311 ecode2 = SWIG_AsVal_int(obj1, &val2);
9312 if (!SWIG_IsOK(ecode2)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9314 }
9315 arg2 = static_cast< int >(val2);
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 {
9323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9324 }
9325 return resultobj;
9326fail:
9327 return NULL;
9328}
9329
9330
9331SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj = 0;
9333 wxListBox *arg1 = (wxListBox *) 0 ;
9334 int arg2 ;
9335 bool arg3 = (bool) true ;
9336 void *argp1 = 0 ;
9337 int res1 = 0 ;
9338 int val2 ;
9339 int ecode2 = 0 ;
9340 bool val3 ;
9341 int ecode3 = 0 ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 PyObject * obj2 = 0 ;
9345 char * kwnames[] = {
9346 (char *) "self",(char *) "n",(char *) "select", NULL
9347 };
9348
9349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9351 if (!SWIG_IsOK(res1)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 }
9354 arg1 = reinterpret_cast< wxListBox * >(argp1);
9355 ecode2 = SWIG_AsVal_int(obj1, &val2);
9356 if (!SWIG_IsOK(ecode2)) {
9357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9358 }
9359 arg2 = static_cast< int >(val2);
9360 if (obj2) {
9361 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9362 if (!SWIG_IsOK(ecode3)) {
9363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9364 }
9365 arg3 = static_cast< bool >(val3);
9366 }
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 (arg1)->SetSelection(arg2,arg3);
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 resultobj = SWIG_Py_Void();
9374 return resultobj;
9375fail:
9376 return NULL;
9377}
9378
9379
9380SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj = 0;
9382 wxListBox *arg1 = (wxListBox *) 0 ;
9383 int arg2 ;
9384 void *argp1 = 0 ;
9385 int res1 = 0 ;
9386 int val2 ;
9387 int ecode2 = 0 ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char * kwnames[] = {
9391 (char *) "self",(char *) "n", NULL
9392 };
9393
9394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9396 if (!SWIG_IsOK(res1)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9398 }
9399 arg1 = reinterpret_cast< wxListBox * >(argp1);
9400 ecode2 = SWIG_AsVal_int(obj1, &val2);
9401 if (!SWIG_IsOK(ecode2)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9403 }
9404 arg2 = static_cast< int >(val2);
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 (arg1)->Select(arg2);
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 resultobj = SWIG_Py_Void();
9412 return resultobj;
9413fail:
9414 return NULL;
9415}
9416
9417
9418SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj = 0;
9420 wxListBox *arg1 = (wxListBox *) 0 ;
9421 int arg2 ;
9422 void *argp1 = 0 ;
9423 int res1 = 0 ;
9424 int val2 ;
9425 int ecode2 = 0 ;
9426 PyObject * obj0 = 0 ;
9427 PyObject * obj1 = 0 ;
9428 char * kwnames[] = {
9429 (char *) "self",(char *) "n", NULL
9430 };
9431
9432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9434 if (!SWIG_IsOK(res1)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9436 }
9437 arg1 = reinterpret_cast< wxListBox * >(argp1);
9438 ecode2 = SWIG_AsVal_int(obj1, &val2);
9439 if (!SWIG_IsOK(ecode2)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9441 }
9442 arg2 = static_cast< int >(val2);
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 (arg1)->Deselect(arg2);
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_Py_Void();
9450 return resultobj;
9451fail:
9452 return NULL;
9453}
9454
9455
9456SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj = 0;
9458 wxListBox *arg1 = (wxListBox *) 0 ;
9459 int arg2 = (int) -1 ;
9460 void *argp1 = 0 ;
9461 int res1 = 0 ;
9462 int val2 ;
9463 int ecode2 = 0 ;
9464 PyObject * obj0 = 0 ;
9465 PyObject * obj1 = 0 ;
9466 char * kwnames[] = {
9467 (char *) "self",(char *) "itemToLeaveSelected", NULL
9468 };
9469
9470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9472 if (!SWIG_IsOK(res1)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9474 }
9475 arg1 = reinterpret_cast< wxListBox * >(argp1);
9476 if (obj1) {
9477 ecode2 = SWIG_AsVal_int(obj1, &val2);
9478 if (!SWIG_IsOK(ecode2)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9480 }
9481 arg2 = static_cast< int >(val2);
9482 }
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 (arg1)->DeselectAll(arg2);
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 resultobj = SWIG_Py_Void();
9490 return resultobj;
9491fail:
9492 return NULL;
9493}
9494
9495
9496SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = 0;
9498 wxListBox *arg1 = (wxListBox *) 0 ;
9499 wxString *arg2 = 0 ;
9500 bool arg3 = (bool) true ;
9501 bool result;
9502 void *argp1 = 0 ;
9503 int res1 = 0 ;
9504 bool temp2 = false ;
9505 bool val3 ;
9506 int ecode3 = 0 ;
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
9509 PyObject * obj2 = 0 ;
9510 char * kwnames[] = {
9511 (char *) "self",(char *) "s",(char *) "select", NULL
9512 };
9513
9514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9516 if (!SWIG_IsOK(res1)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 }
9519 arg1 = reinterpret_cast< wxListBox * >(argp1);
9520 {
9521 arg2 = wxString_in_helper(obj1);
9522 if (arg2 == NULL) SWIG_fail;
9523 temp2 = true;
9524 }
9525 if (obj2) {
9526 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9527 if (!SWIG_IsOK(ecode3)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9529 }
9530 arg3 = static_cast< bool >(val3);
9531 }
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 {
9539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9540 }
9541 {
9542 if (temp2)
9543 delete arg2;
9544 }
9545 return resultobj;
9546fail:
9547 {
9548 if (temp2)
9549 delete arg2;
9550 }
9551 return NULL;
d55e5bfc
RD
9552}
9553
9554
554f62e9
RD
9555SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9556 PyObject *resultobj = 0;
9557 wxListBox *arg1 = (wxListBox *) 0 ;
9558 PyObject *result = 0 ;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 PyObject *swig_obj[1] ;
9562
9563 if (!args) SWIG_fail;
9564 swig_obj[0] = args;
9565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9566 if (!SWIG_IsOK(res1)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9568 }
9569 arg1 = reinterpret_cast< wxListBox * >(argp1);
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (PyObject *)wxListBox_GetSelections(arg1);
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 resultobj = result;
9577 return resultobj;
9578fail:
9579 return NULL;
9580}
9581
9582
9583SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj = 0;
9585 wxListBox *arg1 = (wxListBox *) 0 ;
9586 int arg2 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 int val2 ;
9590 int ecode2 = 0 ;
9591 PyObject * obj0 = 0 ;
9592 PyObject * obj1 = 0 ;
9593 char * kwnames[] = {
9594 (char *) "self",(char *) "n", NULL
9595 };
9596
9597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9599 if (!SWIG_IsOK(res1)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9601 }
9602 arg1 = reinterpret_cast< wxListBox * >(argp1);
9603 ecode2 = SWIG_AsVal_int(obj1, &val2);
9604 if (!SWIG_IsOK(ecode2)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9606 }
9607 arg2 = static_cast< int >(val2);
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 (arg1)->SetFirstItem(arg2);
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 resultobj = SWIG_Py_Void();
9615 return resultobj;
9616fail:
9617 return NULL;
9618}
9619
9620
9621SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj = 0;
9623 wxListBox *arg1 = (wxListBox *) 0 ;
9624 wxString *arg2 = 0 ;
9625 void *argp1 = 0 ;
9626 int res1 = 0 ;
9627 bool temp2 = false ;
9628 PyObject * obj0 = 0 ;
9629 PyObject * obj1 = 0 ;
9630 char * kwnames[] = {
9631 (char *) "self",(char *) "s", NULL
9632 };
9633
9634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9636 if (!SWIG_IsOK(res1)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 }
9639 arg1 = reinterpret_cast< wxListBox * >(argp1);
9640 {
9641 arg2 = wxString_in_helper(obj1);
9642 if (arg2 == NULL) SWIG_fail;
9643 temp2 = true;
9644 }
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 (arg1)->SetFirstItem((wxString const &)*arg2);
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 resultobj = SWIG_Py_Void();
9652 {
9653 if (temp2)
9654 delete arg2;
9655 }
9656 return resultobj;
9657fail:
9658 {
9659 if (temp2)
9660 delete arg2;
9661 }
9662 return NULL;
9663}
9664
9665
9666SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj = 0;
9668 wxListBox *arg1 = (wxListBox *) 0 ;
9669 int arg2 ;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 int val2 ;
9673 int ecode2 = 0 ;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 char * kwnames[] = {
9677 (char *) "self",(char *) "n", NULL
9678 };
9679
9680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9682 if (!SWIG_IsOK(res1)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9684 }
9685 arg1 = reinterpret_cast< wxListBox * >(argp1);
9686 ecode2 = SWIG_AsVal_int(obj1, &val2);
9687 if (!SWIG_IsOK(ecode2)) {
9688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9689 }
9690 arg2 = static_cast< int >(val2);
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 (arg1)->EnsureVisible(arg2);
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 resultobj = SWIG_Py_Void();
9698 return resultobj;
9699fail:
9700 return NULL;
9701}
9702
9703
9704SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj = 0;
9706 wxListBox *arg1 = (wxListBox *) 0 ;
9707 wxString *arg2 = 0 ;
9708 void *argp1 = 0 ;
9709 int res1 = 0 ;
9710 bool temp2 = false ;
9711 PyObject * obj0 = 0 ;
9712 PyObject * obj1 = 0 ;
9713 char * kwnames[] = {
9714 (char *) "self",(char *) "s", NULL
9715 };
9716
9717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9721 }
9722 arg1 = reinterpret_cast< wxListBox * >(argp1);
9723 {
9724 arg2 = wxString_in_helper(obj1);
9725 if (arg2 == NULL) SWIG_fail;
9726 temp2 = true;
9727 }
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_Py_Void();
9735 {
9736 if (temp2)
9737 delete arg2;
9738 }
9739 return resultobj;
9740fail:
9741 {
9742 if (temp2)
9743 delete arg2;
9744 }
9745 return NULL;
d55e5bfc
RD
9746}
9747
9748
554f62e9
RD
9749SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9750 PyObject *resultobj = 0;
9751 wxListBox *arg1 = (wxListBox *) 0 ;
9752 bool result;
9753 void *argp1 = 0 ;
9754 int res1 = 0 ;
9755 PyObject *swig_obj[1] ;
9756
9757 if (!args) SWIG_fail;
9758 swig_obj[0] = args;
9759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9760 if (!SWIG_IsOK(res1)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9762 }
9763 arg1 = reinterpret_cast< wxListBox * >(argp1);
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (bool)((wxListBox const *)arg1)->IsSorted();
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 {
9771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9772 }
9773 return resultobj;
9774fail:
9775 return NULL;
9776}
9777
9778
9779SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj = 0;
9781 wxListBox *arg1 = (wxListBox *) 0 ;
9782 wxPoint *arg2 = 0 ;
9783 int result;
9784 void *argp1 = 0 ;
9785 int res1 = 0 ;
9786 wxPoint temp2 ;
9787 PyObject * obj0 = 0 ;
9788 PyObject * obj1 = 0 ;
9789 char * kwnames[] = {
9790 (char *) "self",(char *) "pt", NULL
9791 };
9792
9793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9795 if (!SWIG_IsOK(res1)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9797 }
9798 arg1 = reinterpret_cast< wxListBox * >(argp1);
9799 {
9800 arg2 = &temp2;
9801 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9802 }
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 resultobj = SWIG_From_int(static_cast< int >(result));
9810 return resultobj;
9811fail:
9812 return NULL;
9813}
9814
9815
9816SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj = 0;
9818 wxListBox *arg1 = (wxListBox *) 0 ;
9819 int arg2 ;
9820 wxColour *arg3 = 0 ;
9821 void *argp1 = 0 ;
9822 int res1 = 0 ;
9823 int val2 ;
9824 int ecode2 = 0 ;
9825 wxColour temp3 ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 char * kwnames[] = {
9830 (char *) "self",(char *) "item",(char *) "c", NULL
9831 };
9832
9833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9835 if (!SWIG_IsOK(res1)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9837 }
9838 arg1 = reinterpret_cast< wxListBox * >(argp1);
9839 ecode2 = SWIG_AsVal_int(obj1, &val2);
9840 if (!SWIG_IsOK(ecode2)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9842 }
9843 arg2 = static_cast< int >(val2);
9844 {
9845 arg3 = &temp3;
9846 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_Py_Void();
9855 return resultobj;
9856fail:
9857 return NULL;
9858}
9859
9860
9861SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxListBox *arg1 = (wxListBox *) 0 ;
9864 int arg2 ;
9865 wxColour *arg3 = 0 ;
9866 void *argp1 = 0 ;
9867 int res1 = 0 ;
9868 int val2 ;
9869 int ecode2 = 0 ;
9870 wxColour temp3 ;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 PyObject * obj2 = 0 ;
9874 char * kwnames[] = {
9875 (char *) "self",(char *) "item",(char *) "c", NULL
9876 };
9877
9878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9882 }
9883 arg1 = reinterpret_cast< wxListBox * >(argp1);
9884 ecode2 = SWIG_AsVal_int(obj1, &val2);
9885 if (!SWIG_IsOK(ecode2)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9887 }
9888 arg2 = static_cast< int >(val2);
9889 {
9890 arg3 = &temp3;
9891 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9892 }
9893 {
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 resultobj = SWIG_Py_Void();
9900 return resultobj;
9901fail:
9902 return NULL;
9903}
9904
9905
9906SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj = 0;
9908 wxListBox *arg1 = (wxListBox *) 0 ;
9909 int arg2 ;
9910 wxFont *arg3 = 0 ;
9911 void *argp1 = 0 ;
9912 int res1 = 0 ;
9913 int val2 ;
9914 int ecode2 = 0 ;
9915 void *argp3 = 0 ;
9916 int res3 = 0 ;
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 PyObject * obj2 = 0 ;
9920 char * kwnames[] = {
9921 (char *) "self",(char *) "item",(char *) "f", NULL
9922 };
9923
9924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9926 if (!SWIG_IsOK(res1)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9928 }
9929 arg1 = reinterpret_cast< wxListBox * >(argp1);
9930 ecode2 = SWIG_AsVal_int(obj1, &val2);
9931 if (!SWIG_IsOK(ecode2)) {
9932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9933 }
9934 arg2 = static_cast< int >(val2);
9935 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9936 if (!SWIG_IsOK(res3)) {
9937 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9938 }
9939 if (!argp3) {
9940 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 }
9942 arg3 = reinterpret_cast< wxFont * >(argp3);
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 resultobj = SWIG_Py_Void();
9950 return resultobj;
9951fail:
9952 return NULL;
9953}
9954
9955
9956SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj = 0;
9958 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9959 SwigValueWrapper<wxVisualAttributes > result;
9960 int val1 ;
9961 int ecode1 = 0 ;
9962 PyObject * obj0 = 0 ;
9963 char * kwnames[] = {
9964 (char *) "variant", NULL
9965 };
9966
9967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9968 if (obj0) {
9969 ecode1 = SWIG_AsVal_int(obj0, &val1);
9970 if (!SWIG_IsOK(ecode1)) {
9971 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9972 }
9973 arg1 = static_cast< wxWindowVariant >(val1);
9974 }
9975 {
9976 if (!wxPyCheckForApp()) SWIG_fail;
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = wxListBox::GetClassDefaultAttributes(arg1);
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9983 return resultobj;
9984fail:
9985 return NULL;
9986}
9987
9988
9989SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9990 PyObject *obj;
9991 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9992 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9993 return SWIG_Py_Void();
9994}
9995
9996SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9997 return SWIG_Python_InitShadowInstance(args);
9998}
9999
10000SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj = 0;
10002 wxWindow *arg1 = (wxWindow *) 0 ;
10003 int arg2 = (int) -1 ;
10004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10006 wxSize const &arg4_defvalue = wxDefaultSize ;
10007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10008 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10009 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10010 long arg6 = (long) 0 ;
10011 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10012 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10013 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10014 wxString *arg8 = (wxString *) &arg8_defvalue ;
10015 wxCheckListBox *result = 0 ;
10016 void *argp1 = 0 ;
10017 int res1 = 0 ;
10018 int val2 ;
10019 int ecode2 = 0 ;
10020 wxPoint temp3 ;
10021 wxSize temp4 ;
10022 bool temp5 = false ;
10023 long val6 ;
10024 int ecode6 = 0 ;
10025 void *argp7 = 0 ;
10026 int res7 = 0 ;
10027 bool temp8 = false ;
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 PyObject * obj2 = 0 ;
10031 PyObject * obj3 = 0 ;
10032 PyObject * obj4 = 0 ;
10033 PyObject * obj5 = 0 ;
10034 PyObject * obj6 = 0 ;
10035 PyObject * obj7 = 0 ;
10036 char * kwnames[] = {
10037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10038 };
10039
10040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10042 if (!SWIG_IsOK(res1)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10044 }
10045 arg1 = reinterpret_cast< wxWindow * >(argp1);
10046 if (obj1) {
10047 ecode2 = SWIG_AsVal_int(obj1, &val2);
10048 if (!SWIG_IsOK(ecode2)) {
10049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10050 }
10051 arg2 = static_cast< int >(val2);
10052 }
10053 if (obj2) {
d55e5bfc 10054 {
554f62e9
RD
10055 arg3 = &temp3;
10056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10057 }
554f62e9
RD
10058 }
10059 if (obj3) {
d55e5bfc 10060 {
554f62e9
RD
10061 arg4 = &temp4;
10062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10063 }
554f62e9
RD
10064 }
10065 if (obj4) {
d55e5bfc 10066 {
554f62e9
RD
10067 if (! PySequence_Check(obj4)) {
10068 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10069 SWIG_fail;
10070 }
10071 arg5 = new wxArrayString;
10072 temp5 = true;
10073 int i, len=PySequence_Length(obj4);
10074 for (i=0; i<len; i++) {
10075 PyObject* item = PySequence_GetItem(obj4, i);
10076 wxString* s = wxString_in_helper(item);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 arg5->Add(*s);
10079 delete s;
10080 Py_DECREF(item);
10081 }
d55e5bfc 10082 }
554f62e9
RD
10083 }
10084 if (obj5) {
10085 ecode6 = SWIG_AsVal_long(obj5, &val6);
10086 if (!SWIG_IsOK(ecode6)) {
10087 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10088 }
10089 arg6 = static_cast< long >(val6);
10090 }
10091 if (obj6) {
10092 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10093 if (!SWIG_IsOK(res7)) {
10094 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10095 }
554f62e9
RD
10096 if (!argp7) {
10097 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10098 }
554f62e9
RD
10099 arg7 = reinterpret_cast< wxValidator * >(argp7);
10100 }
10101 if (obj7) {
093d3ff1 10102 {
554f62e9
RD
10103 arg8 = wxString_in_helper(obj7);
10104 if (arg8 == NULL) SWIG_fail;
10105 temp8 = true;
093d3ff1 10106 }
554f62e9
RD
10107 }
10108 {
10109 if (!wxPyCheckForApp()) SWIG_fail;
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10116 {
10117 if (temp5) delete arg5;
10118 }
10119 {
10120 if (temp8)
10121 delete arg8;
10122 }
10123 return resultobj;
10124fail:
10125 {
10126 if (temp5) delete arg5;
10127 }
10128 {
10129 if (temp8)
10130 delete arg8;
10131 }
10132 return NULL;
d55e5bfc
RD
10133}
10134
10135
554f62e9
RD
10136SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10137 PyObject *resultobj = 0;
10138 wxCheckListBox *result = 0 ;
10139
10140 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10141 {
10142 if (!wxPyCheckForApp()) SWIG_fail;
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 result = (wxCheckListBox *)new wxCheckListBox();
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10149 return resultobj;
10150fail:
10151 return NULL;
10152}
10153
10154
10155SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj = 0;
10157 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10158 wxWindow *arg2 = (wxWindow *) 0 ;
10159 int arg3 = (int) -1 ;
10160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10162 wxSize const &arg5_defvalue = wxDefaultSize ;
10163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10164 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10165 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10166 long arg7 = (long) 0 ;
10167 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10168 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10169 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10170 wxString *arg9 = (wxString *) &arg9_defvalue ;
10171 bool result;
10172 void *argp1 = 0 ;
10173 int res1 = 0 ;
10174 void *argp2 = 0 ;
10175 int res2 = 0 ;
10176 int val3 ;
10177 int ecode3 = 0 ;
10178 wxPoint temp4 ;
10179 wxSize temp5 ;
10180 bool temp6 = false ;
10181 long val7 ;
10182 int ecode7 = 0 ;
10183 void *argp8 = 0 ;
10184 int res8 = 0 ;
10185 bool temp9 = false ;
10186 PyObject * obj0 = 0 ;
10187 PyObject * obj1 = 0 ;
10188 PyObject * obj2 = 0 ;
10189 PyObject * obj3 = 0 ;
10190 PyObject * obj4 = 0 ;
10191 PyObject * obj5 = 0 ;
10192 PyObject * obj6 = 0 ;
10193 PyObject * obj7 = 0 ;
10194 PyObject * obj8 = 0 ;
10195 char * kwnames[] = {
10196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10197 };
10198
10199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10201 if (!SWIG_IsOK(res1)) {
10202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10203 }
10204 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10205 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10206 if (!SWIG_IsOK(res2)) {
10207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10208 }
10209 arg2 = reinterpret_cast< wxWindow * >(argp2);
10210 if (obj2) {
10211 ecode3 = SWIG_AsVal_int(obj2, &val3);
10212 if (!SWIG_IsOK(ecode3)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10214 }
10215 arg3 = static_cast< int >(val3);
10216 }
10217 if (obj3) {
f20a2e1f 10218 {
554f62e9
RD
10219 arg4 = &temp4;
10220 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10221 }
554f62e9
RD
10222 }
10223 if (obj4) {
d55e5bfc 10224 {
554f62e9
RD
10225 arg5 = &temp5;
10226 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10227 }
554f62e9
RD
10228 }
10229 if (obj5) {
d55e5bfc 10230 {
554f62e9
RD
10231 if (! PySequence_Check(obj5)) {
10232 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10233 SWIG_fail;
10234 }
10235 arg6 = new wxArrayString;
10236 temp6 = true;
10237 int i, len=PySequence_Length(obj5);
10238 for (i=0; i<len; i++) {
10239 PyObject* item = PySequence_GetItem(obj5, i);
10240 wxString* s = wxString_in_helper(item);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 arg6->Add(*s);
10243 delete s;
10244 Py_DECREF(item);
10245 }
d55e5bfc 10246 }
554f62e9
RD
10247 }
10248 if (obj6) {
10249 ecode7 = SWIG_AsVal_long(obj6, &val7);
10250 if (!SWIG_IsOK(ecode7)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10252 }
10253 arg7 = static_cast< long >(val7);
10254 }
10255 if (obj7) {
10256 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10257 if (!SWIG_IsOK(res8)) {
10258 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10259 }
554f62e9
RD
10260 if (!argp8) {
10261 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10262 }
554f62e9
RD
10263 arg8 = reinterpret_cast< wxValidator * >(argp8);
10264 }
10265 if (obj8) {
d55e5bfc 10266 {
554f62e9
RD
10267 arg9 = wxString_in_helper(obj8);
10268 if (arg9 == NULL) SWIG_fail;
10269 temp9 = true;
d55e5bfc 10270 }
554f62e9
RD
10271 }
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 {
10279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10280 }
10281 {
10282 if (temp6) delete arg6;
10283 }
10284 {
10285 if (temp9)
10286 delete arg9;
10287 }
10288 return resultobj;
10289fail:
10290 {
10291 if (temp6) delete arg6;
10292 }
10293 {
10294 if (temp9)
10295 delete arg9;
10296 }
10297 return NULL;
10298}
10299
10300
10301SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10302 PyObject *resultobj = 0;
10303 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10304 unsigned int arg2 ;
554f62e9
RD
10305 bool result;
10306 void *argp1 = 0 ;
10307 int res1 = 0 ;
50f151d7 10308 unsigned int val2 ;
554f62e9
RD
10309 int ecode2 = 0 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char * kwnames[] = {
10313 (char *) "self",(char *) "index", NULL
10314 };
10315
10316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10320 }
10321 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10322 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10323 if (!SWIG_IsOK(ecode2)) {
50f151d7 10324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10325 }
50f151d7 10326 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = (bool)(arg1)->IsChecked(arg2);
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10335 }
10336 return resultobj;
10337fail:
10338 return NULL;
10339}
10340
10341
10342SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj = 0;
10344 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10345 unsigned int arg2 ;
554f62e9
RD
10346 int arg3 = (int) true ;
10347 void *argp1 = 0 ;
10348 int res1 = 0 ;
50f151d7 10349 unsigned int val2 ;
554f62e9
RD
10350 int ecode2 = 0 ;
10351 int val3 ;
10352 int ecode3 = 0 ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 PyObject * obj2 = 0 ;
10356 char * kwnames[] = {
10357 (char *) "self",(char *) "index",(char *) "check", NULL
10358 };
10359
10360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10362 if (!SWIG_IsOK(res1)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10364 }
10365 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10366 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10367 if (!SWIG_IsOK(ecode2)) {
50f151d7 10368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10369 }
50f151d7 10370 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10371 if (obj2) {
10372 ecode3 = SWIG_AsVal_int(obj2, &val3);
10373 if (!SWIG_IsOK(ecode3)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10375 }
10376 arg3 = static_cast< int >(val3);
10377 }
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->Check(arg2,arg3);
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_Py_Void();
10385 return resultobj;
10386fail:
10387 return NULL;
d55e5bfc
RD
10388}
10389
10390
554f62e9
RD
10391SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10392 PyObject *resultobj = 0;
10393 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10394 int result;
10395 void *argp1 = 0 ;
10396 int res1 = 0 ;
10397 PyObject *swig_obj[1] ;
10398
10399 if (!args) SWIG_fail;
10400 swig_obj[0] = args;
10401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10402 if (!SWIG_IsOK(res1)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10404 }
10405 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (int)(arg1)->GetItemHeight();
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_From_int(static_cast< int >(result));
10413 return resultobj;
10414fail:
10415 return NULL;
d55e5bfc
RD
10416}
10417
10418
554f62e9
RD
10419SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10420 PyObject *obj;
10421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10422 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10423 return SWIG_Py_Void();
d55e5bfc
RD
10424}
10425
554f62e9
RD
10426SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10427 return SWIG_Python_InitShadowInstance(args);
9d7dfdff
RD
10428}
10429
554f62e9
RD
10430SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10431 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10432 return 1;
f20a2e1f
RD
10433}
10434
10435
554f62e9
RD
10436SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10437 PyObject *pyobj = 0;
10438
10439 {
10440#if wxUSE_UNICODE
10441 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10442#else
10443 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10444#endif
10445 }
10446 return pyobj;
10447}
10448
10449
10450SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj = 0;
10452 wxColour const &arg1_defvalue = wxNullColour ;
10453 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10454 wxColour const &arg2_defvalue = wxNullColour ;
10455 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10456 wxFont const &arg3_defvalue = wxNullFont ;
10457 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10458 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10459 wxTextAttr *result = 0 ;
10460 wxColour temp1 ;
10461 wxColour temp2 ;
10462 void *argp3 = 0 ;
10463 int res3 = 0 ;
10464 int val4 ;
10465 int ecode4 = 0 ;
10466 PyObject * obj0 = 0 ;
10467 PyObject * obj1 = 0 ;
10468 PyObject * obj2 = 0 ;
10469 PyObject * obj3 = 0 ;
10470 char * kwnames[] = {
10471 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10472 };
10473
10474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10475 if (obj0) {
d55e5bfc 10476 {
554f62e9
RD
10477 arg1 = &temp1;
10478 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10479 }
554f62e9
RD
10480 }
10481 if (obj1) {
d55e5bfc 10482 {
554f62e9
RD
10483 arg2 = &temp2;
10484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10485 }
554f62e9
RD
10486 }
10487 if (obj2) {
10488 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10489 if (!SWIG_IsOK(res3)) {
10490 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10491 }
554f62e9
RD
10492 if (!argp3) {
10493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10494 }
10495 arg3 = reinterpret_cast< wxFont * >(argp3);
10496 }
10497 if (obj3) {
10498 ecode4 = SWIG_AsVal_int(obj3, &val4);
10499 if (!SWIG_IsOK(ecode4)) {
10500 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10501 }
10502 arg4 = static_cast< wxTextAttrAlignment >(val4);
10503 }
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10511 return resultobj;
10512fail:
10513 return NULL;
d55e5bfc
RD
10514}
10515
10516
554f62e9
RD
10517SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10518 PyObject *resultobj = 0;
10519 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 PyObject *swig_obj[1] ;
10523
10524 if (!args) SWIG_fail;
10525 swig_obj[0] = args;
10526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10529 }
10530 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 delete arg1;
d55e5bfc 10534
554f62e9
RD
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_Py_Void();
10539 return resultobj;
10540fail:
10541 return NULL;
d55e5bfc
RD
10542}
10543
10544
554f62e9
RD
10545SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 }
10558 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 (arg1)->Init();
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_Py_Void();
10566 return resultobj;
10567fail:
10568 return NULL;
10569}
10570
10571
f460c29d
RD
10572SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj = 0;
10574 wxTextAttr *arg1 = 0 ;
10575 wxTextAttr *arg2 = 0 ;
10576 wxTextAttr result;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 void *argp2 = 0 ;
10580 int res2 = 0 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char * kwnames[] = {
10584 (char *) "base",(char *) "overlay", NULL
10585 };
10586
10587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10588 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10589 if (!SWIG_IsOK(res1)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10591 }
10592 if (!argp1) {
10593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10594 }
10595 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10596 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10597 if (!SWIG_IsOK(res2)) {
10598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10599 }
10600 if (!argp2) {
10601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10602 }
10603 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10611 return resultobj;
10612fail:
10613 return NULL;
10614}
10615
10616
554f62e9
RD
10617SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = 0;
10619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10620 wxColour *arg2 = 0 ;
10621 void *argp1 = 0 ;
10622 int res1 = 0 ;
10623 wxColour temp2 ;
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 char * kwnames[] = {
10627 (char *) "self",(char *) "colText", NULL
10628 };
10629
10630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10632 if (!SWIG_IsOK(res1)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10634 }
10635 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10636 {
10637 arg2 = &temp2;
10638 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->SetTextColour((wxColour const &)*arg2);
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 resultobj = SWIG_Py_Void();
10647 return resultobj;
10648fail:
10649 return NULL;
10650}
10651
10652
10653SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj = 0;
10655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10656 wxColour *arg2 = 0 ;
10657 void *argp1 = 0 ;
10658 int res1 = 0 ;
10659 wxColour temp2 ;
10660 PyObject * obj0 = 0 ;
10661 PyObject * obj1 = 0 ;
10662 char * kwnames[] = {
10663 (char *) "self",(char *) "colBack", NULL
10664 };
10665
10666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10668 if (!SWIG_IsOK(res1)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10670 }
10671 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10672 {
10673 arg2 = &temp2;
10674 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10675 }
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 resultobj = SWIG_Py_Void();
10683 return resultobj;
10684fail:
10685 return NULL;
10686}
10687
10688
10689SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj = 0;
10691 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10692 wxFont *arg2 = 0 ;
10693 long arg3 = (long) wxTEXT_ATTR_FONT ;
10694 void *argp1 = 0 ;
10695 int res1 = 0 ;
10696 void *argp2 = 0 ;
10697 int res2 = 0 ;
10698 long val3 ;
10699 int ecode3 = 0 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 PyObject * obj2 = 0 ;
10703 char * kwnames[] = {
10704 (char *) "self",(char *) "font",(char *) "flags", NULL
10705 };
10706
10707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10709 if (!SWIG_IsOK(res1)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10711 }
10712 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10714 if (!SWIG_IsOK(res2)) {
10715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10716 }
10717 if (!argp2) {
10718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10719 }
10720 arg2 = reinterpret_cast< wxFont * >(argp2);
10721 if (obj2) {
10722 ecode3 = SWIG_AsVal_long(obj2, &val3);
10723 if (!SWIG_IsOK(ecode3)) {
10724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10725 }
10726 arg3 = static_cast< long >(val3);
10727 }
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 resultobj = SWIG_Py_Void();
10735 return resultobj;
10736fail:
10737 return NULL;
10738}
10739
10740
10741SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj = 0;
10743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10744 wxTextAttrAlignment arg2 ;
10745 void *argp1 = 0 ;
10746 int res1 = 0 ;
10747 int val2 ;
10748 int ecode2 = 0 ;
10749 PyObject * obj0 = 0 ;
10750 PyObject * obj1 = 0 ;
10751 char * kwnames[] = {
10752 (char *) "self",(char *) "alignment", NULL
10753 };
10754
10755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10757 if (!SWIG_IsOK(res1)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10759 }
10760 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10761 ecode2 = SWIG_AsVal_int(obj1, &val2);
10762 if (!SWIG_IsOK(ecode2)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10764 }
10765 arg2 = static_cast< wxTextAttrAlignment >(val2);
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 (arg1)->SetAlignment(arg2);
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 resultobj = SWIG_Py_Void();
10773 return resultobj;
10774fail:
10775 return NULL;
10776}
10777
10778
10779SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj = 0;
10781 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10782 wxArrayInt *arg2 = 0 ;
10783 void *argp1 = 0 ;
10784 int res1 = 0 ;
10785 bool temp2 = false ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 char * kwnames[] = {
10789 (char *) "self",(char *) "tabs", NULL
10790 };
10791
10792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10796 }
10797 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10798 {
10799 if (! PySequence_Check(obj1)) {
10800 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10801 SWIG_fail;
10802 }
10803 arg2 = new wxArrayInt;
10804 temp2 = true;
10805 int i, len=PySequence_Length(obj1);
10806 for (i=0; i<len; i++) {
10807 PyObject* item = PySequence_GetItem(obj1, i);
10808 PyObject* number = PyNumber_Int(item);
10809 arg2->Add(PyInt_AS_LONG(number));
10810 Py_DECREF(item);
10811 Py_DECREF(number);
d55e5bfc 10812 }
554f62e9
RD
10813 }
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 resultobj = SWIG_Py_Void();
10821 {
10822 if (temp2) delete arg2;
10823 }
10824 return resultobj;
10825fail:
10826 {
10827 if (temp2) delete arg2;
10828 }
10829 return NULL;
10830}
10831
10832
10833SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj = 0;
10835 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10836 int arg2 ;
10837 int arg3 = (int) 0 ;
10838 void *argp1 = 0 ;
10839 int res1 = 0 ;
10840 int val2 ;
10841 int ecode2 = 0 ;
10842 int val3 ;
10843 int ecode3 = 0 ;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 PyObject * obj2 = 0 ;
10847 char * kwnames[] = {
10848 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10849 };
10850
10851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10853 if (!SWIG_IsOK(res1)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10855 }
10856 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10857 ecode2 = SWIG_AsVal_int(obj1, &val2);
10858 if (!SWIG_IsOK(ecode2)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10860 }
10861 arg2 = static_cast< int >(val2);
10862 if (obj2) {
10863 ecode3 = SWIG_AsVal_int(obj2, &val3);
10864 if (!SWIG_IsOK(ecode3)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10866 }
10867 arg3 = static_cast< int >(val3);
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->SetLeftIndent(arg2,arg3);
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = SWIG_Py_Void();
10876 return resultobj;
10877fail:
10878 return NULL;
10879}
10880
10881
10882SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj = 0;
10884 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10885 int arg2 ;
10886 void *argp1 = 0 ;
10887 int res1 = 0 ;
10888 int val2 ;
10889 int ecode2 = 0 ;
10890 PyObject * obj0 = 0 ;
10891 PyObject * obj1 = 0 ;
10892 char * kwnames[] = {
10893 (char *) "self",(char *) "indent", NULL
10894 };
10895
10896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10898 if (!SWIG_IsOK(res1)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10900 }
10901 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10902 ecode2 = SWIG_AsVal_int(obj1, &val2);
10903 if (!SWIG_IsOK(ecode2)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10905 }
10906 arg2 = static_cast< int >(val2);
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->SetRightIndent(arg2);
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_Py_Void();
10914 return resultobj;
10915fail:
10916 return NULL;
10917}
10918
10919
10920SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj = 0;
10922 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10923 long arg2 ;
10924 void *argp1 = 0 ;
10925 int res1 = 0 ;
10926 long val2 ;
10927 int ecode2 = 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 char * kwnames[] = {
10931 (char *) "self",(char *) "flags", NULL
10932 };
10933
10934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10936 if (!SWIG_IsOK(res1)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10938 }
10939 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10940 ecode2 = SWIG_AsVal_long(obj1, &val2);
10941 if (!SWIG_IsOK(ecode2)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10943 }
10944 arg2 = static_cast< long >(val2);
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->SetFlags(arg2);
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 resultobj = SWIG_Py_Void();
10952 return resultobj;
10953fail:
10954 return NULL;
d55e5bfc
RD
10955}
10956
10957
554f62e9
RD
10958SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10959 PyObject *resultobj = 0;
10960 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10961 bool result;
10962 void *argp1 = 0 ;
10963 int res1 = 0 ;
10964 PyObject *swig_obj[1] ;
10965
10966 if (!args) SWIG_fail;
10967 swig_obj[0] = args;
10968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10969 if (!SWIG_IsOK(res1)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10971 }
10972 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 {
10980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10981 }
10982 return resultobj;
10983fail:
10984 return NULL;
d55e5bfc
RD
10985}
10986
10987
554f62e9
RD
10988SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10989 PyObject *resultobj = 0;
10990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10991 bool result;
10992 void *argp1 = 0 ;
10993 int res1 = 0 ;
10994 PyObject *swig_obj[1] ;
10995
10996 if (!args) SWIG_fail;
10997 swig_obj[0] = args;
10998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10999 if (!SWIG_IsOK(res1)) {
11000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11001 }
11002 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 {
11010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11011 }
11012 return resultobj;
11013fail:
11014 return NULL;
d55e5bfc
RD
11015}
11016
11017
554f62e9
RD
11018SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11019 PyObject *resultobj = 0;
11020 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11021 bool result;
11022 void *argp1 = 0 ;
11023 int res1 = 0 ;
11024 PyObject *swig_obj[1] ;
11025
11026 if (!args) SWIG_fail;
11027 swig_obj[0] = args;
11028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11029 if (!SWIG_IsOK(res1)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11031 }
11032 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 {
11040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11041 }
11042 return resultobj;
11043fail:
11044 return NULL;
d55e5bfc
RD
11045}
11046
11047
554f62e9
RD
11048SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11049 PyObject *resultobj = 0;
11050 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11051 bool result;
11052 void *argp1 = 0 ;
11053 int res1 = 0 ;
11054 PyObject *swig_obj[1] ;
11055
11056 if (!args) SWIG_fail;
11057 swig_obj[0] = args;
11058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11059 if (!SWIG_IsOK(res1)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11061 }
11062 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 {
11070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11071 }
11072 return resultobj;
11073fail:
11074 return NULL;
f20a2e1f
RD
11075}
11076
11077
554f62e9
RD
11078SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11079 PyObject *resultobj = 0;
11080 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11081 bool result;
11082 void *argp1 = 0 ;
11083 int res1 = 0 ;
11084 PyObject *swig_obj[1] ;
11085
11086 if (!args) SWIG_fail;
11087 swig_obj[0] = args;
11088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11089 if (!SWIG_IsOK(res1)) {
11090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11091 }
11092 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 {
11100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11101 }
11102 return resultobj;
11103fail:
11104 return NULL;
d55e5bfc
RD
11105}
11106
11107
554f62e9
RD
11108SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11109 PyObject *resultobj = 0;
11110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11111 bool result;
11112 void *argp1 = 0 ;
11113 int res1 = 0 ;
11114 PyObject *swig_obj[1] ;
11115
11116 if (!args) SWIG_fail;
11117 swig_obj[0] = args;
11118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11119 if (!SWIG_IsOK(res1)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11121 }
11122 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11131 }
11132 return resultobj;
11133fail:
11134 return NULL;
d55e5bfc
RD
11135}
11136
11137
554f62e9
RD
11138SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11139 PyObject *resultobj = 0;
11140 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11141 bool result;
11142 void *argp1 = 0 ;
11143 int res1 = 0 ;
11144 PyObject *swig_obj[1] ;
11145
11146 if (!args) SWIG_fail;
11147 swig_obj[0] = args;
11148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11149 if (!SWIG_IsOK(res1)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11151 }
11152 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 {
11160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11161 }
11162 return resultobj;
11163fail:
11164 return NULL;
11165}
11166
11167
11168SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj = 0;
11170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11171 long arg2 ;
11172 bool result;
11173 void *argp1 = 0 ;
11174 int res1 = 0 ;
11175 long val2 ;
11176 int ecode2 = 0 ;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char * kwnames[] = {
11180 (char *) "self",(char *) "flag", NULL
11181 };
11182
11183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11185 if (!SWIG_IsOK(res1)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11187 }
11188 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11189 ecode2 = SWIG_AsVal_long(obj1, &val2);
11190 if (!SWIG_IsOK(ecode2)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11192 }
11193 arg2 = static_cast< long >(val2);
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 {
11201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11202 }
11203 return resultobj;
11204fail:
11205 return NULL;
d55e5bfc
RD
11206}
11207
11208
554f62e9
RD
11209SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11210 PyObject *resultobj = 0;
11211 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11212 wxColour *result = 0 ;
11213 void *argp1 = 0 ;
11214 int res1 = 0 ;
11215 PyObject *swig_obj[1] ;
11216
11217 if (!args) SWIG_fail;
11218 swig_obj[0] = args;
11219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11220 if (!SWIG_IsOK(res1)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11222 }
11223 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11226 {
554f62e9
RD
11227 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11228 result = (wxColour *) &_result_ref;
d55e5bfc 11229 }
554f62e9
RD
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11234 return resultobj;
11235fail:
11236 return NULL;
d55e5bfc
RD
11237}
11238
11239
554f62e9
RD
11240SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11241 PyObject *resultobj = 0;
11242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11243 wxColour *result = 0 ;
11244 void *argp1 = 0 ;
11245 int res1 = 0 ;
11246 PyObject *swig_obj[1] ;
11247
11248 if (!args) SWIG_fail;
11249 swig_obj[0] = args;
11250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11251 if (!SWIG_IsOK(res1)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11253 }
11254 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11257 {
554f62e9
RD
11258 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11259 result = (wxColour *) &_result_ref;
d55e5bfc 11260 }
554f62e9
RD
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11265 return resultobj;
11266fail:
11267 return NULL;
d55e5bfc
RD
11268}
11269
11270
554f62e9
RD
11271SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11272 PyObject *resultobj = 0;
11273 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11274 wxFont *result = 0 ;
11275 void *argp1 = 0 ;
11276 int res1 = 0 ;
11277 PyObject *swig_obj[1] ;
11278
11279 if (!args) SWIG_fail;
11280 swig_obj[0] = args;
11281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11282 if (!SWIG_IsOK(res1)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11284 }
11285 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11288 {
554f62e9
RD
11289 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11290 result = (wxFont *) &_result_ref;
d55e5bfc 11291 }
554f62e9
RD
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 {
11296 wxFont* resultptr = new wxFont(*result);
11297 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11298 }
11299 return resultobj;
11300fail:
11301 return NULL;
d55e5bfc
RD
11302}
11303
11304
554f62e9
RD
11305SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11306 PyObject *resultobj = 0;
11307 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11308 wxTextAttrAlignment result;
11309 void *argp1 = 0 ;
11310 int res1 = 0 ;
11311 PyObject *swig_obj[1] ;
11312
11313 if (!args) SWIG_fail;
11314 swig_obj[0] = args;
11315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11316 if (!SWIG_IsOK(res1)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11318 }
11319 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 resultobj = SWIG_From_int(static_cast< int >(result));
11327 return resultobj;
11328fail:
11329 return NULL;
d55e5bfc
RD
11330}
11331
11332
554f62e9
RD
11333SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11334 PyObject *resultobj = 0;
11335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11336 wxArrayInt *result = 0 ;
11337 void *argp1 = 0 ;
11338 int res1 = 0 ;
11339 PyObject *swig_obj[1] ;
11340
11341 if (!args) SWIG_fail;
11342 swig_obj[0] = args;
11343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11344 if (!SWIG_IsOK(res1)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11346 }
11347 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11350 {
554f62e9
RD
11351 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11352 result = (wxArrayInt *) &_result_ref;
d55e5bfc 11353 }
554f62e9
RD
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 {
11358 resultobj = PyList_New(0);
11359 size_t idx;
11360 for (idx = 0; idx < result->GetCount(); idx += 1) {
11361 PyObject* val = PyInt_FromLong( result->Item(idx) );
11362 PyList_Append(resultobj, val);
11363 Py_DECREF(val);
d55e5bfc 11364 }
554f62e9
RD
11365 }
11366 return resultobj;
11367fail:
11368 return NULL;
d55e5bfc
RD
11369}
11370
11371
554f62e9
RD
11372SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11373 PyObject *resultobj = 0;
11374 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11375 long result;
11376 void *argp1 = 0 ;
11377 int res1 = 0 ;
11378 PyObject *swig_obj[1] ;
11379
11380 if (!args) SWIG_fail;
11381 swig_obj[0] = args;
11382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11383 if (!SWIG_IsOK(res1)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11385 }
11386 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = SWIG_From_long(static_cast< long >(result));
11394 return resultobj;
11395fail:
11396 return NULL;
d55e5bfc
RD
11397}
11398
11399
554f62e9
RD
11400SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11401 PyObject *resultobj = 0;
11402 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11403 long result;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11413 }
11414 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_From_long(static_cast< long >(result));
11422 return resultobj;
11423fail:
11424 return NULL;
d55e5bfc
RD
11425}
11426
11427
554f62e9
RD
11428SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11429 PyObject *resultobj = 0;
11430 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11431 long result;
11432 void *argp1 = 0 ;
11433 int res1 = 0 ;
11434 PyObject *swig_obj[1] ;
11435
11436 if (!args) SWIG_fail;
11437 swig_obj[0] = args;
11438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11441 }
11442 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_From_long(static_cast< long >(result));
11450 return resultobj;
11451fail:
11452 return NULL;
d55e5bfc
RD
11453}
11454
11455
554f62e9
RD
11456SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11457 PyObject *resultobj = 0;
11458 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11459 long result;
11460 void *argp1 = 0 ;
11461 int res1 = 0 ;
11462 PyObject *swig_obj[1] ;
11463
11464 if (!args) SWIG_fail;
11465 swig_obj[0] = args;
11466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11467 if (!SWIG_IsOK(res1)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11469 }
11470 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 resultobj = SWIG_From_long(static_cast< long >(result));
11478 return resultobj;
11479fail:
11480 return NULL;
d55e5bfc
RD
11481}
11482
11483
554f62e9
RD
11484SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11485 PyObject *resultobj = 0;
11486 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11487 bool result;
11488 void *argp1 = 0 ;
11489 int res1 = 0 ;
11490 PyObject *swig_obj[1] ;
11491
11492 if (!args) SWIG_fail;
11493 swig_obj[0] = args;
11494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11495 if (!SWIG_IsOK(res1)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11497 }
11498 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 {
11506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11507 }
11508 return resultobj;
11509fail:
11510 return NULL;
11511}
11512
11513
11514SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj = 0;
11516 wxTextAttr *arg1 = 0 ;
11517 wxTextAttr *arg2 = 0 ;
11518 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11519 wxTextAttr result;
11520 void *argp1 = 0 ;
11521 int res1 = 0 ;
11522 void *argp2 = 0 ;
11523 int res2 = 0 ;
11524 void *argp3 = 0 ;
11525 int res3 = 0 ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 PyObject * obj2 = 0 ;
11529 char * kwnames[] = {
11530 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11531 };
11532
11533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11534 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11535 if (!SWIG_IsOK(res1)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11537 }
11538 if (!argp1) {
11539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11540 }
11541 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11542 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11543 if (!SWIG_IsOK(res2)) {
11544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11545 }
11546 if (!argp2) {
11547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11548 }
11549 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11550 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11551 if (!SWIG_IsOK(res3)) {
11552 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11553 }
11554 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11562 return resultobj;
11563fail:
11564 return NULL;
11565}
11566
11567
11568SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11569 PyObject *obj;
11570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11571 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11572 return SWIG_Py_Void();
11573}
11574
11575SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11576 return SWIG_Python_InitShadowInstance(args);
11577}
11578
11579SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj = 0;
11581 wxWindow *arg1 = (wxWindow *) 0 ;
11582 int arg2 = (int) -1 ;
11583 wxString const &arg3_defvalue = wxPyEmptyString ;
11584 wxString *arg3 = (wxString *) &arg3_defvalue ;
11585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11587 wxSize const &arg5_defvalue = wxDefaultSize ;
11588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11589 long arg6 = (long) 0 ;
11590 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11591 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11592 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11593 wxString *arg8 = (wxString *) &arg8_defvalue ;
11594 wxTextCtrl *result = 0 ;
11595 void *argp1 = 0 ;
11596 int res1 = 0 ;
11597 int val2 ;
11598 int ecode2 = 0 ;
11599 bool temp3 = false ;
11600 wxPoint temp4 ;
11601 wxSize temp5 ;
11602 long val6 ;
11603 int ecode6 = 0 ;
11604 void *argp7 = 0 ;
11605 int res7 = 0 ;
11606 bool temp8 = false ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
11610 PyObject * obj3 = 0 ;
11611 PyObject * obj4 = 0 ;
11612 PyObject * obj5 = 0 ;
11613 PyObject * obj6 = 0 ;
11614 PyObject * obj7 = 0 ;
11615 char * kwnames[] = {
11616 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11617 };
11618
11619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11621 if (!SWIG_IsOK(res1)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11623 }
11624 arg1 = reinterpret_cast< wxWindow * >(argp1);
11625 if (obj1) {
11626 ecode2 = SWIG_AsVal_int(obj1, &val2);
11627 if (!SWIG_IsOK(ecode2)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11629 }
11630 arg2 = static_cast< int >(val2);
11631 }
11632 if (obj2) {
d55e5bfc 11633 {
554f62e9
RD
11634 arg3 = wxString_in_helper(obj2);
11635 if (arg3 == NULL) SWIG_fail;
11636 temp3 = true;
d55e5bfc 11637 }
554f62e9
RD
11638 }
11639 if (obj3) {
d55e5bfc 11640 {
554f62e9
RD
11641 arg4 = &temp4;
11642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11643 }
554f62e9
RD
11644 }
11645 if (obj4) {
d55e5bfc 11646 {
554f62e9
RD
11647 arg5 = &temp5;
11648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11649 }
554f62e9
RD
11650 }
11651 if (obj5) {
11652 ecode6 = SWIG_AsVal_long(obj5, &val6);
11653 if (!SWIG_IsOK(ecode6)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11655 }
11656 arg6 = static_cast< long >(val6);
11657 }
11658 if (obj6) {
11659 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11660 if (!SWIG_IsOK(res7)) {
11661 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11662 }
554f62e9
RD
11663 if (!argp7) {
11664 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11665 }
554f62e9
RD
11666 arg7 = reinterpret_cast< wxValidator * >(argp7);
11667 }
11668 if (obj7) {
d55e5bfc 11669 {
554f62e9
RD
11670 arg8 = wxString_in_helper(obj7);
11671 if (arg8 == NULL) SWIG_fail;
11672 temp8 = true;
d55e5bfc 11673 }
554f62e9
RD
11674 }
11675 {
11676 if (!wxPyCheckForApp()) SWIG_fail;
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11683 {
11684 if (temp3)
11685 delete arg3;
11686 }
11687 {
11688 if (temp8)
11689 delete arg8;
11690 }
11691 return resultobj;
11692fail:
11693 {
11694 if (temp3)
11695 delete arg3;
11696 }
11697 {
11698 if (temp8)
11699 delete arg8;
11700 }
11701 return NULL;
d55e5bfc
RD
11702}
11703
11704
554f62e9
RD
11705SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11706 PyObject *resultobj = 0;
11707 wxTextCtrl *result = 0 ;
11708
11709 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11710 {
11711 if (!wxPyCheckForApp()) SWIG_fail;
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = (wxTextCtrl *)new wxTextCtrl();
11714 wxPyEndAllowThreads(__tstate);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
11717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11718 return resultobj;
11719fail:
11720 return NULL;
11721}
11722
11723
11724SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj = 0;
11726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11727 wxWindow *arg2 = (wxWindow *) 0 ;
11728 int arg3 = (int) -1 ;
11729 wxString const &arg4_defvalue = wxPyEmptyString ;
11730 wxString *arg4 = (wxString *) &arg4_defvalue ;
11731 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11732 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11733 wxSize const &arg6_defvalue = wxDefaultSize ;
11734 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11735 long arg7 = (long) 0 ;
11736 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11737 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11738 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11739 wxString *arg9 = (wxString *) &arg9_defvalue ;
11740 bool result;
11741 void *argp1 = 0 ;
11742 int res1 = 0 ;
11743 void *argp2 = 0 ;
11744 int res2 = 0 ;
11745 int val3 ;
11746 int ecode3 = 0 ;
11747 bool temp4 = false ;
11748 wxPoint temp5 ;
11749 wxSize temp6 ;
11750 long val7 ;
11751 int ecode7 = 0 ;
11752 void *argp8 = 0 ;
11753 int res8 = 0 ;
11754 bool temp9 = false ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 PyObject * obj2 = 0 ;
11758 PyObject * obj3 = 0 ;
11759 PyObject * obj4 = 0 ;
11760 PyObject * obj5 = 0 ;
11761 PyObject * obj6 = 0 ;
11762 PyObject * obj7 = 0 ;
11763 PyObject * obj8 = 0 ;
11764 char * kwnames[] = {
11765 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11766 };
11767
11768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11770 if (!SWIG_IsOK(res1)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11772 }
11773 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11774 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11775 if (!SWIG_IsOK(res2)) {
11776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11777 }
11778 arg2 = reinterpret_cast< wxWindow * >(argp2);
11779 if (obj2) {
11780 ecode3 = SWIG_AsVal_int(obj2, &val3);
11781 if (!SWIG_IsOK(ecode3)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11783 }
11784 arg3 = static_cast< int >(val3);
11785 }
11786 if (obj3) {
d55e5bfc 11787 {
554f62e9
RD
11788 arg4 = wxString_in_helper(obj3);
11789 if (arg4 == NULL) SWIG_fail;
11790 temp4 = true;
d55e5bfc 11791 }
554f62e9
RD
11792 }
11793 if (obj4) {
d55e5bfc 11794 {
554f62e9
RD
11795 arg5 = &temp5;
11796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11797 }
554f62e9
RD
11798 }
11799 if (obj5) {
d55e5bfc 11800 {
554f62e9
RD
11801 arg6 = &temp6;
11802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11803 }
554f62e9
RD
11804 }
11805 if (obj6) {
11806 ecode7 = SWIG_AsVal_long(obj6, &val7);
11807 if (!SWIG_IsOK(ecode7)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11809 }
11810 arg7 = static_cast< long >(val7);
11811 }
11812 if (obj7) {
11813 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11814 if (!SWIG_IsOK(res8)) {
11815 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11816 }
554f62e9
RD
11817 if (!argp8) {
11818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11819 }
554f62e9
RD
11820 arg8 = reinterpret_cast< wxValidator * >(argp8);
11821 }
11822 if (obj8) {
d55e5bfc 11823 {
554f62e9
RD
11824 arg9 = wxString_in_helper(obj8);
11825 if (arg9 == NULL) SWIG_fail;
11826 temp9 = true;
d55e5bfc 11827 }
554f62e9
RD
11828 }
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 {
11836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11837 }
11838 {
11839 if (temp4)
11840 delete arg4;
11841 }
11842 {
11843 if (temp9)
11844 delete arg9;
11845 }
11846 return resultobj;
11847fail:
11848 {
11849 if (temp4)
11850 delete arg4;
11851 }
11852 {
11853 if (temp9)
11854 delete arg9;
11855 }
11856 return NULL;
d55e5bfc
RD
11857}
11858
11859
554f62e9
RD
11860SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11861 PyObject *resultobj = 0;
11862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11863 wxString result;
11864 void *argp1 = 0 ;
11865 int res1 = 0 ;
11866 PyObject *swig_obj[1] ;
11867
11868 if (!args) SWIG_fail;
11869 swig_obj[0] = args;
11870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11871 if (!SWIG_IsOK(res1)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11873 }
11874 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = ((wxTextCtrl const *)arg1)->GetValue();
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
11882#if wxUSE_UNICODE
11883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11884#else
11885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11886#endif
11887 }
11888 return resultobj;
11889fail:
11890 return NULL;
11891}
11892
11893
11894SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj = 0;
11896 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11897 wxString *arg2 = 0 ;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 bool temp2 = false ;
11901 PyObject * obj0 = 0 ;
11902 PyObject * obj1 = 0 ;
11903 char * kwnames[] = {
11904 (char *) "self",(char *) "value", NULL
11905 };
11906
11907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11909 if (!SWIG_IsOK(res1)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11911 }
11912 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11913 {
11914 arg2 = wxString_in_helper(obj1);
11915 if (arg2 == NULL) SWIG_fail;
11916 temp2 = true;
11917 }
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetValue((wxString const &)*arg2);
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_Py_Void();
11925 {
11926 if (temp2)
11927 delete arg2;
11928 }
11929 return resultobj;
11930fail:
11931 {
11932 if (temp2)
11933 delete arg2;
11934 }
11935 return NULL;
11936}
11937
11938
11939SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = 0;
11941 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11942 long arg2 ;
11943 long arg3 ;
11944 wxString result;
11945 void *argp1 = 0 ;
11946 int res1 = 0 ;
11947 long val2 ;
11948 int ecode2 = 0 ;
11949 long val3 ;
11950 int ecode3 = 0 ;
11951 PyObject * obj0 = 0 ;
11952 PyObject * obj1 = 0 ;
11953 PyObject * obj2 = 0 ;
11954 char * kwnames[] = {
f460c29d 11955 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
11956 };
11957
11958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11960 if (!SWIG_IsOK(res1)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11962 }
11963 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11964 ecode2 = SWIG_AsVal_long(obj1, &val2);
11965 if (!SWIG_IsOK(ecode2)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11967 }
11968 arg2 = static_cast< long >(val2);
11969 ecode3 = SWIG_AsVal_long(obj2, &val3);
11970 if (!SWIG_IsOK(ecode3)) {
11971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11972 }
11973 arg3 = static_cast< long >(val3);
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981#if wxUSE_UNICODE
11982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11983#else
11984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11985#endif
11986 }
11987 return resultobj;
11988fail:
11989 return NULL;
11990}
11991
11992
11993SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11994 PyObject *resultobj = 0;
11995 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11996 long arg2 ;
11997 int result;
11998 void *argp1 = 0 ;
11999 int res1 = 0 ;
12000 long val2 ;
12001 int ecode2 = 0 ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char * kwnames[] = {
12005 (char *) "self",(char *) "lineNo", NULL
12006 };
12007
12008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12012 }
12013 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12014 ecode2 = SWIG_AsVal_long(obj1, &val2);
12015 if (!SWIG_IsOK(ecode2)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12017 }
12018 arg2 = static_cast< long >(val2);
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_From_int(static_cast< int >(result));
12026 return resultobj;
12027fail:
12028 return NULL;
12029}
12030
12031
12032SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj = 0;
12034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12035 long arg2 ;
12036 wxString result;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 long val2 ;
12040 int ecode2 = 0 ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 char * kwnames[] = {
12044 (char *) "self",(char *) "lineNo", NULL
12045 };
12046
12047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12049 if (!SWIG_IsOK(res1)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12051 }
12052 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12053 ecode2 = SWIG_AsVal_long(obj1, &val2);
12054 if (!SWIG_IsOK(ecode2)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12056 }
12057 arg2 = static_cast< long >(val2);
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 {
12065#if wxUSE_UNICODE
12066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12067#else
12068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12069#endif
12070 }
12071 return resultobj;
12072fail:
12073 return NULL;
d55e5bfc
RD
12074}
12075
12076
554f62e9
RD
12077SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12078 PyObject *resultobj = 0;
12079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12080 int result;
12081 void *argp1 = 0 ;
12082 int res1 = 0 ;
12083 PyObject *swig_obj[1] ;
12084
12085 if (!args) SWIG_fail;
12086 swig_obj[0] = args;
12087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12088 if (!SWIG_IsOK(res1)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12090 }
12091 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 resultobj = SWIG_From_int(static_cast< int >(result));
12099 return resultobj;
12100fail:
12101 return NULL;
d55e5bfc
RD
12102}
12103
12104
554f62e9
RD
12105SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12106 PyObject *resultobj = 0;
12107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12108 bool result;
12109 void *argp1 = 0 ;
12110 int res1 = 0 ;
12111 PyObject *swig_obj[1] ;
12112
12113 if (!args) SWIG_fail;
12114 swig_obj[0] = args;
12115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12116 if (!SWIG_IsOK(res1)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12118 }
12119 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 {
12127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12128 }
12129 return resultobj;
12130fail:
12131 return NULL;
d55e5bfc
RD
12132}
12133
12134
554f62e9
RD
12135SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12136 PyObject *resultobj = 0;
12137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12138 bool result;
12139 void *argp1 = 0 ;
12140 int res1 = 0 ;
12141 PyObject *swig_obj[1] ;
12142
12143 if (!args) SWIG_fail;
12144 swig_obj[0] = args;
12145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12148 }
12149 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12158 }
12159 return resultobj;
12160fail:
12161 return NULL;
d55e5bfc
RD
12162}
12163
12164
554f62e9
RD
12165SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12166 PyObject *resultobj = 0;
12167 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12168 bool result;
12169 void *argp1 = 0 ;
12170 int res1 = 0 ;
12171 PyObject *swig_obj[1] ;
12172
12173 if (!args) SWIG_fail;
12174 swig_obj[0] = args;
12175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12176 if (!SWIG_IsOK(res1)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12178 }
12179 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 {
12187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12188 }
12189 return resultobj;
12190fail:
12191 return NULL;
d55e5bfc
RD
12192}
12193
12194
554f62e9
RD
12195SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12196 PyObject *resultobj = 0;
12197 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12198 bool result;
12199 void *argp1 = 0 ;
12200 int res1 = 0 ;
12201 PyObject *swig_obj[1] ;
12202
12203 if (!args) SWIG_fail;
12204 swig_obj[0] = args;
12205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12206 if (!SWIG_IsOK(res1)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12208 }
12209 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 {
12217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12218 }
12219 return resultobj;
12220fail:
12221 return NULL;
12222}
12223
12224
12225SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12226 PyObject *resultobj = 0;
12227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12228 long *arg2 = (long *) 0 ;
12229 long *arg3 = (long *) 0 ;
12230 void *argp1 = 0 ;
12231 int res1 = 0 ;
12232 long temp2 ;
12233 int res2 = SWIG_TMPOBJ ;
12234 long temp3 ;
12235 int res3 = SWIG_TMPOBJ ;
12236 PyObject *swig_obj[1] ;
12237
12238 arg2 = &temp2;
12239 arg3 = &temp3;
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_Py_Void();
12254 if (SWIG_IsTmpObj(res2)) {
12255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12256 } else {
12257 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12259 }
12260 if (SWIG_IsTmpObj(res3)) {
12261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12262 } else {
12263 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12264 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12265 }
12266 return resultobj;
12267fail:
12268 return NULL;
d55e5bfc
RD
12269}
12270
12271
554f62e9
RD
12272SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 wxString result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294#if wxUSE_UNICODE
12295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12296#else
12297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12298#endif
12299 }
12300 return resultobj;
12301fail:
12302 return NULL;
d55e5bfc
RD
12303}
12304
12305
554f62e9
RD
12306SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12307 PyObject *resultobj = 0;
12308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12309 void *argp1 = 0 ;
12310 int res1 = 0 ;
12311 PyObject *swig_obj[1] ;
12312
12313 if (!args) SWIG_fail;
12314 swig_obj[0] = args;
12315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12316 if (!SWIG_IsOK(res1)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12318 }
12319 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 (arg1)->Clear();
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = SWIG_Py_Void();
12327 return resultobj;
12328fail:
12329 return NULL;
12330}
12331
12332
12333SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj = 0;
12335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12336 long arg2 ;
12337 long arg3 ;
12338 wxString *arg4 = 0 ;
12339 void *argp1 = 0 ;
12340 int res1 = 0 ;
12341 long val2 ;
12342 int ecode2 = 0 ;
12343 long val3 ;
12344 int ecode3 = 0 ;
12345 bool temp4 = false ;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 PyObject * obj2 = 0 ;
12349 PyObject * obj3 = 0 ;
12350 char * kwnames[] = {
f460c29d 12351 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
12352 };
12353
12354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12356 if (!SWIG_IsOK(res1)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12358 }
12359 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12360 ecode2 = SWIG_AsVal_long(obj1, &val2);
12361 if (!SWIG_IsOK(ecode2)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12363 }
12364 arg2 = static_cast< long >(val2);
12365 ecode3 = SWIG_AsVal_long(obj2, &val3);
12366 if (!SWIG_IsOK(ecode3)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12368 }
12369 arg3 = static_cast< long >(val3);
12370 {
12371 arg4 = wxString_in_helper(obj3);
12372 if (arg4 == NULL) SWIG_fail;
12373 temp4 = true;
12374 }
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 resultobj = SWIG_Py_Void();
12382 {
12383 if (temp4)
12384 delete arg4;
12385 }
12386 return resultobj;
12387fail:
12388 {
12389 if (temp4)
12390 delete arg4;
12391 }
12392 return NULL;
12393}
12394
12395
12396SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj = 0;
12398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12399 long arg2 ;
12400 long arg3 ;
12401 void *argp1 = 0 ;
12402 int res1 = 0 ;
12403 long val2 ;
12404 int ecode2 = 0 ;
12405 long val3 ;
12406 int ecode3 = 0 ;
12407 PyObject * obj0 = 0 ;
12408 PyObject * obj1 = 0 ;
12409 PyObject * obj2 = 0 ;
12410 char * kwnames[] = {
f460c29d 12411 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
12412 };
12413
12414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12416 if (!SWIG_IsOK(res1)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12418 }
12419 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12420 ecode2 = SWIG_AsVal_long(obj1, &val2);
12421 if (!SWIG_IsOK(ecode2)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12423 }
12424 arg2 = static_cast< long >(val2);
12425 ecode3 = SWIG_AsVal_long(obj2, &val3);
12426 if (!SWIG_IsOK(ecode3)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12428 }
12429 arg3 = static_cast< long >(val3);
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 (arg1)->Remove(arg2,arg3);
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 resultobj = SWIG_Py_Void();
12437 return resultobj;
12438fail:
12439 return NULL;
12440}
12441
12442
12443SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = 0;
12445 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12446 wxString *arg2 = 0 ;
12447 bool result;
12448 void *argp1 = 0 ;
12449 int res1 = 0 ;
12450 bool temp2 = false ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char * kwnames[] = {
12454 (char *) "self",(char *) "file", NULL
12455 };
12456
12457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
12458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12459 if (!SWIG_IsOK(res1)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12461 }
12462 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12463 {
12464 arg2 = wxString_in_helper(obj1);
12465 if (arg2 == NULL) SWIG_fail;
12466 temp2 = true;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 {
12475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12476 }
12477 {
12478 if (temp2)
12479 delete arg2;
12480 }
12481 return resultobj;
12482fail:
12483 {
12484 if (temp2)
12485 delete arg2;
12486 }
12487 return NULL;
12488}
12489
12490
12491SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj = 0;
12493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12494 wxString const &arg2_defvalue = wxPyEmptyString ;
12495 wxString *arg2 = (wxString *) &arg2_defvalue ;
12496 bool result;
12497 void *argp1 = 0 ;
12498 int res1 = 0 ;
12499 bool temp2 = false ;
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 char * kwnames[] = {
12503 (char *) "self",(char *) "file", NULL
12504 };
12505
12506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
12507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12508 if (!SWIG_IsOK(res1)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12510 }
12511 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12512 if (obj1) {
d55e5bfc 12513 {
554f62e9
RD
12514 arg2 = wxString_in_helper(obj1);
12515 if (arg2 == NULL) SWIG_fail;
12516 temp2 = true;
d55e5bfc 12517 }
554f62e9
RD
12518 }
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 {
12526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12527 }
12528 {
12529 if (temp2)
12530 delete arg2;
12531 }
12532 return resultobj;
12533fail:
12534 {
12535 if (temp2)
12536 delete arg2;
12537 }
12538 return NULL;
d55e5bfc
RD
12539}
12540
12541
554f62e9
RD
12542SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12543 PyObject *resultobj = 0;
12544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12545 void *argp1 = 0 ;
12546 int res1 = 0 ;
12547 PyObject *swig_obj[1] ;
12548
12549 if (!args) SWIG_fail;
12550 swig_obj[0] = args;
12551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12552 if (!SWIG_IsOK(res1)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12554 }
12555 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->MarkDirty();
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 resultobj = SWIG_Py_Void();
12563 return resultobj;
12564fail:
12565 return NULL;
d55e5bfc
RD
12566}
12567
12568
554f62e9
RD
12569SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12570 PyObject *resultobj = 0;
12571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12572 void *argp1 = 0 ;
12573 int res1 = 0 ;
12574 PyObject *swig_obj[1] ;
12575
12576 if (!args) SWIG_fail;
12577 swig_obj[0] = args;
12578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12579 if (!SWIG_IsOK(res1)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12581 }
12582 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->DiscardEdits();
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 resultobj = SWIG_Py_Void();
12590 return resultobj;
12591fail:
12592 return NULL;
12593}
12594
12595
12596SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj = 0;
12598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12599 unsigned long arg2 ;
12600 void *argp1 = 0 ;
12601 int res1 = 0 ;
12602 unsigned long val2 ;
12603 int ecode2 = 0 ;
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 char * kwnames[] = {
12607 (char *) "self",(char *) "len", NULL
12608 };
12609
12610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12612 if (!SWIG_IsOK(res1)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12614 }
12615 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12616 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12617 if (!SWIG_IsOK(ecode2)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12619 }
12620 arg2 = static_cast< unsigned long >(val2);
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 (arg1)->SetMaxLength(arg2);
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_Py_Void();
12628 return resultobj;
12629fail:
12630 return NULL;
12631}
12632
12633
12634SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj = 0;
12636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12637 wxString *arg2 = 0 ;
12638 void *argp1 = 0 ;
12639 int res1 = 0 ;
12640 bool temp2 = false ;
12641 PyObject * obj0 = 0 ;
12642 PyObject * obj1 = 0 ;
12643 char * kwnames[] = {
12644 (char *) "self",(char *) "text", NULL
12645 };
12646
12647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12649 if (!SWIG_IsOK(res1)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12651 }
12652 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12653 {
12654 arg2 = wxString_in_helper(obj1);
12655 if (arg2 == NULL) SWIG_fail;
12656 temp2 = true;
12657 }
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->WriteText((wxString const &)*arg2);
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 resultobj = SWIG_Py_Void();
12665 {
12666 if (temp2)
12667 delete arg2;
12668 }
12669 return resultobj;
12670fail:
12671 {
12672 if (temp2)
12673 delete arg2;
12674 }
12675 return NULL;
d55e5bfc
RD
12676}
12677
12678
554f62e9
RD
12679SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj = 0;
12681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12682 wxString *arg2 = 0 ;
12683 void *argp1 = 0 ;
12684 int res1 = 0 ;
12685 bool temp2 = false ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 char * kwnames[] = {
12689 (char *) "self",(char *) "text", NULL
12690 };
12691
12692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12694 if (!SWIG_IsOK(res1)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12696 }
12697 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12698 {
12699 arg2 = wxString_in_helper(obj1);
12700 if (arg2 == NULL) SWIG_fail;
12701 temp2 = true;
12702 }
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 (arg1)->AppendText((wxString const &)*arg2);
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 resultobj = SWIG_Py_Void();
12710 {
12711 if (temp2)
12712 delete arg2;
12713 }
12714 return resultobj;
12715fail:
12716 {
12717 if (temp2)
12718 delete arg2;
12719 }
12720 return NULL;
12721}
12722
12723
12724SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12725 PyObject *resultobj = 0;
12726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12727 wxKeyEvent *arg2 = 0 ;
12728 bool result;
12729 void *argp1 = 0 ;
12730 int res1 = 0 ;
12731 void *argp2 = 0 ;
12732 int res2 = 0 ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 char * kwnames[] = {
12736 (char *) "self",(char *) "event", NULL
12737 };
12738
12739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12741 if (!SWIG_IsOK(res1)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12743 }
12744 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12745 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12746 if (!SWIG_IsOK(res2)) {
12747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12748 }
12749 if (!argp2) {
12750 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12751 }
12752 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
12759 {
12760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12761 }
12762 return resultobj;
12763fail:
12764 return NULL;
12765}
12766
12767
12768SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj = 0;
12770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12771 long arg2 ;
12772 long arg3 ;
12773 wxTextAttr *arg4 = 0 ;
12774 bool result;
12775 void *argp1 = 0 ;
12776 int res1 = 0 ;
12777 long val2 ;
12778 int ecode2 = 0 ;
12779 long val3 ;
12780 int ecode3 = 0 ;
12781 void *argp4 = 0 ;
12782 int res4 = 0 ;
12783 PyObject * obj0 = 0 ;
12784 PyObject * obj1 = 0 ;
12785 PyObject * obj2 = 0 ;
12786 PyObject * obj3 = 0 ;
12787 char * kwnames[] = {
12788 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12789 };
12790
12791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12793 if (!SWIG_IsOK(res1)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12795 }
12796 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12797 ecode2 = SWIG_AsVal_long(obj1, &val2);
12798 if (!SWIG_IsOK(ecode2)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12800 }
12801 arg2 = static_cast< long >(val2);
12802 ecode3 = SWIG_AsVal_long(obj2, &val3);
12803 if (!SWIG_IsOK(ecode3)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12805 }
12806 arg3 = static_cast< long >(val3);
12807 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12808 if (!SWIG_IsOK(res4)) {
12809 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12810 }
12811 if (!argp4) {
12812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12813 }
12814 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12823 }
12824 return resultobj;
12825fail:
12826 return NULL;
12827}
12828
12829
12830SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj = 0;
12832 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12833 long arg2 ;
12834 wxTextAttr *arg3 = 0 ;
12835 bool result;
12836 void *argp1 = 0 ;
12837 int res1 = 0 ;
12838 long val2 ;
12839 int ecode2 = 0 ;
12840 void *argp3 = 0 ;
12841 int res3 = 0 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 PyObject * obj2 = 0 ;
12845 char * kwnames[] = {
12846 (char *) "self",(char *) "position",(char *) "style", NULL
12847 };
12848
12849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12851 if (!SWIG_IsOK(res1)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12853 }
12854 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12855 ecode2 = SWIG_AsVal_long(obj1, &val2);
12856 if (!SWIG_IsOK(ecode2)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12858 }
12859 arg2 = static_cast< long >(val2);
12860 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12861 if (!SWIG_IsOK(res3)) {
12862 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12863 }
12864 if (!argp3) {
12865 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12866 }
12867 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 {
12875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12876 }
12877 return resultobj;
12878fail:
12879 return NULL;
12880}
12881
12882
12883SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj = 0;
12885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12886 wxTextAttr *arg2 = 0 ;
12887 bool result;
12888 void *argp1 = 0 ;
12889 int res1 = 0 ;
12890 void *argp2 = 0 ;
12891 int res2 = 0 ;
12892 PyObject * obj0 = 0 ;
12893 PyObject * obj1 = 0 ;
12894 char * kwnames[] = {
12895 (char *) "self",(char *) "style", NULL
12896 };
12897
12898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
12899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12900 if (!SWIG_IsOK(res1)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12902 }
12903 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12904 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
12905 if (!SWIG_IsOK(res2)) {
12906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12907 }
12908 if (!argp2) {
12909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12910 }
12911 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 {
12919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12920 }
12921 return resultobj;
12922fail:
12923 return NULL;
d55e5bfc
RD
12924}
12925
12926
554f62e9
RD
12927SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12928 PyObject *resultobj = 0;
12929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12930 wxTextAttr *result = 0 ;
12931 void *argp1 = 0 ;
12932 int res1 = 0 ;
12933 PyObject *swig_obj[1] ;
12934
12935 if (!args) SWIG_fail;
12936 swig_obj[0] = args;
12937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12938 if (!SWIG_IsOK(res1)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12940 }
12941 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12944 {
554f62e9
RD
12945 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
12946 result = (wxTextAttr *) &_result_ref;
093d3ff1 12947 }
554f62e9
RD
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
12952 return resultobj;
12953fail:
12954 return NULL;
12955}
12956
12957
12958SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj = 0;
12960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12961 long arg2 ;
12962 long arg3 ;
12963 long result;
12964 void *argp1 = 0 ;
12965 int res1 = 0 ;
12966 long val2 ;
12967 int ecode2 = 0 ;
12968 long val3 ;
12969 int ecode3 = 0 ;
12970 PyObject * obj0 = 0 ;
12971 PyObject * obj1 = 0 ;
12972 PyObject * obj2 = 0 ;
12973 char * kwnames[] = {
12974 (char *) "self",(char *) "x",(char *) "y", NULL
12975 };
12976
12977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12979 if (!SWIG_IsOK(res1)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12981 }
12982 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12983 ecode2 = SWIG_AsVal_long(obj1, &val2);
12984 if (!SWIG_IsOK(ecode2)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12986 }
12987 arg2 = static_cast< long >(val2);
12988 ecode3 = SWIG_AsVal_long(obj2, &val3);
12989 if (!SWIG_IsOK(ecode3)) {
12990 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12991 }
12992 arg3 = static_cast< long >(val3);
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 resultobj = SWIG_From_long(static_cast< long >(result));
13000 return resultobj;
13001fail:
13002 return NULL;
13003}
13004
13005
13006SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj = 0;
13008 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13009 long arg2 ;
13010 long *arg3 = (long *) 0 ;
13011 long *arg4 = (long *) 0 ;
13012 void *argp1 = 0 ;
13013 int res1 = 0 ;
13014 long val2 ;
13015 int ecode2 = 0 ;
13016 long temp3 ;
13017 int res3 = SWIG_TMPOBJ ;
13018 long temp4 ;
13019 int res4 = SWIG_TMPOBJ ;
13020 PyObject * obj0 = 0 ;
13021 PyObject * obj1 = 0 ;
13022 char * kwnames[] = {
13023 (char *) "self",(char *) "pos", NULL
13024 };
13025
13026 arg3 = &temp3;
13027 arg4 = &temp4;
13028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13030 if (!SWIG_IsOK(res1)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13032 }
13033 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13034 ecode2 = SWIG_AsVal_long(obj1, &val2);
13035 if (!SWIG_IsOK(ecode2)) {
13036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13037 }
13038 arg2 = static_cast< long >(val2);
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 resultobj = SWIG_Py_Void();
13046 if (SWIG_IsTmpObj(res3)) {
13047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13048 } else {
13049 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13051 }
13052 if (SWIG_IsTmpObj(res4)) {
13053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13054 } else {
13055 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13057 }
13058 return resultobj;
13059fail:
13060 return NULL;
13061}
13062
13063
13064SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13065 PyObject *resultobj = 0;
13066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13067 long arg2 ;
13068 void *argp1 = 0 ;
13069 int res1 = 0 ;
13070 long val2 ;
13071 int ecode2 = 0 ;
13072 PyObject * obj0 = 0 ;
13073 PyObject * obj1 = 0 ;
13074 char * kwnames[] = {
13075 (char *) "self",(char *) "pos", NULL
13076 };
13077
13078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13080 if (!SWIG_IsOK(res1)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13082 }
13083 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13084 ecode2 = SWIG_AsVal_long(obj1, &val2);
13085 if (!SWIG_IsOK(ecode2)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13087 }
13088 arg2 = static_cast< long >(val2);
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 (arg1)->ShowPosition(arg2);
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 resultobj = SWIG_Py_Void();
13096 return resultobj;
13097fail:
13098 return NULL;
13099}
13100
13101
13102SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj = 0;
13104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13105 wxPoint *arg2 = 0 ;
13106 long *arg3 = (long *) 0 ;
13107 long *arg4 = (long *) 0 ;
13108 wxTextCtrlHitTestResult result;
13109 void *argp1 = 0 ;
13110 int res1 = 0 ;
13111 wxPoint temp2 ;
13112 long temp3 ;
13113 int res3 = SWIG_TMPOBJ ;
13114 long temp4 ;
13115 int res4 = SWIG_TMPOBJ ;
13116 PyObject * obj0 = 0 ;
13117 PyObject * obj1 = 0 ;
13118 char * kwnames[] = {
13119 (char *) "self",(char *) "pt", NULL
13120 };
13121
13122 arg3 = &temp3;
13123 arg4 = &temp4;
13124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13126 if (!SWIG_IsOK(res1)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13128 }
13129 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13130 {
13131 arg2 = &temp2;
13132 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 resultobj = SWIG_From_int(static_cast< int >(result));
13141 if (SWIG_IsTmpObj(res3)) {
13142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13143 } else {
13144 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13146 }
13147 if (SWIG_IsTmpObj(res4)) {
13148 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13149 } else {
13150 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13151 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13152 }
13153 return resultobj;
13154fail:
13155 return NULL;
13156}
13157
13158
13159SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13160 PyObject *resultobj = 0;
13161 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13162 wxPoint *arg2 = 0 ;
13163 long *arg3 = (long *) 0 ;
13164 wxTextCtrlHitTestResult result;
13165 void *argp1 = 0 ;
13166 int res1 = 0 ;
13167 wxPoint temp2 ;
13168 long temp3 ;
13169 int res3 = SWIG_TMPOBJ ;
13170 PyObject * obj0 = 0 ;
13171 PyObject * obj1 = 0 ;
13172 char * kwnames[] = {
13173 (char *) "self",(char *) "pt", NULL
13174 };
13175
13176 arg3 = &temp3;
13177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13179 if (!SWIG_IsOK(res1)) {
13180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13181 }
13182 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13183 {
13184 arg2 = &temp2;
13185 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13186 }
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 resultobj = SWIG_From_int(static_cast< int >(result));
13194 if (SWIG_IsTmpObj(res3)) {
13195 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13196 } else {
13197 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13198 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13199 }
13200 return resultobj;
13201fail:
13202 return NULL;
d55e5bfc
RD
13203}
13204
13205
554f62e9
RD
13206SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13207 PyObject *resultobj = 0;
13208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13209 void *argp1 = 0 ;
13210 int res1 = 0 ;
13211 PyObject *swig_obj[1] ;
13212
13213 if (!args) SWIG_fail;
13214 swig_obj[0] = args;
13215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13216 if (!SWIG_IsOK(res1)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13218 }
13219 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 (arg1)->Copy();
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 resultobj = SWIG_Py_Void();
13227 return resultobj;
13228fail:
13229 return NULL;
d55e5bfc 13230}
554f62e9
RD
13231
13232
13233SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13234 PyObject *resultobj = 0;
13235 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13236 void *argp1 = 0 ;
13237 int res1 = 0 ;
13238 PyObject *swig_obj[1] ;
13239
13240 if (!args) SWIG_fail;
13241 swig_obj[0] = args;
13242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13243 if (!SWIG_IsOK(res1)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13245 }
13246 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 (arg1)->Cut();
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 resultobj = SWIG_Py_Void();
13254 return resultobj;
13255fail:
13256 return NULL;
d55e5bfc
RD
13257}
13258
13259
554f62e9
RD
13260SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13261 PyObject *resultobj = 0;
13262 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13263 void *argp1 = 0 ;
13264 int res1 = 0 ;
13265 PyObject *swig_obj[1] ;
13266
13267 if (!args) SWIG_fail;
13268 swig_obj[0] = args;
13269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13270 if (!SWIG_IsOK(res1)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13272 }
13273 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 (arg1)->Paste();
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 resultobj = SWIG_Py_Void();
13281 return resultobj;
13282fail:
13283 return NULL;
d55e5bfc
RD
13284}
13285
13286
554f62e9
RD
13287SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13288 PyObject *resultobj = 0;
13289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13290 bool result;
13291 void *argp1 = 0 ;
13292 int res1 = 0 ;
13293 PyObject *swig_obj[1] ;
13294
13295 if (!args) SWIG_fail;
13296 swig_obj[0] = args;
13297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13298 if (!SWIG_IsOK(res1)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13300 }
13301 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 {
13309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13310 }
13311 return resultobj;
13312fail:
13313 return NULL;
d55e5bfc
RD
13314}
13315
13316
554f62e9
RD
13317SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13318 PyObject *resultobj = 0;
13319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13320 bool result;
13321 void *argp1 = 0 ;
13322 int res1 = 0 ;
13323 PyObject *swig_obj[1] ;
13324
13325 if (!args) SWIG_fail;
13326 swig_obj[0] = args;
13327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13328 if (!SWIG_IsOK(res1)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13330 }
13331 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 {
13339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13340 }
13341 return resultobj;
13342fail:
13343 return NULL;
d55e5bfc
RD
13344}
13345
13346
554f62e9
RD
13347SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13348 PyObject *resultobj = 0;
13349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13350 bool result;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject *swig_obj[1] ;
13354
13355 if (!args) SWIG_fail;
13356 swig_obj[0] = args;
13357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13358 if (!SWIG_IsOK(res1)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13360 }
13361 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 {
13369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13370 }
13371 return resultobj;
13372fail:
13373 return NULL;
d55e5bfc
RD
13374}
13375
13376
554f62e9
RD
13377SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13378 PyObject *resultobj = 0;
13379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13380 void *argp1 = 0 ;
13381 int res1 = 0 ;
13382 PyObject *swig_obj[1] ;
13383
13384 if (!args) SWIG_fail;
13385 swig_obj[0] = args;
13386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13387 if (!SWIG_IsOK(res1)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13389 }
13390 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 (arg1)->Undo();
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 resultobj = SWIG_Py_Void();
13398 return resultobj;
13399fail:
13400 return NULL;
d55e5bfc
RD
13401}
13402
13403
554f62e9
RD
13404SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13405 PyObject *resultobj = 0;
13406 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13407 void *argp1 = 0 ;
13408 int res1 = 0 ;
13409 PyObject *swig_obj[1] ;
13410
13411 if (!args) SWIG_fail;
13412 swig_obj[0] = args;
13413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13414 if (!SWIG_IsOK(res1)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13416 }
13417 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 (arg1)->Redo();
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 resultobj = SWIG_Py_Void();
13425 return resultobj;
13426fail:
13427 return NULL;
d55e5bfc
RD
13428}
13429
13430
554f62e9
RD
13431SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13432 PyObject *resultobj = 0;
13433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13434 bool result;
13435 void *argp1 = 0 ;
13436 int res1 = 0 ;
13437 PyObject *swig_obj[1] ;
13438
13439 if (!args) SWIG_fail;
13440 swig_obj[0] = args;
13441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13442 if (!SWIG_IsOK(res1)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13444 }
13445 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13454 }
13455 return resultobj;
13456fail:
13457 return NULL;
d55e5bfc
RD
13458}
13459
13460
554f62e9
RD
13461SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13462 PyObject *resultobj = 0;
13463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13464 bool result;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 PyObject *swig_obj[1] ;
13468
13469 if (!args) SWIG_fail;
13470 swig_obj[0] = args;
13471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13472 if (!SWIG_IsOK(res1)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13474 }
13475 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13484 }
13485 return resultobj;
13486fail:
13487 return NULL;
13488}
13489
13490
13491SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj = 0;
13493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13494 long arg2 ;
13495 void *argp1 = 0 ;
13496 int res1 = 0 ;
13497 long val2 ;
13498 int ecode2 = 0 ;
13499 PyObject * obj0 = 0 ;
13500 PyObject * obj1 = 0 ;
13501 char * kwnames[] = {
13502 (char *) "self",(char *) "pos", NULL
13503 };
13504
13505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13507 if (!SWIG_IsOK(res1)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13509 }
13510 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13511 ecode2 = SWIG_AsVal_long(obj1, &val2);
13512 if (!SWIG_IsOK(ecode2)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13514 }
13515 arg2 = static_cast< long >(val2);
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 (arg1)->SetInsertionPoint(arg2);
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 resultobj = SWIG_Py_Void();
13523 return resultobj;
13524fail:
13525 return NULL;
d55e5bfc
RD
13526}
13527
13528
554f62e9
RD
13529SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13530 PyObject *resultobj = 0;
13531 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13532 void *argp1 = 0 ;
13533 int res1 = 0 ;
13534 PyObject *swig_obj[1] ;
13535
13536 if (!args) SWIG_fail;
13537 swig_obj[0] = args;
13538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13539 if (!SWIG_IsOK(res1)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13541 }
13542 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->SetInsertionPointEnd();
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 resultobj = SWIG_Py_Void();
13550 return resultobj;
13551fail:
13552 return NULL;
d55e5bfc
RD
13553}
13554
13555
554f62e9
RD
13556SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13557 PyObject *resultobj = 0;
13558 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13559 long result;
13560 void *argp1 = 0 ;
13561 int res1 = 0 ;
13562 PyObject *swig_obj[1] ;
13563
13564 if (!args) SWIG_fail;
13565 swig_obj[0] = args;
13566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13567 if (!SWIG_IsOK(res1)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13569 }
13570 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_From_long(static_cast< long >(result));
13578 return resultobj;
13579fail:
13580 return NULL;
d55e5bfc
RD
13581}
13582
13583
554f62e9
RD
13584SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13585 PyObject *resultobj = 0;
13586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13587 long result;
13588 void *argp1 = 0 ;
13589 int res1 = 0 ;
13590 PyObject *swig_obj[1] ;
13591
13592 if (!args) SWIG_fail;
13593 swig_obj[0] = args;
13594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13595 if (!SWIG_IsOK(res1)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13597 }
13598 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 resultobj = SWIG_From_long(static_cast< long >(result));
13606 return resultobj;
13607fail:
13608 return NULL;
13609}
13610
13611
13612SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj = 0;
13614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13615 long arg2 ;
13616 long arg3 ;
13617 void *argp1 = 0 ;
13618 int res1 = 0 ;
13619 long val2 ;
13620 int ecode2 = 0 ;
13621 long val3 ;
13622 int ecode3 = 0 ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj2 = 0 ;
13626 char * kwnames[] = {
f460c29d 13627 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13628 };
13629
13630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13632 if (!SWIG_IsOK(res1)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13634 }
13635 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13636 ecode2 = SWIG_AsVal_long(obj1, &val2);
13637 if (!SWIG_IsOK(ecode2)) {
13638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13639 }
13640 arg2 = static_cast< long >(val2);
13641 ecode3 = SWIG_AsVal_long(obj2, &val3);
13642 if (!SWIG_IsOK(ecode3)) {
13643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13644 }
13645 arg3 = static_cast< long >(val3);
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->SetSelection(arg2,arg3);
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = SWIG_Py_Void();
13653 return resultobj;
13654fail:
13655 return NULL;
d55e5bfc
RD
13656}
13657
13658
554f62e9
RD
13659SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13660 PyObject *resultobj = 0;
13661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13662 void *argp1 = 0 ;
13663 int res1 = 0 ;
13664 PyObject *swig_obj[1] ;
13665
13666 if (!args) SWIG_fail;
13667 swig_obj[0] = args;
13668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13669 if (!SWIG_IsOK(res1)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13671 }
13672 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 (arg1)->SelectAll();
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_Py_Void();
13680 return resultobj;
13681fail:
13682 return NULL;
13683}
13684
13685
13686SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj = 0;
13688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13689 bool arg2 ;
13690 void *argp1 = 0 ;
13691 int res1 = 0 ;
13692 bool val2 ;
13693 int ecode2 = 0 ;
13694 PyObject * obj0 = 0 ;
13695 PyObject * obj1 = 0 ;
13696 char * kwnames[] = {
13697 (char *) "self",(char *) "editable", NULL
13698 };
13699
13700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13702 if (!SWIG_IsOK(res1)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13704 }
13705 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13707 if (!SWIG_IsOK(ecode2)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13709 }
13710 arg2 = static_cast< bool >(val2);
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->SetEditable(arg2);
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_Py_Void();
13718 return resultobj;
13719fail:
13720 return NULL;
13721}
13722
13723
13724SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13725 PyObject *resultobj = 0;
13726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13727 bool arg2 = (bool) true ;
13728 bool result;
13729 void *argp1 = 0 ;
13730 int res1 = 0 ;
13731 bool val2 ;
13732 int ecode2 = 0 ;
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj1 = 0 ;
13735 char * kwnames[] = {
13736 (char *) "self",(char *) "show", NULL
13737 };
13738
13739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13741 if (!SWIG_IsOK(res1)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13743 }
13744 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13745 if (obj1) {
13746 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13747 if (!SWIG_IsOK(ecode2)) {
13748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13749 }
13750 arg2 = static_cast< bool >(val2);
13751 }
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 result = (bool)(arg1)->ShowNativeCaret(arg2);
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 {
13759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13760 }
13761 return resultobj;
13762fail:
13763 return NULL;
d55e5bfc
RD
13764}
13765
13766
554f62e9
RD
13767SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13768 PyObject *resultobj = 0;
13769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13770 bool result;
13771 void *argp1 = 0 ;
13772 int res1 = 0 ;
13773 PyObject *swig_obj[1] ;
13774
13775 if (!args) SWIG_fail;
13776 swig_obj[0] = args;
13777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13778 if (!SWIG_IsOK(res1)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13780 }
13781 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13782 {
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 result = (bool)(arg1)->HideNativeCaret();
13785 wxPyEndAllowThreads(__tstate);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 {
13789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13790 }
13791 return resultobj;
13792fail:
13793 return NULL;
13794}
13795
13796
13797SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj = 0;
13799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13800 wxString *arg2 = 0 ;
13801 void *argp1 = 0 ;
13802 int res1 = 0 ;
13803 bool temp2 = false ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 char * kwnames[] = {
13807 (char *) "self",(char *) "text", NULL
13808 };
13809
13810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13812 if (!SWIG_IsOK(res1)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13814 }
13815 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13816 {
13817 arg2 = wxString_in_helper(obj1);
13818 if (arg2 == NULL) SWIG_fail;
13819 temp2 = true;
13820 }
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 resultobj = SWIG_Py_Void();
13828 {
13829 if (temp2)
13830 delete arg2;
13831 }
13832 return resultobj;
13833fail:
13834 {
13835 if (temp2)
13836 delete arg2;
13837 }
13838 return NULL;
13839}
13840
13841
13842SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj = 0;
13844 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13845 long arg2 ;
13846 long arg3 ;
13847 wxString result;
13848 void *argp1 = 0 ;
13849 int res1 = 0 ;
13850 long val2 ;
13851 int ecode2 = 0 ;
13852 long val3 ;
13853 int ecode3 = 0 ;
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
13856 PyObject * obj2 = 0 ;
13857 char * kwnames[] = {
f460c29d 13858 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13859 };
13860
13861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13863 if (!SWIG_IsOK(res1)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13865 }
13866 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13867 ecode2 = SWIG_AsVal_long(obj1, &val2);
13868 if (!SWIG_IsOK(ecode2)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13870 }
13871 arg2 = static_cast< long >(val2);
13872 ecode3 = SWIG_AsVal_long(obj2, &val3);
13873 if (!SWIG_IsOK(ecode3)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13875 }
13876 arg3 = static_cast< long >(val3);
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 {
13884#if wxUSE_UNICODE
13885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13886#else
13887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13888#endif
13889 }
13890 return resultobj;
13891fail:
13892 return NULL;
d55e5bfc
RD
13893}
13894
13895
554f62e9
RD
13896SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj = 0;
13898 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13899 SwigValueWrapper<wxVisualAttributes > result;
13900 int val1 ;
13901 int ecode1 = 0 ;
13902 PyObject * obj0 = 0 ;
13903 char * kwnames[] = {
13904 (char *) "variant", NULL
13905 };
13906
13907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
13908 if (obj0) {
13909 ecode1 = SWIG_AsVal_int(obj0, &val1);
13910 if (!SWIG_IsOK(ecode1)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13912 }
13913 arg1 = static_cast< wxWindowVariant >(val1);
13914 }
13915 {
13916 if (!wxPyCheckForApp()) SWIG_fail;
13917 PyThreadState* __tstate = wxPyBeginAllowThreads();
13918 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
13923 return resultobj;
13924fail:
13925 return NULL;
13926}
13927
13928
13929SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13930 PyObject *obj;
13931 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13932 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
13933 return SWIG_Py_Void();
13934}
13935
13936SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13937 return SWIG_Python_InitShadowInstance(args);
13938}
13939
13940SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13941 PyObject *resultobj = 0;
13942 int arg1 ;
13943 wxMouseEvent *arg2 = 0 ;
13944 long arg3 ;
13945 long arg4 ;
13946 wxTextUrlEvent *result = 0 ;
13947 int val1 ;
13948 int ecode1 = 0 ;
13949 void *argp2 = 0 ;
13950 int res2 = 0 ;
13951 long val3 ;
13952 int ecode3 = 0 ;
13953 long val4 ;
13954 int ecode4 = 0 ;
13955 PyObject * obj0 = 0 ;
13956 PyObject * obj1 = 0 ;
13957 PyObject * obj2 = 0 ;
13958 PyObject * obj3 = 0 ;
13959 char * kwnames[] = {
13960 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13961 };
13962
13963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13964 ecode1 = SWIG_AsVal_int(obj0, &val1);
13965 if (!SWIG_IsOK(ecode1)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13967 }
13968 arg1 = static_cast< int >(val1);
13969 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
13970 if (!SWIG_IsOK(res2)) {
13971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13972 }
13973 if (!argp2) {
13974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13975 }
13976 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
13977 ecode3 = SWIG_AsVal_long(obj2, &val3);
13978 if (!SWIG_IsOK(ecode3)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13980 }
13981 arg3 = static_cast< long >(val3);
13982 ecode4 = SWIG_AsVal_long(obj3, &val4);
13983 if (!SWIG_IsOK(ecode4)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13985 }
13986 arg4 = static_cast< long >(val4);
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
13994 return resultobj;
13995fail:
13996 return NULL;
d55e5bfc
RD
13997}
13998
13999
554f62e9
RD
14000SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14001 PyObject *resultobj = 0;
14002 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14003 wxMouseEvent *result = 0 ;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 PyObject *swig_obj[1] ;
14007
14008 if (!args) SWIG_fail;
14009 swig_obj[0] = args;
14010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14011 if (!SWIG_IsOK(res1)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14013 }
14014 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 14017 {
554f62e9
RD
14018 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14019 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 14020 }
554f62e9
RD
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14025 return resultobj;
14026fail:
14027 return NULL;
d55e5bfc
RD
14028}
14029
14030
554f62e9
RD
14031SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14032 PyObject *resultobj = 0;
14033 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14034 long result;
14035 void *argp1 = 0 ;
14036 int res1 = 0 ;
14037 PyObject *swig_obj[1] ;
14038
14039 if (!args) SWIG_fail;
14040 swig_obj[0] = args;
14041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14042 if (!SWIG_IsOK(res1)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14044 }
14045 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 resultobj = SWIG_From_long(static_cast< long >(result));
14053 return resultobj;
14054fail:
14055 return NULL;
d55e5bfc
RD
14056}
14057
14058
554f62e9
RD
14059SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14060 PyObject *resultobj = 0;
14061 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14062 long result;
14063 void *argp1 = 0 ;
14064 int res1 = 0 ;
14065 PyObject *swig_obj[1] ;
14066
14067 if (!args) SWIG_fail;
14068 swig_obj[0] = args;
14069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14070 if (!SWIG_IsOK(res1)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14072 }
14073 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 resultobj = SWIG_From_long(static_cast< long >(result));
14081 return resultobj;
14082fail:
14083 return NULL;
d55e5bfc
RD
14084}
14085
14086
554f62e9
RD
14087SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14088 PyObject *obj;
14089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14090 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14091 return SWIG_Py_Void();
d55e5bfc
RD
14092}
14093
554f62e9
RD
14094SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14095 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14096}
14097
554f62e9
RD
14098SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14099 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14100 return 1;
d55e5bfc
RD
14101}
14102
14103
554f62e9
RD
14104SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14105 PyObject *pyobj = 0;
14106
14107 {
14108#if wxUSE_UNICODE
14109 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14110#else
14111 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14112#endif
14113 }
14114 return pyobj;
14115}
14116
14117
14118SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj = 0;
14120 wxWindow *arg1 = (wxWindow *) 0 ;
14121 int arg2 = (int) -1 ;
14122 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14123 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14124 wxSize const &arg4_defvalue = wxDefaultSize ;
14125 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14126 long arg5 = (long) wxSB_HORIZONTAL ;
14127 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14128 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14129 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14130 wxString *arg7 = (wxString *) &arg7_defvalue ;
14131 wxScrollBar *result = 0 ;
14132 void *argp1 = 0 ;
14133 int res1 = 0 ;
14134 int val2 ;
14135 int ecode2 = 0 ;
14136 wxPoint temp3 ;
14137 wxSize temp4 ;
14138 long val5 ;
14139 int ecode5 = 0 ;
14140 void *argp6 = 0 ;
14141 int res6 = 0 ;
14142 bool temp7 = false ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 PyObject * obj2 = 0 ;
14146 PyObject * obj3 = 0 ;
14147 PyObject * obj4 = 0 ;
14148 PyObject * obj5 = 0 ;
14149 PyObject * obj6 = 0 ;
14150 char * kwnames[] = {
14151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14152 };
14153
14154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14156 if (!SWIG_IsOK(res1)) {
14157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14158 }
14159 arg1 = reinterpret_cast< wxWindow * >(argp1);
14160 if (obj1) {
14161 ecode2 = SWIG_AsVal_int(obj1, &val2);
14162 if (!SWIG_IsOK(ecode2)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14164 }
14165 arg2 = static_cast< int >(val2);
14166 }
14167 if (obj2) {
d55e5bfc 14168 {
554f62e9
RD
14169 arg3 = &temp3;
14170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14171 }
554f62e9
RD
14172 }
14173 if (obj3) {
d55e5bfc 14174 {
554f62e9
RD
14175 arg4 = &temp4;
14176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14177 }
554f62e9
RD
14178 }
14179 if (obj4) {
14180 ecode5 = SWIG_AsVal_long(obj4, &val5);
14181 if (!SWIG_IsOK(ecode5)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14183 }
14184 arg5 = static_cast< long >(val5);
14185 }
14186 if (obj5) {
14187 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14188 if (!SWIG_IsOK(res6)) {
14189 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14190 }
14191 if (!argp6) {
14192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14193 }
554f62e9
RD
14194 arg6 = reinterpret_cast< wxValidator * >(argp6);
14195 }
14196 if (obj6) {
d55e5bfc 14197 {
554f62e9
RD
14198 arg7 = wxString_in_helper(obj6);
14199 if (arg7 == NULL) SWIG_fail;
14200 temp7 = true;
d55e5bfc 14201 }
554f62e9
RD
14202 }
14203 {
14204 if (!wxPyCheckForApp()) SWIG_fail;
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14211 {
14212 if (temp7)
14213 delete arg7;
14214 }
14215 return resultobj;
14216fail:
14217 {
14218 if (temp7)
14219 delete arg7;
14220 }
14221 return NULL;
d55e5bfc
RD
14222}
14223
14224
554f62e9
RD
14225SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14226 PyObject *resultobj = 0;
14227 wxScrollBar *result = 0 ;
14228
14229 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14230 {
14231 if (!wxPyCheckForApp()) SWIG_fail;
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (wxScrollBar *)new wxScrollBar();
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14238 return resultobj;
14239fail:
14240 return NULL;
14241}
14242
14243
14244SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14245 PyObject *resultobj = 0;
14246 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14247 wxWindow *arg2 = (wxWindow *) 0 ;
14248 int arg3 = (int) -1 ;
14249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14251 wxSize const &arg5_defvalue = wxDefaultSize ;
14252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14253 long arg6 = (long) wxSB_HORIZONTAL ;
14254 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14255 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14256 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14257 wxString *arg8 = (wxString *) &arg8_defvalue ;
14258 bool result;
14259 void *argp1 = 0 ;
14260 int res1 = 0 ;
14261 void *argp2 = 0 ;
14262 int res2 = 0 ;
14263 int val3 ;
14264 int ecode3 = 0 ;
14265 wxPoint temp4 ;
14266 wxSize temp5 ;
14267 long val6 ;
14268 int ecode6 = 0 ;
14269 void *argp7 = 0 ;
14270 int res7 = 0 ;
14271 bool temp8 = false ;
14272 PyObject * obj0 = 0 ;
14273 PyObject * obj1 = 0 ;
14274 PyObject * obj2 = 0 ;
14275 PyObject * obj3 = 0 ;
14276 PyObject * obj4 = 0 ;
14277 PyObject * obj5 = 0 ;
14278 PyObject * obj6 = 0 ;
14279 PyObject * obj7 = 0 ;
14280 char * kwnames[] = {
14281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14282 };
14283
14284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14286 if (!SWIG_IsOK(res1)) {
14287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14288 }
14289 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14290 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14291 if (!SWIG_IsOK(res2)) {
14292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14293 }
14294 arg2 = reinterpret_cast< wxWindow * >(argp2);
14295 if (obj2) {
14296 ecode3 = SWIG_AsVal_int(obj2, &val3);
14297 if (!SWIG_IsOK(ecode3)) {
14298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14299 }
14300 arg3 = static_cast< int >(val3);
14301 }
14302 if (obj3) {
d55e5bfc 14303 {
554f62e9
RD
14304 arg4 = &temp4;
14305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14306 }
554f62e9
RD
14307 }
14308 if (obj4) {
093d3ff1 14309 {
554f62e9
RD
14310 arg5 = &temp5;
14311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 14312 }
554f62e9
RD
14313 }
14314 if (obj5) {
14315 ecode6 = SWIG_AsVal_long(obj5, &val6);
14316 if (!SWIG_IsOK(ecode6)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14318 }
14319 arg6 = static_cast< long >(val6);
14320 }
14321 if (obj6) {
14322 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14323 if (!SWIG_IsOK(res7)) {
14324 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
a07a67e6 14325 }
554f62e9
RD
14326 if (!argp7) {
14327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14328 }
14329 arg7 = reinterpret_cast< wxValidator * >(argp7);
14330 }
14331 if (obj7) {
093d3ff1 14332 {
554f62e9
RD
14333 arg8 = wxString_in_helper(obj7);
14334 if (arg8 == NULL) SWIG_fail;
14335 temp8 = true;
093d3ff1 14336 }
554f62e9
RD
14337 }
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 {
14345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14346 }
14347 {
14348 if (temp8)
14349 delete arg8;
14350 }
14351 return resultobj;
14352fail:
14353 {
14354 if (temp8)
14355 delete arg8;
14356 }
14357 return NULL;
a07a67e6
RD
14358}
14359
14360
554f62e9
RD
14361SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14362 PyObject *resultobj = 0;
14363 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14364 int result;
14365 void *argp1 = 0 ;
14366 int res1 = 0 ;
14367 PyObject *swig_obj[1] ;
14368
14369 if (!args) SWIG_fail;
14370 swig_obj[0] = args;
14371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14372 if (!SWIG_IsOK(res1)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14374 }
14375 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 resultobj = SWIG_From_int(static_cast< int >(result));
14383 return resultobj;
14384fail:
14385 return NULL;
d55e5bfc
RD
14386}
14387
14388
554f62e9
RD
14389SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14390 PyObject *resultobj = 0;
14391 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14392 int result;
14393 void *argp1 = 0 ;
14394 int res1 = 0 ;
14395 PyObject *swig_obj[1] ;
14396
14397 if (!args) SWIG_fail;
14398 swig_obj[0] = args;
14399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14400 if (!SWIG_IsOK(res1)) {
14401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14402 }
14403 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14407 wxPyEndAllowThreads(__tstate);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 }
14410 resultobj = SWIG_From_int(static_cast< int >(result));
14411 return resultobj;
14412fail:
14413 return NULL;
d55e5bfc
RD
14414}
14415
14416
554f62e9
RD
14417SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14418 PyObject *resultobj = 0;
14419 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14420 int result;
14421 void *argp1 = 0 ;
14422 int res1 = 0 ;
14423 PyObject *swig_obj[1] ;
14424
14425 if (!args) SWIG_fail;
14426 swig_obj[0] = args;
14427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14428 if (!SWIG_IsOK(res1)) {
14429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14430 }
14431 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 resultobj = SWIG_From_int(static_cast< int >(result));
14439 return resultobj;
14440fail:
14441 return NULL;
d55e5bfc
RD
14442}
14443
14444
554f62e9
RD
14445SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14446 PyObject *resultobj = 0;
14447 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14448 int result;
14449 void *argp1 = 0 ;
14450 int res1 = 0 ;
14451 PyObject *swig_obj[1] ;
14452
14453 if (!args) SWIG_fail;
14454 swig_obj[0] = args;
14455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14456 if (!SWIG_IsOK(res1)) {
14457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14458 }
14459 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (int)((wxScrollBar const *)arg1)->GetRange();
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 resultobj = SWIG_From_int(static_cast< int >(result));
14467 return resultobj;
14468fail:
14469 return NULL;
d55e5bfc
RD
14470}
14471
14472
554f62e9
RD
14473SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14474 PyObject *resultobj = 0;
14475 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14476 bool result;
14477 void *argp1 = 0 ;
14478 int res1 = 0 ;
14479 PyObject *swig_obj[1] ;
14480
14481 if (!args) SWIG_fail;
14482 swig_obj[0] = args;
14483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14484 if (!SWIG_IsOK(res1)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14486 }
14487 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14488 {
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 {
14495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14496 }
14497 return resultobj;
14498fail:
14499 return NULL;
14500}
14501
14502
14503SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj = 0;
14505 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14506 int arg2 ;
14507 void *argp1 = 0 ;
14508 int res1 = 0 ;
14509 int val2 ;
14510 int ecode2 = 0 ;
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 char * kwnames[] = {
14514 (char *) "self",(char *) "viewStart", NULL
14515 };
14516
14517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14519 if (!SWIG_IsOK(res1)) {
14520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14521 }
14522 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14523 ecode2 = SWIG_AsVal_int(obj1, &val2);
14524 if (!SWIG_IsOK(ecode2)) {
14525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14526 }
14527 arg2 = static_cast< int >(val2);
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 (arg1)->SetThumbPosition(arg2);
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 resultobj = SWIG_Py_Void();
14535 return resultobj;
14536fail:
14537 return NULL;
14538}
14539
14540
14541SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj = 0;
14543 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14544 SwigValueWrapper<wxVisualAttributes > result;
14545 int val1 ;
14546 int ecode1 = 0 ;
14547 PyObject * obj0 = 0 ;
14548 char * kwnames[] = {
14549 (char *) "variant", NULL
14550 };
14551
14552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14553 if (obj0) {
14554 ecode1 = SWIG_AsVal_int(obj0, &val1);
14555 if (!SWIG_IsOK(ecode1)) {
14556 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14557 }
14558 arg1 = static_cast< wxWindowVariant >(val1);
14559 }
14560 {
14561 if (!wxPyCheckForApp()) SWIG_fail;
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14568 return resultobj;
14569fail:
14570 return NULL;
d55e5bfc
RD
14571}
14572
14573
554f62e9
RD
14574SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14575 PyObject *obj;
14576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14577 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14578 return SWIG_Py_Void();
d55e5bfc
RD
14579}
14580
554f62e9
RD
14581SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14582 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14583}
14584
554f62e9
RD
14585SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14586 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14587 return 1;
d55e5bfc
RD
14588}
14589
14590
554f62e9
RD
14591SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14592 PyObject *pyobj = 0;
14593
14594 {
d55e5bfc 14595#if wxUSE_UNICODE
554f62e9 14596 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14597#else
554f62e9 14598 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14599#endif
554f62e9
RD
14600 }
14601 return pyobj;
d55e5bfc
RD
14602}
14603
14604
554f62e9
RD
14605SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14606 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14607 return 1;
d55e5bfc
RD
14608}
14609
14610
554f62e9
RD
14611SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14612 PyObject *pyobj = 0;
14613
14614 {
d55e5bfc 14615#if wxUSE_UNICODE
554f62e9 14616 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14617#else
554f62e9 14618 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14619#endif
554f62e9
RD
14620 }
14621 return pyobj;
14622}
14623
14624
14625SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj = 0;
14627 wxWindow *arg1 = (wxWindow *) 0 ;
14628 int arg2 = (int) -1 ;
14629 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14630 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14631 wxSize const &arg4_defvalue = wxDefaultSize ;
14632 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14633 long arg5 = (long) wxSP_HORIZONTAL ;
14634 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14635 wxString *arg6 = (wxString *) &arg6_defvalue ;
14636 wxSpinButton *result = 0 ;
14637 void *argp1 = 0 ;
14638 int res1 = 0 ;
14639 int val2 ;
14640 int ecode2 = 0 ;
14641 wxPoint temp3 ;
14642 wxSize temp4 ;
14643 long val5 ;
14644 int ecode5 = 0 ;
14645 bool temp6 = false ;
14646 PyObject * obj0 = 0 ;
14647 PyObject * obj1 = 0 ;
14648 PyObject * obj2 = 0 ;
14649 PyObject * obj3 = 0 ;
14650 PyObject * obj4 = 0 ;
14651 PyObject * obj5 = 0 ;
14652 char * kwnames[] = {
14653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14654 };
14655
14656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14658 if (!SWIG_IsOK(res1)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14660 }
14661 arg1 = reinterpret_cast< wxWindow * >(argp1);
14662 if (obj1) {
14663 ecode2 = SWIG_AsVal_int(obj1, &val2);
14664 if (!SWIG_IsOK(ecode2)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14666 }
14667 arg2 = static_cast< int >(val2);
14668 }
14669 if (obj2) {
14670 {
14671 arg3 = &temp3;
14672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14673 }
554f62e9
RD
14674 }
14675 if (obj3) {
d55e5bfc 14676 {
554f62e9
RD
14677 arg4 = &temp4;
14678 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14679 }
554f62e9
RD
14680 }
14681 if (obj4) {
14682 ecode5 = SWIG_AsVal_long(obj4, &val5);
14683 if (!SWIG_IsOK(ecode5)) {
14684 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14685 }
14686 arg5 = static_cast< long >(val5);
14687 }
14688 if (obj5) {
093d3ff1 14689 {
554f62e9
RD
14690 arg6 = wxString_in_helper(obj5);
14691 if (arg6 == NULL) SWIG_fail;
14692 temp6 = true;
093d3ff1 14693 }
554f62e9
RD
14694 }
14695 {
14696 if (!wxPyCheckForApp()) SWIG_fail;
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14703 {
14704 if (temp6)
14705 delete arg6;
14706 }
14707 return resultobj;
14708fail:
14709 {
14710 if (temp6)
14711 delete arg6;
14712 }
14713 return NULL;
d55e5bfc
RD
14714}
14715
14716
554f62e9
RD
14717SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14718 PyObject *resultobj = 0;
14719 wxSpinButton *result = 0 ;
14720
14721 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14722 {
14723 if (!wxPyCheckForApp()) SWIG_fail;
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (wxSpinButton *)new wxSpinButton();
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14730 return resultobj;
14731fail:
14732 return NULL;
14733}
14734
14735
14736SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj = 0;
14738 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14739 wxWindow *arg2 = (wxWindow *) 0 ;
14740 int arg3 = (int) -1 ;
14741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14743 wxSize const &arg5_defvalue = wxDefaultSize ;
14744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14745 long arg6 = (long) wxSP_HORIZONTAL ;
14746 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14747 wxString *arg7 = (wxString *) &arg7_defvalue ;
14748 bool result;
14749 void *argp1 = 0 ;
14750 int res1 = 0 ;
14751 void *argp2 = 0 ;
14752 int res2 = 0 ;
14753 int val3 ;
14754 int ecode3 = 0 ;
14755 wxPoint temp4 ;
14756 wxSize temp5 ;
14757 long val6 ;
14758 int ecode6 = 0 ;
14759 bool temp7 = false ;
14760 PyObject * obj0 = 0 ;
14761 PyObject * obj1 = 0 ;
14762 PyObject * obj2 = 0 ;
14763 PyObject * obj3 = 0 ;
14764 PyObject * obj4 = 0 ;
14765 PyObject * obj5 = 0 ;
14766 PyObject * obj6 = 0 ;
14767 char * kwnames[] = {
14768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14769 };
14770
14771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14773 if (!SWIG_IsOK(res1)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14775 }
14776 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14777 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14778 if (!SWIG_IsOK(res2)) {
14779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14780 }
14781 arg2 = reinterpret_cast< wxWindow * >(argp2);
14782 if (obj2) {
14783 ecode3 = SWIG_AsVal_int(obj2, &val3);
14784 if (!SWIG_IsOK(ecode3)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14786 }
14787 arg3 = static_cast< int >(val3);
14788 }
14789 if (obj3) {
d55e5bfc 14790 {
554f62e9
RD
14791 arg4 = &temp4;
14792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14793 }
554f62e9
RD
14794 }
14795 if (obj4) {
d55e5bfc 14796 {
554f62e9
RD
14797 arg5 = &temp5;
14798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14799 }
554f62e9
RD
14800 }
14801 if (obj5) {
14802 ecode6 = SWIG_AsVal_long(obj5, &val6);
14803 if (!SWIG_IsOK(ecode6)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14805 }
14806 arg6 = static_cast< long >(val6);
14807 }
14808 if (obj6) {
d55e5bfc 14809 {
554f62e9
RD
14810 arg7 = wxString_in_helper(obj6);
14811 if (arg7 == NULL) SWIG_fail;
14812 temp7 = true;
d55e5bfc 14813 }
554f62e9
RD
14814 }
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 {
14822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14823 }
14824 {
14825 if (temp7)
14826 delete arg7;
14827 }
14828 return resultobj;
14829fail:
14830 {
14831 if (temp7)
14832 delete arg7;
14833 }
14834 return NULL;
d55e5bfc
RD
14835}
14836
14837
554f62e9
RD
14838SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14841 int result;
14842 void *argp1 = 0 ;
14843 int res1 = 0 ;
14844 PyObject *swig_obj[1] ;
14845
14846 if (!args) SWIG_fail;
14847 swig_obj[0] = args;
14848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14849 if (!SWIG_IsOK(res1)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14851 }
14852 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (int)((wxSpinButton const *)arg1)->GetValue();
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 resultobj = SWIG_From_int(static_cast< int >(result));
14860 return resultobj;
14861fail:
14862 return NULL;
d55e5bfc
RD
14863}
14864
14865
554f62e9
RD
14866SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14867 PyObject *resultobj = 0;
14868 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14869 int result;
14870 void *argp1 = 0 ;
14871 int res1 = 0 ;
14872 PyObject *swig_obj[1] ;
14873
14874 if (!args) SWIG_fail;
14875 swig_obj[0] = args;
14876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14877 if (!SWIG_IsOK(res1)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14879 }
14880 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14881 {
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 result = (int)((wxSpinButton const *)arg1)->GetMin();
14884 wxPyEndAllowThreads(__tstate);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 }
14887 resultobj = SWIG_From_int(static_cast< int >(result));
14888 return resultobj;
14889fail:
14890 return NULL;
d55e5bfc
RD
14891}
14892
14893
554f62e9
RD
14894SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14895 PyObject *resultobj = 0;
14896 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14897 int result;
14898 void *argp1 = 0 ;
14899 int res1 = 0 ;
14900 PyObject *swig_obj[1] ;
14901
14902 if (!args) SWIG_fail;
14903 swig_obj[0] = args;
14904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14905 if (!SWIG_IsOK(res1)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14907 }
14908 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 result = (int)((wxSpinButton const *)arg1)->GetMax();
14912 wxPyEndAllowThreads(__tstate);
14913 if (PyErr_Occurred()) SWIG_fail;
14914 }
14915 resultobj = SWIG_From_int(static_cast< int >(result));
14916 return resultobj;
14917fail:
14918 return NULL;
14919}
14920
14921
14922SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj = 0;
14924 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14925 int arg2 ;
14926 void *argp1 = 0 ;
14927 int res1 = 0 ;
14928 int val2 ;
14929 int ecode2 = 0 ;
14930 PyObject * obj0 = 0 ;
14931 PyObject * obj1 = 0 ;
14932 char * kwnames[] = {
14933 (char *) "self",(char *) "val", NULL
14934 };
14935
14936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
14937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14938 if (!SWIG_IsOK(res1)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14940 }
14941 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14942 ecode2 = SWIG_AsVal_int(obj1, &val2);
14943 if (!SWIG_IsOK(ecode2)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14945 }
14946 arg2 = static_cast< int >(val2);
14947 {
14948 PyThreadState* __tstate = wxPyBeginAllowThreads();
14949 (arg1)->SetValue(arg2);
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 resultobj = SWIG_Py_Void();
14954 return resultobj;
14955fail:
14956 return NULL;
14957}
14958
14959
14960SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj = 0;
14962 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14963 int arg2 ;
14964 void *argp1 = 0 ;
14965 int res1 = 0 ;
14966 int val2 ;
14967 int ecode2 = 0 ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 char * kwnames[] = {
14971 (char *) "self",(char *) "minVal", NULL
14972 };
14973
14974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
14975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14976 if (!SWIG_IsOK(res1)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14978 }
14979 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14980 ecode2 = SWIG_AsVal_int(obj1, &val2);
14981 if (!SWIG_IsOK(ecode2)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14983 }
14984 arg2 = static_cast< int >(val2);
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 (arg1)->SetMin(arg2);
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 resultobj = SWIG_Py_Void();
14992 return resultobj;
14993fail:
14994 return NULL;
14995}
14996
14997
14998SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14999 PyObject *resultobj = 0;
15000 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15001 int arg2 ;
15002 void *argp1 = 0 ;
15003 int res1 = 0 ;
15004 int val2 ;
15005 int ecode2 = 0 ;
15006 PyObject * obj0 = 0 ;
15007 PyObject * obj1 = 0 ;
15008 char * kwnames[] = {
15009 (char *) "self",(char *) "maxVal", NULL
15010 };
15011
15012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15014 if (!SWIG_IsOK(res1)) {
15015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15016 }
15017 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15018 ecode2 = SWIG_AsVal_int(obj1, &val2);
15019 if (!SWIG_IsOK(ecode2)) {
15020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15021 }
15022 arg2 = static_cast< int >(val2);
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 (arg1)->SetMax(arg2);
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = SWIG_Py_Void();
15030 return resultobj;
15031fail:
15032 return NULL;
15033}
15034
15035
15036SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj = 0;
15038 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15039 int arg2 ;
15040 int arg3 ;
15041 void *argp1 = 0 ;
15042 int res1 = 0 ;
15043 int val2 ;
15044 int ecode2 = 0 ;
15045 int val3 ;
15046 int ecode3 = 0 ;
15047 PyObject * obj0 = 0 ;
15048 PyObject * obj1 = 0 ;
15049 PyObject * obj2 = 0 ;
15050 char * kwnames[] = {
15051 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15052 };
15053
15054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15056 if (!SWIG_IsOK(res1)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15058 }
15059 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15060 ecode2 = SWIG_AsVal_int(obj1, &val2);
15061 if (!SWIG_IsOK(ecode2)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15063 }
15064 arg2 = static_cast< int >(val2);
15065 ecode3 = SWIG_AsVal_int(obj2, &val3);
15066 if (!SWIG_IsOK(ecode3)) {
15067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15068 }
15069 arg3 = static_cast< int >(val3);
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 (arg1)->SetRange(arg2,arg3);
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 resultobj = SWIG_Py_Void();
15077 return resultobj;
15078fail:
15079 return NULL;
d55e5bfc
RD
15080}
15081
15082
554f62e9
RD
15083SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15084 PyObject *resultobj = 0;
15085 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15086 bool result;
15087 void *argp1 = 0 ;
15088 int res1 = 0 ;
15089 PyObject *swig_obj[1] ;
15090
15091 if (!args) SWIG_fail;
15092 swig_obj[0] = args;
15093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15094 if (!SWIG_IsOK(res1)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15096 }
15097 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 {
15105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15106 }
15107 return resultobj;
15108fail:
15109 return NULL;
d55e5bfc
RD
15110}
15111
15112
554f62e9
RD
15113SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj = 0;
15115 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15116 SwigValueWrapper<wxVisualAttributes > result;
15117 int val1 ;
15118 int ecode1 = 0 ;
15119 PyObject * obj0 = 0 ;
15120 char * kwnames[] = {
15121 (char *) "variant", NULL
15122 };
15123
15124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15125 if (obj0) {
15126 ecode1 = SWIG_AsVal_int(obj0, &val1);
15127 if (!SWIG_IsOK(ecode1)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15129 }
15130 arg1 = static_cast< wxWindowVariant >(val1);
15131 }
15132 {
15133 if (!wxPyCheckForApp()) SWIG_fail;
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15140 return resultobj;
15141fail:
15142 return NULL;
15143}
15144
15145
15146SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15147 PyObject *obj;
15148 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15149 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15150 return SWIG_Py_Void();
15151}
15152
15153SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15154 return SWIG_Python_InitShadowInstance(args);
15155}
15156
15157SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj = 0;
15159 wxWindow *arg1 = (wxWindow *) 0 ;
15160 int arg2 = (int) -1 ;
15161 wxString const &arg3_defvalue = wxPyEmptyString ;
15162 wxString *arg3 = (wxString *) &arg3_defvalue ;
15163 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15164 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15165 wxSize const &arg5_defvalue = wxDefaultSize ;
15166 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15167 long arg6 = (long) wxSP_ARROW_KEYS ;
15168 int arg7 = (int) 0 ;
15169 int arg8 = (int) 100 ;
15170 int arg9 = (int) 0 ;
15171 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15172 wxString *arg10 = (wxString *) &arg10_defvalue ;
15173 wxSpinCtrl *result = 0 ;
15174 void *argp1 = 0 ;
15175 int res1 = 0 ;
15176 int val2 ;
15177 int ecode2 = 0 ;
15178 bool temp3 = false ;
15179 wxPoint temp4 ;
15180 wxSize temp5 ;
15181 long val6 ;
15182 int ecode6 = 0 ;
15183 int val7 ;
15184 int ecode7 = 0 ;
15185 int val8 ;
15186 int ecode8 = 0 ;
15187 int val9 ;
15188 int ecode9 = 0 ;
15189 bool temp10 = false ;
15190 PyObject * obj0 = 0 ;
15191 PyObject * obj1 = 0 ;
15192 PyObject * obj2 = 0 ;
15193 PyObject * obj3 = 0 ;
15194 PyObject * obj4 = 0 ;
15195 PyObject * obj5 = 0 ;
15196 PyObject * obj6 = 0 ;
15197 PyObject * obj7 = 0 ;
15198 PyObject * obj8 = 0 ;
15199 PyObject * obj9 = 0 ;
15200 char * kwnames[] = {
15201 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15202 };
15203
15204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15206 if (!SWIG_IsOK(res1)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15208 }
15209 arg1 = reinterpret_cast< wxWindow * >(argp1);
15210 if (obj1) {
15211 ecode2 = SWIG_AsVal_int(obj1, &val2);
15212 if (!SWIG_IsOK(ecode2)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15214 }
15215 arg2 = static_cast< int >(val2);
15216 }
15217 if (obj2) {
d55e5bfc 15218 {
554f62e9
RD
15219 arg3 = wxString_in_helper(obj2);
15220 if (arg3 == NULL) SWIG_fail;
15221 temp3 = true;
d55e5bfc 15222 }
554f62e9
RD
15223 }
15224 if (obj3) {
d55e5bfc 15225 {
554f62e9
RD
15226 arg4 = &temp4;
15227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15228 }
554f62e9
RD
15229 }
15230 if (obj4) {
d55e5bfc 15231 {
554f62e9
RD
15232 arg5 = &temp5;
15233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15234 }
554f62e9
RD
15235 }
15236 if (obj5) {
15237 ecode6 = SWIG_AsVal_long(obj5, &val6);
15238 if (!SWIG_IsOK(ecode6)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15240 }
15241 arg6 = static_cast< long >(val6);
15242 }
15243 if (obj6) {
15244 ecode7 = SWIG_AsVal_int(obj6, &val7);
15245 if (!SWIG_IsOK(ecode7)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15247 }
15248 arg7 = static_cast< int >(val7);
15249 }
15250 if (obj7) {
15251 ecode8 = SWIG_AsVal_int(obj7, &val8);
15252 if (!SWIG_IsOK(ecode8)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15254 }
15255 arg8 = static_cast< int >(val8);
15256 }
15257 if (obj8) {
15258 ecode9 = SWIG_AsVal_int(obj8, &val9);
15259 if (!SWIG_IsOK(ecode9)) {
15260 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15261 }
15262 arg9 = static_cast< int >(val9);
15263 }
15264 if (obj9) {
d55e5bfc 15265 {
554f62e9
RD
15266 arg10 = wxString_in_helper(obj9);
15267 if (arg10 == NULL) SWIG_fail;
15268 temp10 = true;
d55e5bfc 15269 }
554f62e9
RD
15270 }
15271 {
15272 if (!wxPyCheckForApp()) SWIG_fail;
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15279 {
15280 if (temp3)
15281 delete arg3;
15282 }
15283 {
15284 if (temp10)
15285 delete arg10;
15286 }
15287 return resultobj;
15288fail:
15289 {
15290 if (temp3)
15291 delete arg3;
15292 }
15293 {
15294 if (temp10)
15295 delete arg10;
15296 }
15297 return NULL;
d55e5bfc
RD
15298}
15299
15300
554f62e9
RD
15301SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15302 PyObject *resultobj = 0;
15303 wxSpinCtrl *result = 0 ;
15304
15305 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15306 {
15307 if (!wxPyCheckForApp()) SWIG_fail;
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = (wxSpinCtrl *)new wxSpinCtrl();
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15314 return resultobj;
15315fail:
15316 return NULL;
15317}
15318
15319
15320SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj = 0;
15322 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15323 wxWindow *arg2 = (wxWindow *) 0 ;
15324 int arg3 = (int) -1 ;
15325 wxString const &arg4_defvalue = wxPyEmptyString ;
15326 wxString *arg4 = (wxString *) &arg4_defvalue ;
15327 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15328 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15329 wxSize const &arg6_defvalue = wxDefaultSize ;
15330 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15331 long arg7 = (long) wxSP_ARROW_KEYS ;
15332 int arg8 = (int) 0 ;
15333 int arg9 = (int) 100 ;
15334 int arg10 = (int) 0 ;
15335 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15336 wxString *arg11 = (wxString *) &arg11_defvalue ;
15337 bool result;
15338 void *argp1 = 0 ;
15339 int res1 = 0 ;
15340 void *argp2 = 0 ;
15341 int res2 = 0 ;
15342 int val3 ;
15343 int ecode3 = 0 ;
15344 bool temp4 = false ;
15345 wxPoint temp5 ;
15346 wxSize temp6 ;
15347 long val7 ;
15348 int ecode7 = 0 ;
15349 int val8 ;
15350 int ecode8 = 0 ;
15351 int val9 ;
15352 int ecode9 = 0 ;
15353 int val10 ;
15354 int ecode10 = 0 ;
15355 bool temp11 = false ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 PyObject * obj2 = 0 ;
15359 PyObject * obj3 = 0 ;
15360 PyObject * obj4 = 0 ;
15361 PyObject * obj5 = 0 ;
15362 PyObject * obj6 = 0 ;
15363 PyObject * obj7 = 0 ;
15364 PyObject * obj8 = 0 ;
15365 PyObject * obj9 = 0 ;
15366 PyObject * obj10 = 0 ;
15367 char * kwnames[] = {
15368 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15369 };
15370
15371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15373 if (!SWIG_IsOK(res1)) {
15374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15375 }
15376 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15378 if (!SWIG_IsOK(res2)) {
15379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15380 }
15381 arg2 = reinterpret_cast< wxWindow * >(argp2);
15382 if (obj2) {
15383 ecode3 = SWIG_AsVal_int(obj2, &val3);
15384 if (!SWIG_IsOK(ecode3)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15386 }
15387 arg3 = static_cast< int >(val3);
15388 }
15389 if (obj3) {
093d3ff1 15390 {
554f62e9
RD
15391 arg4 = wxString_in_helper(obj3);
15392 if (arg4 == NULL) SWIG_fail;
15393 temp4 = true;
093d3ff1 15394 }
554f62e9
RD
15395 }
15396 if (obj4) {
093d3ff1 15397 {
554f62e9
RD
15398 arg5 = &temp5;
15399 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 15400 }
554f62e9
RD
15401 }
15402 if (obj5) {
d55e5bfc 15403 {
554f62e9
RD
15404 arg6 = &temp6;
15405 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15406 }
554f62e9
RD
15407 }
15408 if (obj6) {
15409 ecode7 = SWIG_AsVal_long(obj6, &val7);
15410 if (!SWIG_IsOK(ecode7)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15412 }
15413 arg7 = static_cast< long >(val7);
15414 }
15415 if (obj7) {
15416 ecode8 = SWIG_AsVal_int(obj7, &val8);
15417 if (!SWIG_IsOK(ecode8)) {
15418 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15419 }
15420 arg8 = static_cast< int >(val8);
15421 }
15422 if (obj8) {
15423 ecode9 = SWIG_AsVal_int(obj8, &val9);
15424 if (!SWIG_IsOK(ecode9)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15426 }
15427 arg9 = static_cast< int >(val9);
15428 }
15429 if (obj9) {
15430 ecode10 = SWIG_AsVal_int(obj9, &val10);
15431 if (!SWIG_IsOK(ecode10)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15433 }
15434 arg10 = static_cast< int >(val10);
15435 }
15436 if (obj10) {
15437 {
15438 arg11 = wxString_in_helper(obj10);
15439 if (arg11 == NULL) SWIG_fail;
15440 temp11 = true;
15441 }
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15451 }
15452 {
15453 if (temp4)
15454 delete arg4;
15455 }
15456 {
15457 if (temp11)
15458 delete arg11;
15459 }
15460 return resultobj;
15461fail:
15462 {
15463 if (temp4)
15464 delete arg4;
15465 }
15466 {
15467 if (temp11)
15468 delete arg11;
15469 }
15470 return NULL;
d55e5bfc
RD
15471}
15472
15473
554f62e9
RD
15474SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15475 PyObject *resultobj = 0;
15476 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15477 int result;
15478 void *argp1 = 0 ;
15479 int res1 = 0 ;
15480 PyObject *swig_obj[1] ;
15481
15482 if (!args) SWIG_fail;
15483 swig_obj[0] = args;
15484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15485 if (!SWIG_IsOK(res1)) {
15486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15487 }
15488 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 resultobj = SWIG_From_int(static_cast< int >(result));
15496 return resultobj;
15497fail:
15498 return NULL;
15499}
15500
15501
15502SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj = 0;
15504 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15505 int arg2 ;
15506 void *argp1 = 0 ;
15507 int res1 = 0 ;
15508 int val2 ;
15509 int ecode2 = 0 ;
15510 PyObject * obj0 = 0 ;
15511 PyObject * obj1 = 0 ;
15512 char * kwnames[] = {
15513 (char *) "self",(char *) "value", NULL
15514 };
15515
15516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15518 if (!SWIG_IsOK(res1)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15520 }
15521 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15522 ecode2 = SWIG_AsVal_int(obj1, &val2);
15523 if (!SWIG_IsOK(ecode2)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15525 }
15526 arg2 = static_cast< int >(val2);
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 (arg1)->SetValue(arg2);
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = SWIG_Py_Void();
15534 return resultobj;
15535fail:
15536 return NULL;
15537}
15538
15539
15540SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj = 0;
15542 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15543 wxString *arg2 = 0 ;
15544 void *argp1 = 0 ;
15545 int res1 = 0 ;
15546 bool temp2 = false ;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 char * kwnames[] = {
15550 (char *) "self",(char *) "text", NULL
15551 };
15552
15553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15555 if (!SWIG_IsOK(res1)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15557 }
15558 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15559 {
15560 arg2 = wxString_in_helper(obj1);
15561 if (arg2 == NULL) SWIG_fail;
15562 temp2 = true;
15563 }
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 (arg1)->SetValue((wxString const &)*arg2);
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 resultobj = SWIG_Py_Void();
15571 {
15572 if (temp2)
15573 delete arg2;
15574 }
15575 return resultobj;
15576fail:
15577 {
15578 if (temp2)
15579 delete arg2;
15580 }
15581 return NULL;
15582}
15583
15584
15585SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15586 PyObject *resultobj = 0;
15587 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15588 int arg2 ;
15589 int arg3 ;
15590 void *argp1 = 0 ;
15591 int res1 = 0 ;
15592 int val2 ;
15593 int ecode2 = 0 ;
15594 int val3 ;
15595 int ecode3 = 0 ;
15596 PyObject * obj0 = 0 ;
15597 PyObject * obj1 = 0 ;
15598 PyObject * obj2 = 0 ;
15599 char * kwnames[] = {
15600 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15601 };
15602
15603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15605 if (!SWIG_IsOK(res1)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15607 }
15608 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15609 ecode2 = SWIG_AsVal_int(obj1, &val2);
15610 if (!SWIG_IsOK(ecode2)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15612 }
15613 arg2 = static_cast< int >(val2);
15614 ecode3 = SWIG_AsVal_int(obj2, &val3);
15615 if (!SWIG_IsOK(ecode3)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15617 }
15618 arg3 = static_cast< int >(val3);
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 (arg1)->SetRange(arg2,arg3);
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 resultobj = SWIG_Py_Void();
15626 return resultobj;
15627fail:
15628 return NULL;
d55e5bfc
RD
15629}
15630
15631
554f62e9
RD
15632SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15633 PyObject *resultobj = 0;
15634 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15635 int result;
15636 void *argp1 = 0 ;
15637 int res1 = 0 ;
15638 PyObject *swig_obj[1] ;
15639
15640 if (!args) SWIG_fail;
15641 swig_obj[0] = args;
15642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15643 if (!SWIG_IsOK(res1)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15645 }
15646 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 resultobj = SWIG_From_int(static_cast< int >(result));
15654 return resultobj;
15655fail:
15656 return NULL;
d55e5bfc
RD
15657}
15658
15659
554f62e9
RD
15660SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15661 PyObject *resultobj = 0;
15662 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15663 int result;
15664 void *argp1 = 0 ;
15665 int res1 = 0 ;
15666 PyObject *swig_obj[1] ;
15667
15668 if (!args) SWIG_fail;
15669 swig_obj[0] = args;
15670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15671 if (!SWIG_IsOK(res1)) {
15672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15673 }
15674 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 resultobj = SWIG_From_int(static_cast< int >(result));
15682 return resultobj;
15683fail:
15684 return NULL;
15685}
15686
15687
15688SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj = 0;
15690 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15691 long arg2 ;
15692 long arg3 ;
15693 void *argp1 = 0 ;
15694 int res1 = 0 ;
15695 long val2 ;
15696 int ecode2 = 0 ;
15697 long val3 ;
15698 int ecode3 = 0 ;
15699 PyObject * obj0 = 0 ;
15700 PyObject * obj1 = 0 ;
15701 PyObject * obj2 = 0 ;
15702 char * kwnames[] = {
f460c29d 15703 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15704 };
15705
15706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15708 if (!SWIG_IsOK(res1)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15710 }
15711 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15712 ecode2 = SWIG_AsVal_long(obj1, &val2);
15713 if (!SWIG_IsOK(ecode2)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15715 }
15716 arg2 = static_cast< long >(val2);
15717 ecode3 = SWIG_AsVal_long(obj2, &val3);
15718 if (!SWIG_IsOK(ecode3)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15720 }
15721 arg3 = static_cast< long >(val3);
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 (arg1)->SetSelection(arg2,arg3);
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 resultobj = SWIG_Py_Void();
15729 return resultobj;
15730fail:
15731 return NULL;
15732}
15733
15734
15735SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj = 0;
15737 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15738 SwigValueWrapper<wxVisualAttributes > result;
15739 int val1 ;
15740 int ecode1 = 0 ;
15741 PyObject * obj0 = 0 ;
15742 char * kwnames[] = {
15743 (char *) "variant", NULL
15744 };
15745
15746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15747 if (obj0) {
15748 ecode1 = SWIG_AsVal_int(obj0, &val1);
15749 if (!SWIG_IsOK(ecode1)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15751 }
15752 arg1 = static_cast< wxWindowVariant >(val1);
15753 }
15754 {
15755 if (!wxPyCheckForApp()) SWIG_fail;
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15762 return resultobj;
15763fail:
15764 return NULL;
d55e5bfc
RD
15765}
15766
15767
554f62e9
RD
15768SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15769 PyObject *obj;
15770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15771 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15772 return SWIG_Py_Void();
d55e5bfc
RD
15773}
15774
554f62e9
RD
15775SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15776 return SWIG_Python_InitShadowInstance(args);
15777}
d55e5bfc 15778
554f62e9
RD
15779SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj = 0;
15781 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15782 int arg2 = (int) 0 ;
15783 wxSpinEvent *result = 0 ;
15784 int val1 ;
15785 int ecode1 = 0 ;
15786 int val2 ;
15787 int ecode2 = 0 ;
15788 PyObject * obj0 = 0 ;
15789 PyObject * obj1 = 0 ;
15790 char * kwnames[] = {
15791 (char *) "commandType",(char *) "winid", NULL
15792 };
15793
15794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15795 if (obj0) {
15796 ecode1 = SWIG_AsVal_int(obj0, &val1);
15797 if (!SWIG_IsOK(ecode1)) {
15798 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15799 }
15800 arg1 = static_cast< wxEventType >(val1);
15801 }
15802 if (obj1) {
15803 ecode2 = SWIG_AsVal_int(obj1, &val2);
15804 if (!SWIG_IsOK(ecode2)) {
15805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15806 }
15807 arg2 = static_cast< int >(val2);
15808 }
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15816 return resultobj;
15817fail:
15818 return NULL;
d55e5bfc
RD
15819}
15820
15821
554f62e9
RD
15822SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15823 PyObject *resultobj = 0;
15824 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15825 int result;
15826 void *argp1 = 0 ;
15827 int res1 = 0 ;
15828 PyObject *swig_obj[1] ;
15829
15830 if (!args) SWIG_fail;
15831 swig_obj[0] = args;
15832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15833 if (!SWIG_IsOK(res1)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15835 }
15836 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = SWIG_From_int(static_cast< int >(result));
15844 return resultobj;
15845fail:
15846 return NULL;
15847}
15848
15849
15850SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj = 0;
15852 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15853 int arg2 ;
15854 void *argp1 = 0 ;
15855 int res1 = 0 ;
15856 int val2 ;
15857 int ecode2 = 0 ;
15858 PyObject * obj0 = 0 ;
15859 PyObject * obj1 = 0 ;
15860 char * kwnames[] = {
15861 (char *) "self",(char *) "pos", NULL
15862 };
15863
15864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15866 if (!SWIG_IsOK(res1)) {
15867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15868 }
15869 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15870 ecode2 = SWIG_AsVal_int(obj1, &val2);
15871 if (!SWIG_IsOK(ecode2)) {
15872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15873 }
15874 arg2 = static_cast< int >(val2);
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 (arg1)->SetPosition(arg2);
15878 wxPyEndAllowThreads(__tstate);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 }
15881 resultobj = SWIG_Py_Void();
15882 return resultobj;
15883fail:
15884 return NULL;
d55e5bfc
RD
15885}
15886
15887
554f62e9
RD
15888SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15889 PyObject *obj;
15890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15891 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15892 return SWIG_Py_Void();
d55e5bfc
RD
15893}
15894
554f62e9
RD
15895SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15896 return SWIG_Python_InitShadowInstance(args);
15897}
d55e5bfc 15898
554f62e9
RD
15899SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15900 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
15901 return 1;
d55e5bfc
RD
15902}
15903
15904
554f62e9
RD
15905SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
15906 PyObject *pyobj = 0;
15907
15908 {
15909#if wxUSE_UNICODE
15910 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15911#else
15912 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15913#endif
15914 }
15915 return pyobj;
d55e5bfc
RD
15916}
15917
15918
554f62e9
RD
15919SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
15920 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
15921 return 1;
15922}
15923
15924
15925SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
15926 PyObject *pyobj = 0;
15927
15928 {
15929#if wxUSE_UNICODE
15930 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15931#else
15932 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15933#endif
15934 }
15935 return pyobj;
15936}
15937
15938
15939SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj = 0;
15941 wxWindow *arg1 = (wxWindow *) 0 ;
15942 int arg2 = (int) -1 ;
15943 wxString const &arg3_defvalue = wxPyEmptyString ;
15944 wxString *arg3 = (wxString *) &arg3_defvalue ;
15945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15947 wxSize const &arg5_defvalue = wxDefaultSize ;
15948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15949 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15950 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15951 int arg7 = (int) 0 ;
15952 long arg8 = (long) wxRA_HORIZONTAL ;
15953 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15954 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15955 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
15956 wxString *arg10 = (wxString *) &arg10_defvalue ;
15957 wxRadioBox *result = 0 ;
15958 void *argp1 = 0 ;
15959 int res1 = 0 ;
15960 int val2 ;
15961 int ecode2 = 0 ;
15962 bool temp3 = false ;
15963 wxPoint temp4 ;
15964 wxSize temp5 ;
15965 bool temp6 = false ;
15966 int val7 ;
15967 int ecode7 = 0 ;
15968 long val8 ;
15969 int ecode8 = 0 ;
15970 void *argp9 = 0 ;
15971 int res9 = 0 ;
15972 bool temp10 = false ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 PyObject * obj2 = 0 ;
15976 PyObject * obj3 = 0 ;
15977 PyObject * obj4 = 0 ;
15978 PyObject * obj5 = 0 ;
15979 PyObject * obj6 = 0 ;
15980 PyObject * obj7 = 0 ;
15981 PyObject * obj8 = 0 ;
15982 PyObject * obj9 = 0 ;
15983 char * kwnames[] = {
15984 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15985 };
15986
15987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15989 if (!SWIG_IsOK(res1)) {
15990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15991 }
15992 arg1 = reinterpret_cast< wxWindow * >(argp1);
15993 if (obj1) {
15994 ecode2 = SWIG_AsVal_int(obj1, &val2);
15995 if (!SWIG_IsOK(ecode2)) {
15996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15997 }
15998 arg2 = static_cast< int >(val2);
15999 }
16000 if (obj2) {
093d3ff1 16001 {
554f62e9
RD
16002 arg3 = wxString_in_helper(obj2);
16003 if (arg3 == NULL) SWIG_fail;
16004 temp3 = true;
093d3ff1 16005 }
554f62e9
RD
16006 }
16007 if (obj3) {
093d3ff1 16008 {
554f62e9
RD
16009 arg4 = &temp4;
16010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 16011 }
554f62e9
RD
16012 }
16013 if (obj4) {
d55e5bfc 16014 {
554f62e9
RD
16015 arg5 = &temp5;
16016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16017 }
554f62e9
RD
16018 }
16019 if (obj5) {
d55e5bfc 16020 {
554f62e9
RD
16021 if (! PySequence_Check(obj5)) {
16022 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16023 SWIG_fail;
16024 }
16025 arg6 = new wxArrayString;
16026 temp6 = true;
16027 int i, len=PySequence_Length(obj5);
16028 for (i=0; i<len; i++) {
16029 PyObject* item = PySequence_GetItem(obj5, i);
16030 wxString* s = wxString_in_helper(item);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 arg6->Add(*s);
16033 delete s;
16034 Py_DECREF(item);
16035 }
d55e5bfc 16036 }
554f62e9
RD
16037 }
16038 if (obj6) {
16039 ecode7 = SWIG_AsVal_int(obj6, &val7);
16040 if (!SWIG_IsOK(ecode7)) {
16041 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16042 }
16043 arg7 = static_cast< int >(val7);
16044 }
16045 if (obj7) {
16046 ecode8 = SWIG_AsVal_long(obj7, &val8);
16047 if (!SWIG_IsOK(ecode8)) {
16048 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16049 }
16050 arg8 = static_cast< long >(val8);
16051 }
16052 if (obj8) {
16053 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16054 if (!SWIG_IsOK(res9)) {
16055 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16056 }
554f62e9
RD
16057 if (!argp9) {
16058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16059 }
554f62e9
RD
16060 arg9 = reinterpret_cast< wxValidator * >(argp9);
16061 }
16062 if (obj9) {
d55e5bfc 16063 {
554f62e9
RD
16064 arg10 = wxString_in_helper(obj9);
16065 if (arg10 == NULL) SWIG_fail;
16066 temp10 = true;
d55e5bfc 16067 }
554f62e9
RD
16068 }
16069 {
16070 if (!wxPyCheckForApp()) SWIG_fail;
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 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);
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16077 {
16078 if (temp3)
16079 delete arg3;
16080 }
16081 {
16082 if (temp6) delete arg6;
16083 }
16084 {
16085 if (temp10)
16086 delete arg10;
16087 }
16088 return resultobj;
16089fail:
16090 {
16091 if (temp3)
16092 delete arg3;
16093 }
16094 {
16095 if (temp6) delete arg6;
16096 }
16097 {
16098 if (temp10)
16099 delete arg10;
16100 }
16101 return NULL;
d55e5bfc
RD
16102}
16103
16104
554f62e9
RD
16105SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16106 PyObject *resultobj = 0;
16107 wxRadioBox *result = 0 ;
16108
16109 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16110 {
16111 if (!wxPyCheckForApp()) SWIG_fail;
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (wxRadioBox *)new wxRadioBox();
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16118 return resultobj;
16119fail:
16120 return NULL;
16121}
16122
16123
16124SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj = 0;
16126 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16127 wxWindow *arg2 = (wxWindow *) 0 ;
16128 int arg3 = (int) -1 ;
16129 wxString const &arg4_defvalue = wxPyEmptyString ;
16130 wxString *arg4 = (wxString *) &arg4_defvalue ;
16131 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16132 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16133 wxSize const &arg6_defvalue = wxDefaultSize ;
16134 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16135 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16136 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16137 int arg8 = (int) 0 ;
16138 long arg9 = (long) wxRA_HORIZONTAL ;
16139 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16140 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16141 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16142 wxString *arg11 = (wxString *) &arg11_defvalue ;
16143 bool result;
16144 void *argp1 = 0 ;
16145 int res1 = 0 ;
16146 void *argp2 = 0 ;
16147 int res2 = 0 ;
16148 int val3 ;
16149 int ecode3 = 0 ;
16150 bool temp4 = false ;
16151 wxPoint temp5 ;
16152 wxSize temp6 ;
16153 bool temp7 = false ;
16154 int val8 ;
16155 int ecode8 = 0 ;
16156 long val9 ;
16157 int ecode9 = 0 ;
16158 void *argp10 = 0 ;
16159 int res10 = 0 ;
16160 bool temp11 = false ;
16161 PyObject * obj0 = 0 ;
16162 PyObject * obj1 = 0 ;
16163 PyObject * obj2 = 0 ;
16164 PyObject * obj3 = 0 ;
16165 PyObject * obj4 = 0 ;
16166 PyObject * obj5 = 0 ;
16167 PyObject * obj6 = 0 ;
16168 PyObject * obj7 = 0 ;
16169 PyObject * obj8 = 0 ;
16170 PyObject * obj9 = 0 ;
16171 PyObject * obj10 = 0 ;
16172 char * kwnames[] = {
16173 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16174 };
16175
16176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16178 if (!SWIG_IsOK(res1)) {
16179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16180 }
16181 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16183 if (!SWIG_IsOK(res2)) {
16184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16185 }
16186 arg2 = reinterpret_cast< wxWindow * >(argp2);
16187 if (obj2) {
16188 ecode3 = SWIG_AsVal_int(obj2, &val3);
16189 if (!SWIG_IsOK(ecode3)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16191 }
16192 arg3 = static_cast< int >(val3);
16193 }
16194 if (obj3) {
093d3ff1 16195 {
554f62e9
RD
16196 arg4 = wxString_in_helper(obj3);
16197 if (arg4 == NULL) SWIG_fail;
16198 temp4 = true;
093d3ff1 16199 }
554f62e9
RD
16200 }
16201 if (obj4) {
d55e5bfc 16202 {
554f62e9
RD
16203 arg5 = &temp5;
16204 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16205 }
554f62e9
RD
16206 }
16207 if (obj5) {
093d3ff1 16208 {
554f62e9
RD
16209 arg6 = &temp6;
16210 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 16211 }
554f62e9
RD
16212 }
16213 if (obj6) {
093d3ff1 16214 {
554f62e9
RD
16215 if (! PySequence_Check(obj6)) {
16216 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16217 SWIG_fail;
16218 }
16219 arg7 = new wxArrayString;
16220 temp7 = true;
16221 int i, len=PySequence_Length(obj6);
16222 for (i=0; i<len; i++) {
16223 PyObject* item = PySequence_GetItem(obj6, i);
16224 wxString* s = wxString_in_helper(item);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 arg7->Add(*s);
16227 delete s;
16228 Py_DECREF(item);
16229 }
093d3ff1 16230 }
554f62e9
RD
16231 }
16232 if (obj7) {
16233 ecode8 = SWIG_AsVal_int(obj7, &val8);
16234 if (!SWIG_IsOK(ecode8)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16236 }
16237 arg8 = static_cast< int >(val8);
16238 }
16239 if (obj8) {
16240 ecode9 = SWIG_AsVal_long(obj8, &val9);
16241 if (!SWIG_IsOK(ecode9)) {
16242 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16243 }
16244 arg9 = static_cast< long >(val9);
16245 }
16246 if (obj9) {
16247 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16248 if (!SWIG_IsOK(res10)) {
16249 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 16250 }
554f62e9
RD
16251 if (!argp10) {
16252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 16253 }
554f62e9
RD
16254 arg10 = reinterpret_cast< wxValidator * >(argp10);
16255 }
16256 if (obj10) {
d55e5bfc 16257 {
554f62e9
RD
16258 arg11 = wxString_in_helper(obj10);
16259 if (arg11 == NULL) SWIG_fail;
16260 temp11 = true;
d55e5bfc 16261 }
554f62e9
RD
16262 }
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 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);
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 {
16270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16271 }
16272 {
16273 if (temp4)
16274 delete arg4;
16275 }
16276 {
16277 if (temp7) delete arg7;
16278 }
16279 {
16280 if (temp11)
16281 delete arg11;
16282 }
16283 return resultobj;
16284fail:
16285 {
16286 if (temp4)
16287 delete arg4;
16288 }
16289 {
16290 if (temp7) delete arg7;
16291 }
16292 {
16293 if (temp11)
16294 delete arg11;
16295 }
16296 return NULL;
16297}
16298
16299
16300SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj = 0;
16302 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16303 int arg2 ;
16304 void *argp1 = 0 ;
16305 int res1 = 0 ;
16306 int val2 ;
16307 int ecode2 = 0 ;
16308 PyObject * obj0 = 0 ;
16309 PyObject * obj1 = 0 ;
16310 char * kwnames[] = {
16311 (char *) "self",(char *) "n", NULL
16312 };
16313
16314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16316 if (!SWIG_IsOK(res1)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16318 }
16319 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16320 ecode2 = SWIG_AsVal_int(obj1, &val2);
16321 if (!SWIG_IsOK(ecode2)) {
16322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16323 }
16324 arg2 = static_cast< int >(val2);
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 (arg1)->SetSelection(arg2);
16328 wxPyEndAllowThreads(__tstate);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 resultobj = SWIG_Py_Void();
16332 return resultobj;
16333fail:
16334 return NULL;
d55e5bfc
RD
16335}
16336
16337
554f62e9
RD
16338SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16339 PyObject *resultobj = 0;
16340 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16341 int result;
16342 void *argp1 = 0 ;
16343 int res1 = 0 ;
16344 PyObject *swig_obj[1] ;
16345
16346 if (!args) SWIG_fail;
16347 swig_obj[0] = args;
16348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16349 if (!SWIG_IsOK(res1)) {
16350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16351 }
16352 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 resultobj = SWIG_From_int(static_cast< int >(result));
16360 return resultobj;
16361fail:
16362 return NULL;
4896ac9e
RD
16363}
16364
16365
554f62e9
RD
16366SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16367 PyObject *resultobj = 0;
16368 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16369 wxString result;
16370 void *argp1 = 0 ;
16371 int res1 = 0 ;
16372 PyObject *swig_obj[1] ;
16373
16374 if (!args) SWIG_fail;
16375 swig_obj[0] = args;
16376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16377 if (!SWIG_IsOK(res1)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16379 }
16380 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 {
16388#if wxUSE_UNICODE
16389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16390#else
16391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16392#endif
16393 }
16394 return resultobj;
16395fail:
16396 return NULL;
16397}
16398
16399
16400SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj = 0;
16402 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16403 wxString *arg2 = 0 ;
16404 bool result;
16405 void *argp1 = 0 ;
16406 int res1 = 0 ;
16407 bool temp2 = false ;
16408 PyObject * obj0 = 0 ;
16409 PyObject * obj1 = 0 ;
16410 char * kwnames[] = {
16411 (char *) "self",(char *) "s", NULL
16412 };
16413
16414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16416 if (!SWIG_IsOK(res1)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16418 }
16419 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16420 {
16421 arg2 = wxString_in_helper(obj1);
16422 if (arg2 == NULL) SWIG_fail;
16423 temp2 = true;
16424 }
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 {
16432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16433 }
16434 {
16435 if (temp2)
16436 delete arg2;
16437 }
16438 return resultobj;
16439fail:
16440 {
16441 if (temp2)
16442 delete arg2;
16443 }
16444 return NULL;
d55e5bfc
RD
16445}
16446
16447
554f62e9
RD
16448SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16449 PyObject *resultobj = 0;
16450 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16451 size_t result;
554f62e9
RD
16452 void *argp1 = 0 ;
16453 int res1 = 0 ;
16454 PyObject *swig_obj[1] ;
16455
16456 if (!args) SWIG_fail;
16457 swig_obj[0] = args;
16458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16459 if (!SWIG_IsOK(res1)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16461 }
16462 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16465 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
554f62e9
RD
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
1c71765a 16469 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
554f62e9
RD
16470 return resultobj;
16471fail:
16472 return NULL;
16473}
16474
16475
16476SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj = 0;
16478 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16479 wxString *arg2 = 0 ;
16480 int result;
16481 void *argp1 = 0 ;
16482 int res1 = 0 ;
16483 bool temp2 = false ;
16484 PyObject * obj0 = 0 ;
16485 PyObject * obj1 = 0 ;
16486 char * kwnames[] = {
16487 (char *) "self",(char *) "s", NULL
16488 };
16489
16490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",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_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16494 }
16495 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16496 {
16497 arg2 = wxString_in_helper(obj1);
16498 if (arg2 == NULL) SWIG_fail;
16499 temp2 = true;
16500 }
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 resultobj = SWIG_From_int(static_cast< int >(result));
16508 {
16509 if (temp2)
16510 delete arg2;
16511 }
16512 return resultobj;
16513fail:
16514 {
16515 if (temp2)
16516 delete arg2;
16517 }
16518 return NULL;
16519}
16520
16521
16522SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj = 0;
16524 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16525 int arg2 ;
16526 wxString result;
16527 void *argp1 = 0 ;
16528 int res1 = 0 ;
16529 int val2 ;
16530 int ecode2 = 0 ;
16531 PyObject * obj0 = 0 ;
16532 PyObject * obj1 = 0 ;
16533 char * kwnames[] = {
16534 (char *) "self",(char *) "n", NULL
16535 };
16536
16537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16539 if (!SWIG_IsOK(res1)) {
16540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16541 }
16542 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16543 ecode2 = SWIG_AsVal_int(obj1, &val2);
16544 if (!SWIG_IsOK(ecode2)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16546 }
16547 arg2 = static_cast< int >(val2);
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 {
16555#if wxUSE_UNICODE
16556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16557#else
16558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16559#endif
16560 }
16561 return resultobj;
16562fail:
16563 return NULL;
16564}
16565
16566
16567SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj = 0;
16569 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16570 int arg2 ;
16571 wxString *arg3 = 0 ;
16572 void *argp1 = 0 ;
16573 int res1 = 0 ;
16574 int val2 ;
16575 int ecode2 = 0 ;
16576 bool temp3 = false ;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 PyObject * obj2 = 0 ;
16580 char * kwnames[] = {
16581 (char *) "self",(char *) "n",(char *) "label", NULL
16582 };
16583
16584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16586 if (!SWIG_IsOK(res1)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16588 }
16589 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16590 ecode2 = SWIG_AsVal_int(obj1, &val2);
16591 if (!SWIG_IsOK(ecode2)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16593 }
16594 arg2 = static_cast< int >(val2);
16595 {
16596 arg3 = wxString_in_helper(obj2);
16597 if (arg3 == NULL) SWIG_fail;
16598 temp3 = true;
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 (arg1)->SetString(arg2,(wxString const &)*arg3);
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 resultobj = SWIG_Py_Void();
16607 {
16608 if (temp3)
16609 delete arg3;
16610 }
16611 return resultobj;
16612fail:
16613 {
16614 if (temp3)
16615 delete arg3;
16616 }
16617 return NULL;
16618}
16619
16620
16621SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj = 0;
16623 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16624 unsigned int arg2 ;
554f62e9
RD
16625 bool arg3 = (bool) true ;
16626 void *argp1 = 0 ;
16627 int res1 = 0 ;
50f151d7 16628 unsigned int val2 ;
554f62e9
RD
16629 int ecode2 = 0 ;
16630 bool val3 ;
16631 int ecode3 = 0 ;
16632 PyObject * obj0 = 0 ;
16633 PyObject * obj1 = 0 ;
16634 PyObject * obj2 = 0 ;
16635 char * kwnames[] = {
16636 (char *) "self",(char *) "n",(char *) "enable", NULL
16637 };
16638
16639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16641 if (!SWIG_IsOK(res1)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16643 }
16644 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16645 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16646 if (!SWIG_IsOK(ecode2)) {
50f151d7 16647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16648 }
50f151d7 16649 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16650 if (obj2) {
16651 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16652 if (!SWIG_IsOK(ecode3)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16654 }
16655 arg3 = static_cast< bool >(val3);
16656 }
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 (arg1)->Enable(arg2,arg3);
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 resultobj = SWIG_Py_Void();
16664 return resultobj;
16665fail:
16666 return NULL;
16667}
16668
16669
16670SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj = 0;
16672 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16673 unsigned int arg2 ;
554f62e9
RD
16674 bool arg3 = (bool) true ;
16675 void *argp1 = 0 ;
16676 int res1 = 0 ;
50f151d7 16677 unsigned int val2 ;
554f62e9
RD
16678 int ecode2 = 0 ;
16679 bool val3 ;
16680 int ecode3 = 0 ;
16681 PyObject * obj0 = 0 ;
16682 PyObject * obj1 = 0 ;
16683 PyObject * obj2 = 0 ;
16684 char * kwnames[] = {
16685 (char *) "self",(char *) "n",(char *) "show", NULL
16686 };
16687
16688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16690 if (!SWIG_IsOK(res1)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16692 }
16693 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16694 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16695 if (!SWIG_IsOK(ecode2)) {
50f151d7 16696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16697 }
50f151d7 16698 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16699 if (obj2) {
16700 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16701 if (!SWIG_IsOK(ecode3)) {
16702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16703 }
16704 arg3 = static_cast< bool >(val3);
16705 }
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 (arg1)->Show(arg2,arg3);
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 resultobj = SWIG_Py_Void();
16713 return resultobj;
16714fail:
16715 return NULL;
d55e5bfc
RD
16716}
16717
16718
50f151d7
RD
16719SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj = 0;
16721 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16722 unsigned int arg2 ;
16723 bool result;
16724 void *argp1 = 0 ;
16725 int res1 = 0 ;
16726 unsigned int val2 ;
16727 int ecode2 = 0 ;
16728 PyObject * obj0 = 0 ;
16729 PyObject * obj1 = 0 ;
16730 char * kwnames[] = {
16731 (char *) "self",(char *) "n", NULL
16732 };
16733
16734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16736 if (!SWIG_IsOK(res1)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16738 }
16739 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16740 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16741 if (!SWIG_IsOK(ecode2)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16743 }
16744 arg2 = static_cast< unsigned int >(val2);
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 {
16752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16753 }
16754 return resultobj;
16755fail:
16756 return NULL;
16757}
16758
16759
16760SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj = 0;
16762 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16763 unsigned int arg2 ;
16764 bool result;
16765 void *argp1 = 0 ;
16766 int res1 = 0 ;
16767 unsigned int val2 ;
16768 int ecode2 = 0 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 char * kwnames[] = {
16772 (char *) "self",(char *) "n", NULL
16773 };
16774
16775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16777 if (!SWIG_IsOK(res1)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16779 }
16780 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16781 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16782 if (!SWIG_IsOK(ecode2)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16784 }
16785 arg2 = static_cast< unsigned int >(val2);
16786 {
16787 PyThreadState* __tstate = wxPyBeginAllowThreads();
16788 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 {
16793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16794 }
16795 return resultobj;
16796fail:
16797 return NULL;
16798}
16799
16800
554f62e9
RD
16801SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16802 PyObject *resultobj = 0;
16803 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16804 unsigned int result;
554f62e9
RD
16805 void *argp1 = 0 ;
16806 int res1 = 0 ;
16807 PyObject *swig_obj[1] ;
16808
16809 if (!args) SWIG_fail;
16810 swig_obj[0] = args;
16811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16812 if (!SWIG_IsOK(res1)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16814 }
16815 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16818 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
554f62e9
RD
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
50f151d7 16822 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
16823 return resultobj;
16824fail:
16825 return NULL;
d55e5bfc
RD
16826}
16827
16828
554f62e9
RD
16829SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16830 PyObject *resultobj = 0;
16831 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16832 unsigned int result;
554f62e9
RD
16833 void *argp1 = 0 ;
16834 int res1 = 0 ;
16835 PyObject *swig_obj[1] ;
16836
16837 if (!args) SWIG_fail;
16838 swig_obj[0] = args;
16839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16840 if (!SWIG_IsOK(res1)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16842 }
16843 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16846 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
554f62e9
RD
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
50f151d7 16850 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
16851 return resultobj;
16852fail:
16853 return NULL;
16854}
16855
16856
16857SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj = 0;
16859 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16860 int arg2 ;
16861 wxDirection arg3 ;
16862 long arg4 ;
16863 int result;
16864 void *argp1 = 0 ;
16865 int res1 = 0 ;
16866 int val2 ;
16867 int ecode2 = 0 ;
16868 int val3 ;
16869 int ecode3 = 0 ;
16870 long val4 ;
16871 int ecode4 = 0 ;
16872 PyObject * obj0 = 0 ;
16873 PyObject * obj1 = 0 ;
16874 PyObject * obj2 = 0 ;
16875 PyObject * obj3 = 0 ;
16876 char * kwnames[] = {
16877 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16878 };
16879
16880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16882 if (!SWIG_IsOK(res1)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16884 }
16885 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16886 ecode2 = SWIG_AsVal_int(obj1, &val2);
16887 if (!SWIG_IsOK(ecode2)) {
16888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16889 }
16890 arg2 = static_cast< int >(val2);
16891 ecode3 = SWIG_AsVal_int(obj2, &val3);
16892 if (!SWIG_IsOK(ecode3)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16894 }
16895 arg3 = static_cast< wxDirection >(val3);
16896 ecode4 = SWIG_AsVal_long(obj3, &val4);
16897 if (!SWIG_IsOK(ecode4)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16899 }
16900 arg4 = static_cast< long >(val4);
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 resultobj = SWIG_From_int(static_cast< int >(result));
16908 return resultobj;
16909fail:
16910 return NULL;
16911}
16912
16913
f460c29d
RD
16914SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj = 0;
16916 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16917 unsigned int arg2 ;
16918 wxString *arg3 = 0 ;
16919 void *argp1 = 0 ;
16920 int res1 = 0 ;
16921 unsigned int val2 ;
16922 int ecode2 = 0 ;
16923 bool temp3 = false ;
16924 PyObject * obj0 = 0 ;
16925 PyObject * obj1 = 0 ;
16926 PyObject * obj2 = 0 ;
16927 char * kwnames[] = {
16928 (char *) "self",(char *) "item",(char *) "text", NULL
16929 };
16930
16931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16933 if (!SWIG_IsOK(res1)) {
16934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16935 }
16936 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16937 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16938 if (!SWIG_IsOK(ecode2)) {
16939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16940 }
16941 arg2 = static_cast< unsigned int >(val2);
16942 {
16943 arg3 = wxString_in_helper(obj2);
16944 if (arg3 == NULL) SWIG_fail;
16945 temp3 = true;
16946 }
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 resultobj = SWIG_Py_Void();
16954 {
16955 if (temp3)
16956 delete arg3;
16957 }
16958 return resultobj;
16959fail:
16960 {
16961 if (temp3)
16962 delete arg3;
16963 }
16964 return NULL;
16965}
16966
16967
16968SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj = 0;
16970 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16971 unsigned int arg2 ;
16972 wxToolTip *result = 0 ;
16973 void *argp1 = 0 ;
16974 int res1 = 0 ;
16975 unsigned int val2 ;
16976 int ecode2 = 0 ;
16977 PyObject * obj0 = 0 ;
16978 PyObject * obj1 = 0 ;
16979 char * kwnames[] = {
16980 (char *) "self",(char *) "item", NULL
16981 };
16982
16983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
16984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16985 if (!SWIG_IsOK(res1)) {
16986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16987 }
16988 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16989 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16990 if (!SWIG_IsOK(ecode2)) {
16991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16992 }
16993 arg2 = static_cast< unsigned int >(val2);
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
17001 resultobj = wxPyMake_wxObject(result, (bool)0);
17002 }
17003 return resultobj;
17004fail:
17005 return NULL;
17006}
17007
17008
b850e7f3
RD
17009SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17010 PyObject *resultobj = 0;
17011 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17012 unsigned int arg2 ;
17013 wxString *arg3 = 0 ;
17014 void *argp1 = 0 ;
17015 int res1 = 0 ;
17016 unsigned int val2 ;
17017 int ecode2 = 0 ;
17018 bool temp3 = false ;
17019 PyObject * obj0 = 0 ;
17020 PyObject * obj1 = 0 ;
17021 PyObject * obj2 = 0 ;
17022 char * kwnames[] = {
17023 (char *) "self",(char *) "n",(char *) "helpText", NULL
17024 };
17025
17026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17028 if (!SWIG_IsOK(res1)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17030 }
17031 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17032 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17033 if (!SWIG_IsOK(ecode2)) {
17034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17035 }
17036 arg2 = static_cast< unsigned int >(val2);
17037 {
17038 arg3 = wxString_in_helper(obj2);
17039 if (arg3 == NULL) SWIG_fail;
17040 temp3 = true;
17041 }
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17045 wxPyEndAllowThreads(__tstate);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
17048 resultobj = SWIG_Py_Void();
17049 {
17050 if (temp3)
17051 delete arg3;
17052 }
17053 return resultobj;
17054fail:
17055 {
17056 if (temp3)
17057 delete arg3;
17058 }
17059 return NULL;
17060}
17061
17062
17063SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj = 0;
17065 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17066 unsigned int arg2 ;
17067 wxString result;
17068 void *argp1 = 0 ;
17069 int res1 = 0 ;
17070 unsigned int val2 ;
17071 int ecode2 = 0 ;
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 char * kwnames[] = {
17075 (char *) "self",(char *) "n", NULL
17076 };
17077
17078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17080 if (!SWIG_IsOK(res1)) {
17081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17082 }
17083 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17084 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17085 if (!SWIG_IsOK(ecode2)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17087 }
17088 arg2 = static_cast< unsigned int >(val2);
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 {
17096#if wxUSE_UNICODE
17097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17098#else
17099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17100#endif
17101 }
17102 return resultobj;
17103fail:
17104 return NULL;
17105}
17106
17107
554f62e9
RD
17108SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj = 0;
17110 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17111 SwigValueWrapper<wxVisualAttributes > result;
17112 int val1 ;
17113 int ecode1 = 0 ;
17114 PyObject * obj0 = 0 ;
17115 char * kwnames[] = {
17116 (char *) "variant", NULL
17117 };
17118
17119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17120 if (obj0) {
17121 ecode1 = SWIG_AsVal_int(obj0, &val1);
17122 if (!SWIG_IsOK(ecode1)) {
17123 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17124 }
17125 arg1 = static_cast< wxWindowVariant >(val1);
17126 }
17127 {
17128 if (!wxPyCheckForApp()) SWIG_fail;
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17135 return resultobj;
17136fail:
17137 return NULL;
17138}
17139
17140
17141SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17142 PyObject *obj;
17143 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17144 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17145 return SWIG_Py_Void();
17146}
17147
17148SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17149 return SWIG_Python_InitShadowInstance(args);
17150}
17151
17152SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj = 0;
17154 wxWindow *arg1 = (wxWindow *) 0 ;
17155 int arg2 = (int) -1 ;
17156 wxString const &arg3_defvalue = wxPyEmptyString ;
17157 wxString *arg3 = (wxString *) &arg3_defvalue ;
17158 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17159 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17160 wxSize const &arg5_defvalue = wxDefaultSize ;
17161 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17162 long arg6 = (long) 0 ;
17163 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17164 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17165 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17166 wxString *arg8 = (wxString *) &arg8_defvalue ;
17167 wxRadioButton *result = 0 ;
17168 void *argp1 = 0 ;
17169 int res1 = 0 ;
17170 int val2 ;
17171 int ecode2 = 0 ;
17172 bool temp3 = false ;
17173 wxPoint temp4 ;
17174 wxSize temp5 ;
17175 long val6 ;
17176 int ecode6 = 0 ;
17177 void *argp7 = 0 ;
17178 int res7 = 0 ;
17179 bool temp8 = false ;
17180 PyObject * obj0 = 0 ;
17181 PyObject * obj1 = 0 ;
17182 PyObject * obj2 = 0 ;
17183 PyObject * obj3 = 0 ;
17184 PyObject * obj4 = 0 ;
17185 PyObject * obj5 = 0 ;
17186 PyObject * obj6 = 0 ;
17187 PyObject * obj7 = 0 ;
17188 char * kwnames[] = {
17189 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17190 };
17191
17192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17194 if (!SWIG_IsOK(res1)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17196 }
17197 arg1 = reinterpret_cast< wxWindow * >(argp1);
17198 if (obj1) {
17199 ecode2 = SWIG_AsVal_int(obj1, &val2);
17200 if (!SWIG_IsOK(ecode2)) {
17201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17202 }
17203 arg2 = static_cast< int >(val2);
17204 }
17205 if (obj2) {
d55e5bfc 17206 {
554f62e9
RD
17207 arg3 = wxString_in_helper(obj2);
17208 if (arg3 == NULL) SWIG_fail;
17209 temp3 = true;
d55e5bfc 17210 }
554f62e9
RD
17211 }
17212 if (obj3) {
d55e5bfc 17213 {
554f62e9
RD
17214 arg4 = &temp4;
17215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17216 }
554f62e9
RD
17217 }
17218 if (obj4) {
d55e5bfc 17219 {
554f62e9
RD
17220 arg5 = &temp5;
17221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17222 }
554f62e9
RD
17223 }
17224 if (obj5) {
17225 ecode6 = SWIG_AsVal_long(obj5, &val6);
17226 if (!SWIG_IsOK(ecode6)) {
17227 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17228 }
17229 arg6 = static_cast< long >(val6);
17230 }
17231 if (obj6) {
17232 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17233 if (!SWIG_IsOK(res7)) {
17234 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17235 }
554f62e9
RD
17236 if (!argp7) {
17237 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17238 }
554f62e9
RD
17239 arg7 = reinterpret_cast< wxValidator * >(argp7);
17240 }
17241 if (obj7) {
d55e5bfc 17242 {
554f62e9
RD
17243 arg8 = wxString_in_helper(obj7);
17244 if (arg8 == NULL) SWIG_fail;
17245 temp8 = true;
d55e5bfc 17246 }
554f62e9
RD
17247 }
17248 {
17249 if (!wxPyCheckForApp()) SWIG_fail;
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17252 wxPyEndAllowThreads(__tstate);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 }
17255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17256 {
17257 if (temp3)
17258 delete arg3;
17259 }
17260 {
17261 if (temp8)
17262 delete arg8;
17263 }
17264 return resultobj;
17265fail:
17266 {
17267 if (temp3)
17268 delete arg3;
17269 }
17270 {
17271 if (temp8)
17272 delete arg8;
17273 }
17274 return NULL;
d55e5bfc
RD
17275}
17276
17277
554f62e9
RD
17278SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17279 PyObject *resultobj = 0;
17280 wxRadioButton *result = 0 ;
17281
17282 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17283 {
17284 if (!wxPyCheckForApp()) SWIG_fail;
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = (wxRadioButton *)new wxRadioButton();
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17291 return resultobj;
17292fail:
17293 return NULL;
17294}
17295
17296
17297SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj = 0;
17299 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17300 wxWindow *arg2 = (wxWindow *) 0 ;
17301 int arg3 = (int) -1 ;
17302 wxString const &arg4_defvalue = wxPyEmptyString ;
17303 wxString *arg4 = (wxString *) &arg4_defvalue ;
17304 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17305 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17306 wxSize const &arg6_defvalue = wxDefaultSize ;
17307 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17308 long arg7 = (long) 0 ;
17309 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17310 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17311 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17312 wxString *arg9 = (wxString *) &arg9_defvalue ;
17313 bool result;
17314 void *argp1 = 0 ;
17315 int res1 = 0 ;
17316 void *argp2 = 0 ;
17317 int res2 = 0 ;
17318 int val3 ;
17319 int ecode3 = 0 ;
17320 bool temp4 = false ;
17321 wxPoint temp5 ;
17322 wxSize temp6 ;
17323 long val7 ;
17324 int ecode7 = 0 ;
17325 void *argp8 = 0 ;
17326 int res8 = 0 ;
17327 bool temp9 = false ;
17328 PyObject * obj0 = 0 ;
17329 PyObject * obj1 = 0 ;
17330 PyObject * obj2 = 0 ;
17331 PyObject * obj3 = 0 ;
17332 PyObject * obj4 = 0 ;
17333 PyObject * obj5 = 0 ;
17334 PyObject * obj6 = 0 ;
17335 PyObject * obj7 = 0 ;
17336 PyObject * obj8 = 0 ;
17337 char * kwnames[] = {
17338 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17339 };
17340
17341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17343 if (!SWIG_IsOK(res1)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17345 }
17346 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17348 if (!SWIG_IsOK(res2)) {
17349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17350 }
17351 arg2 = reinterpret_cast< wxWindow * >(argp2);
17352 if (obj2) {
17353 ecode3 = SWIG_AsVal_int(obj2, &val3);
17354 if (!SWIG_IsOK(ecode3)) {
17355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17356 }
17357 arg3 = static_cast< int >(val3);
17358 }
17359 if (obj3) {
d55e5bfc 17360 {
554f62e9
RD
17361 arg4 = wxString_in_helper(obj3);
17362 if (arg4 == NULL) SWIG_fail;
17363 temp4 = true;
d55e5bfc 17364 }
554f62e9
RD
17365 }
17366 if (obj4) {
d55e5bfc 17367 {
554f62e9
RD
17368 arg5 = &temp5;
17369 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17370 }
554f62e9
RD
17371 }
17372 if (obj5) {
d55e5bfc 17373 {
554f62e9
RD
17374 arg6 = &temp6;
17375 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17376 }
554f62e9
RD
17377 }
17378 if (obj6) {
17379 ecode7 = SWIG_AsVal_long(obj6, &val7);
17380 if (!SWIG_IsOK(ecode7)) {
17381 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17382 }
17383 arg7 = static_cast< long >(val7);
17384 }
17385 if (obj7) {
17386 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17387 if (!SWIG_IsOK(res8)) {
17388 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17389 }
17390 if (!argp8) {
17391 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17392 }
554f62e9
RD
17393 arg8 = reinterpret_cast< wxValidator * >(argp8);
17394 }
17395 if (obj8) {
d55e5bfc 17396 {
554f62e9
RD
17397 arg9 = wxString_in_helper(obj8);
17398 if (arg9 == NULL) SWIG_fail;
17399 temp9 = true;
d55e5bfc 17400 }
554f62e9
RD
17401 }
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17405 wxPyEndAllowThreads(__tstate);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 {
17409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17410 }
17411 {
17412 if (temp4)
17413 delete arg4;
17414 }
17415 {
17416 if (temp9)
17417 delete arg9;
17418 }
17419 return resultobj;
17420fail:
17421 {
17422 if (temp4)
17423 delete arg4;
17424 }
17425 {
17426 if (temp9)
17427 delete arg9;
17428 }
17429 return NULL;
d55e5bfc
RD
17430}
17431
17432
554f62e9
RD
17433SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17434 PyObject *resultobj = 0;
17435 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17436 bool result;
17437 void *argp1 = 0 ;
17438 int res1 = 0 ;
17439 PyObject *swig_obj[1] ;
17440
17441 if (!args) SWIG_fail;
17442 swig_obj[0] = args;
17443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17444 if (!SWIG_IsOK(res1)) {
17445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17446 }
17447 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17448 {
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = (bool)(arg1)->GetValue();
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 {
17455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17456 }
17457 return resultobj;
17458fail:
17459 return NULL;
17460}
17461
17462
17463SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj = 0;
17465 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17466 bool arg2 ;
17467 void *argp1 = 0 ;
17468 int res1 = 0 ;
17469 bool val2 ;
17470 int ecode2 = 0 ;
17471 PyObject * obj0 = 0 ;
17472 PyObject * obj1 = 0 ;
17473 char * kwnames[] = {
17474 (char *) "self",(char *) "value", NULL
17475 };
17476
17477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17479 if (!SWIG_IsOK(res1)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17481 }
17482 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17483 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17484 if (!SWIG_IsOK(ecode2)) {
17485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17486 }
17487 arg2 = static_cast< bool >(val2);
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 (arg1)->SetValue(arg2);
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 resultobj = SWIG_Py_Void();
17495 return resultobj;
17496fail:
17497 return NULL;
17498}
17499
17500
17501SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17502 PyObject *resultobj = 0;
17503 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17504 SwigValueWrapper<wxVisualAttributes > result;
17505 int val1 ;
17506 int ecode1 = 0 ;
17507 PyObject * obj0 = 0 ;
17508 char * kwnames[] = {
17509 (char *) "variant", NULL
17510 };
17511
17512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17513 if (obj0) {
17514 ecode1 = SWIG_AsVal_int(obj0, &val1);
17515 if (!SWIG_IsOK(ecode1)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17517 }
17518 arg1 = static_cast< wxWindowVariant >(val1);
17519 }
17520 {
17521 if (!wxPyCheckForApp()) SWIG_fail;
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17528 return resultobj;
17529fail:
17530 return NULL;
d55e5bfc
RD
17531}
17532
17533
554f62e9
RD
17534SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17535 PyObject *obj;
17536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17537 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17538 return SWIG_Py_Void();
d55e5bfc
RD
17539}
17540
554f62e9
RD
17541SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17542 return SWIG_Python_InitShadowInstance(args);
17543}
d55e5bfc 17544
554f62e9
RD
17545SWIGINTERN int SliderNameStr_set(PyObject *) {
17546 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17547 return 1;
d55e5bfc
RD
17548}
17549
17550
554f62e9
RD
17551SWIGINTERN PyObject *SliderNameStr_get(void) {
17552 PyObject *pyobj = 0;
17553
17554 {
17555#if wxUSE_UNICODE
17556 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17557#else
17558 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17559#endif
17560 }
17561 return pyobj;
17562}
17563
17564
17565SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj = 0;
17567 wxWindow *arg1 = (wxWindow *) 0 ;
17568 int arg2 = (int) -1 ;
17569 int arg3 = (int) 0 ;
17570 int arg4 = (int) 0 ;
17571 int arg5 = (int) 100 ;
17572 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17573 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17574 wxSize const &arg7_defvalue = wxDefaultSize ;
17575 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17576 long arg8 = (long) wxSL_HORIZONTAL ;
17577 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17578 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17579 wxString const &arg10_defvalue = wxPySliderNameStr ;
17580 wxString *arg10 = (wxString *) &arg10_defvalue ;
17581 wxSlider *result = 0 ;
17582 void *argp1 = 0 ;
17583 int res1 = 0 ;
17584 int val2 ;
17585 int ecode2 = 0 ;
17586 int val3 ;
17587 int ecode3 = 0 ;
17588 int val4 ;
17589 int ecode4 = 0 ;
17590 int val5 ;
17591 int ecode5 = 0 ;
17592 wxPoint temp6 ;
17593 wxSize temp7 ;
17594 long val8 ;
17595 int ecode8 = 0 ;
17596 void *argp9 = 0 ;
17597 int res9 = 0 ;
17598 bool temp10 = false ;
17599 PyObject * obj0 = 0 ;
17600 PyObject * obj1 = 0 ;
17601 PyObject * obj2 = 0 ;
17602 PyObject * obj3 = 0 ;
17603 PyObject * obj4 = 0 ;
17604 PyObject * obj5 = 0 ;
17605 PyObject * obj6 = 0 ;
17606 PyObject * obj7 = 0 ;
17607 PyObject * obj8 = 0 ;
17608 PyObject * obj9 = 0 ;
17609 char * kwnames[] = {
17610 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17611 };
17612
17613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17615 if (!SWIG_IsOK(res1)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17617 }
17618 arg1 = reinterpret_cast< wxWindow * >(argp1);
17619 if (obj1) {
17620 ecode2 = SWIG_AsVal_int(obj1, &val2);
17621 if (!SWIG_IsOK(ecode2)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17623 }
17624 arg2 = static_cast< int >(val2);
17625 }
17626 if (obj2) {
17627 ecode3 = SWIG_AsVal_int(obj2, &val3);
17628 if (!SWIG_IsOK(ecode3)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17630 }
17631 arg3 = static_cast< int >(val3);
17632 }
17633 if (obj3) {
17634 ecode4 = SWIG_AsVal_int(obj3, &val4);
17635 if (!SWIG_IsOK(ecode4)) {
17636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17637 }
17638 arg4 = static_cast< int >(val4);
17639 }
17640 if (obj4) {
17641 ecode5 = SWIG_AsVal_int(obj4, &val5);
17642 if (!SWIG_IsOK(ecode5)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17644 }
17645 arg5 = static_cast< int >(val5);
17646 }
17647 if (obj5) {
d55e5bfc 17648 {
554f62e9
RD
17649 arg6 = &temp6;
17650 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17651 }
554f62e9
RD
17652 }
17653 if (obj6) {
093d3ff1 17654 {
554f62e9
RD
17655 arg7 = &temp7;
17656 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17657 }
554f62e9
RD
17658 }
17659 if (obj7) {
17660 ecode8 = SWIG_AsVal_long(obj7, &val8);
17661 if (!SWIG_IsOK(ecode8)) {
17662 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17663 }
17664 arg8 = static_cast< long >(val8);
17665 }
17666 if (obj8) {
17667 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17668 if (!SWIG_IsOK(res9)) {
17669 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17670 }
554f62e9
RD
17671 if (!argp9) {
17672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17673 }
554f62e9
RD
17674 arg9 = reinterpret_cast< wxValidator * >(argp9);
17675 }
17676 if (obj9) {
d55e5bfc 17677 {
554f62e9
RD
17678 arg10 = wxString_in_helper(obj9);
17679 if (arg10 == NULL) SWIG_fail;
17680 temp10 = true;
d55e5bfc 17681 }
554f62e9
RD
17682 }
17683 {
17684 if (!wxPyCheckForApp()) SWIG_fail;
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17691 {
17692 if (temp10)
17693 delete arg10;
17694 }
17695 return resultobj;
17696fail:
17697 {
17698 if (temp10)
17699 delete arg10;
17700 }
17701 return NULL;
d55e5bfc
RD
17702}
17703
17704
554f62e9
RD
17705SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17706 PyObject *resultobj = 0;
17707 wxSlider *result = 0 ;
17708
17709 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17710 {
17711 if (!wxPyCheckForApp()) SWIG_fail;
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 result = (wxSlider *)new wxSlider();
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17718 return resultobj;
17719fail:
17720 return NULL;
17721}
17722
17723
17724SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17725 PyObject *resultobj = 0;
17726 wxSlider *arg1 = (wxSlider *) 0 ;
17727 wxWindow *arg2 = (wxWindow *) 0 ;
17728 int arg3 = (int) -1 ;
17729 int arg4 = (int) 0 ;
17730 int arg5 = (int) 0 ;
17731 int arg6 = (int) 100 ;
17732 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17733 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17734 wxSize const &arg8_defvalue = wxDefaultSize ;
17735 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17736 long arg9 = (long) wxSL_HORIZONTAL ;
17737 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17738 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17739 wxString const &arg11_defvalue = wxPySliderNameStr ;
17740 wxString *arg11 = (wxString *) &arg11_defvalue ;
17741 bool result;
17742 void *argp1 = 0 ;
17743 int res1 = 0 ;
17744 void *argp2 = 0 ;
17745 int res2 = 0 ;
17746 int val3 ;
17747 int ecode3 = 0 ;
17748 int val4 ;
17749 int ecode4 = 0 ;
17750 int val5 ;
17751 int ecode5 = 0 ;
17752 int val6 ;
17753 int ecode6 = 0 ;
17754 wxPoint temp7 ;
17755 wxSize temp8 ;
17756 long val9 ;
17757 int ecode9 = 0 ;
17758 void *argp10 = 0 ;
17759 int res10 = 0 ;
17760 bool temp11 = false ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 PyObject * obj2 = 0 ;
17764 PyObject * obj3 = 0 ;
17765 PyObject * obj4 = 0 ;
17766 PyObject * obj5 = 0 ;
17767 PyObject * obj6 = 0 ;
17768 PyObject * obj7 = 0 ;
17769 PyObject * obj8 = 0 ;
17770 PyObject * obj9 = 0 ;
17771 PyObject * obj10 = 0 ;
17772 char * kwnames[] = {
17773 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17774 };
17775
17776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17778 if (!SWIG_IsOK(res1)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17780 }
17781 arg1 = reinterpret_cast< wxSlider * >(argp1);
17782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17783 if (!SWIG_IsOK(res2)) {
17784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17785 }
17786 arg2 = reinterpret_cast< wxWindow * >(argp2);
17787 if (obj2) {
17788 ecode3 = SWIG_AsVal_int(obj2, &val3);
17789 if (!SWIG_IsOK(ecode3)) {
17790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17791 }
17792 arg3 = static_cast< int >(val3);
17793 }
17794 if (obj3) {
17795 ecode4 = SWIG_AsVal_int(obj3, &val4);
17796 if (!SWIG_IsOK(ecode4)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17798 }
17799 arg4 = static_cast< int >(val4);
17800 }
17801 if (obj4) {
17802 ecode5 = SWIG_AsVal_int(obj4, &val5);
17803 if (!SWIG_IsOK(ecode5)) {
17804 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17805 }
17806 arg5 = static_cast< int >(val5);
17807 }
17808 if (obj5) {
17809 ecode6 = SWIG_AsVal_int(obj5, &val6);
17810 if (!SWIG_IsOK(ecode6)) {
17811 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17812 }
17813 arg6 = static_cast< int >(val6);
17814 }
17815 if (obj6) {
d55e5bfc 17816 {
554f62e9
RD
17817 arg7 = &temp7;
17818 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17819 }
554f62e9
RD
17820 }
17821 if (obj7) {
093d3ff1 17822 {
554f62e9
RD
17823 arg8 = &temp8;
17824 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
17825 }
17826 }
17827 if (obj8) {
17828 ecode9 = SWIG_AsVal_long(obj8, &val9);
17829 if (!SWIG_IsOK(ecode9)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17831 }
17832 arg9 = static_cast< long >(val9);
17833 }
17834 if (obj9) {
17835 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17836 if (!SWIG_IsOK(res10)) {
17837 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 17838 }
554f62e9
RD
17839 if (!argp10) {
17840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17841 }
17842 arg10 = reinterpret_cast< wxValidator * >(argp10);
17843 }
17844 if (obj10) {
d55e5bfc 17845 {
554f62e9
RD
17846 arg11 = wxString_in_helper(obj10);
17847 if (arg11 == NULL) SWIG_fail;
17848 temp11 = true;
d55e5bfc 17849 }
554f62e9
RD
17850 }
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 {
17858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17859 }
17860 {
17861 if (temp11)
17862 delete arg11;
17863 }
17864 return resultobj;
17865fail:
17866 {
17867 if (temp11)
17868 delete arg11;
17869 }
17870 return NULL;
d55e5bfc
RD
17871}
17872
17873
554f62e9
RD
17874SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17875 PyObject *resultobj = 0;
17876 wxSlider *arg1 = (wxSlider *) 0 ;
17877 int result;
17878 void *argp1 = 0 ;
17879 int res1 = 0 ;
17880 PyObject *swig_obj[1] ;
17881
17882 if (!args) SWIG_fail;
17883 swig_obj[0] = args;
17884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17885 if (!SWIG_IsOK(res1)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17887 }
17888 arg1 = reinterpret_cast< wxSlider * >(argp1);
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (int)((wxSlider const *)arg1)->GetValue();
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = SWIG_From_int(static_cast< int >(result));
17896 return resultobj;
17897fail:
17898 return NULL;
17899}
17900
17901
17902SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj = 0;
17904 wxSlider *arg1 = (wxSlider *) 0 ;
17905 int arg2 ;
17906 void *argp1 = 0 ;
17907 int res1 = 0 ;
17908 int val2 ;
17909 int ecode2 = 0 ;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912 char * kwnames[] = {
17913 (char *) "self",(char *) "value", NULL
17914 };
17915
17916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17918 if (!SWIG_IsOK(res1)) {
17919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17920 }
17921 arg1 = reinterpret_cast< wxSlider * >(argp1);
17922 ecode2 = SWIG_AsVal_int(obj1, &val2);
17923 if (!SWIG_IsOK(ecode2)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17925 }
17926 arg2 = static_cast< int >(val2);
17927 {
17928 PyThreadState* __tstate = wxPyBeginAllowThreads();
17929 (arg1)->SetValue(arg2);
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 resultobj = SWIG_Py_Void();
17934 return resultobj;
17935fail:
17936 return NULL;
17937}
17938
17939
17940SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj = 0;
17942 wxSlider *arg1 = (wxSlider *) 0 ;
17943 int arg2 ;
17944 int arg3 ;
17945 void *argp1 = 0 ;
17946 int res1 = 0 ;
17947 int val2 ;
17948 int ecode2 = 0 ;
17949 int val3 ;
17950 int ecode3 = 0 ;
17951 PyObject * obj0 = 0 ;
17952 PyObject * obj1 = 0 ;
17953 PyObject * obj2 = 0 ;
17954 char * kwnames[] = {
17955 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17956 };
17957
17958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17960 if (!SWIG_IsOK(res1)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17962 }
17963 arg1 = reinterpret_cast< wxSlider * >(argp1);
17964 ecode2 = SWIG_AsVal_int(obj1, &val2);
17965 if (!SWIG_IsOK(ecode2)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17967 }
17968 arg2 = static_cast< int >(val2);
17969 ecode3 = SWIG_AsVal_int(obj2, &val3);
17970 if (!SWIG_IsOK(ecode3)) {
17971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17972 }
17973 arg3 = static_cast< int >(val3);
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 (arg1)->SetRange(arg2,arg3);
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 resultobj = SWIG_Py_Void();
17981 return resultobj;
17982fail:
17983 return NULL;
d55e5bfc
RD
17984}
17985
17986
554f62e9
RD
17987SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17988 PyObject *resultobj = 0;
17989 wxSlider *arg1 = (wxSlider *) 0 ;
17990 int result;
17991 void *argp1 = 0 ;
17992 int res1 = 0 ;
17993 PyObject *swig_obj[1] ;
17994
17995 if (!args) SWIG_fail;
17996 swig_obj[0] = args;
17997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17998 if (!SWIG_IsOK(res1)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18000 }
18001 arg1 = reinterpret_cast< wxSlider * >(argp1);
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 result = (int)((wxSlider const *)arg1)->GetMin();
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 resultobj = SWIG_From_int(static_cast< int >(result));
18009 return resultobj;
18010fail:
18011 return NULL;
d55e5bfc
RD
18012}
18013
18014
554f62e9
RD
18015SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18016 PyObject *resultobj = 0;
18017 wxSlider *arg1 = (wxSlider *) 0 ;
18018 int result;
18019 void *argp1 = 0 ;
18020 int res1 = 0 ;
18021 PyObject *swig_obj[1] ;
18022
18023 if (!args) SWIG_fail;
18024 swig_obj[0] = args;
18025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18026 if (!SWIG_IsOK(res1)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18028 }
18029 arg1 = reinterpret_cast< wxSlider * >(argp1);
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 result = (int)((wxSlider const *)arg1)->GetMax();
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 resultobj = SWIG_From_int(static_cast< int >(result));
18037 return resultobj;
18038fail:
18039 return NULL;
18040}
18041
18042
18043SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj = 0;
18045 wxSlider *arg1 = (wxSlider *) 0 ;
18046 int arg2 ;
18047 void *argp1 = 0 ;
18048 int res1 = 0 ;
18049 int val2 ;
18050 int ecode2 = 0 ;
18051 PyObject * obj0 = 0 ;
18052 PyObject * obj1 = 0 ;
18053 char * kwnames[] = {
18054 (char *) "self",(char *) "minValue", NULL
18055 };
18056
18057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18059 if (!SWIG_IsOK(res1)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18061 }
18062 arg1 = reinterpret_cast< wxSlider * >(argp1);
18063 ecode2 = SWIG_AsVal_int(obj1, &val2);
18064 if (!SWIG_IsOK(ecode2)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18066 }
18067 arg2 = static_cast< int >(val2);
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 (arg1)->SetMin(arg2);
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 resultobj = SWIG_Py_Void();
18075 return resultobj;
18076fail:
18077 return NULL;
18078}
18079
18080
18081SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18082 PyObject *resultobj = 0;
18083 wxSlider *arg1 = (wxSlider *) 0 ;
18084 int arg2 ;
18085 void *argp1 = 0 ;
18086 int res1 = 0 ;
18087 int val2 ;
18088 int ecode2 = 0 ;
18089 PyObject * obj0 = 0 ;
18090 PyObject * obj1 = 0 ;
18091 char * kwnames[] = {
18092 (char *) "self",(char *) "maxValue", NULL
18093 };
18094
18095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18097 if (!SWIG_IsOK(res1)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18099 }
18100 arg1 = reinterpret_cast< wxSlider * >(argp1);
18101 ecode2 = SWIG_AsVal_int(obj1, &val2);
18102 if (!SWIG_IsOK(ecode2)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18104 }
18105 arg2 = static_cast< int >(val2);
18106 {
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 (arg1)->SetMax(arg2);
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 resultobj = SWIG_Py_Void();
18113 return resultobj;
18114fail:
18115 return NULL;
18116}
18117
18118
18119SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj = 0;
18121 wxSlider *arg1 = (wxSlider *) 0 ;
18122 int arg2 ;
18123 void *argp1 = 0 ;
18124 int res1 = 0 ;
18125 int val2 ;
18126 int ecode2 = 0 ;
18127 PyObject * obj0 = 0 ;
18128 PyObject * obj1 = 0 ;
18129 char * kwnames[] = {
18130 (char *) "self",(char *) "lineSize", NULL
18131 };
18132
18133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18135 if (!SWIG_IsOK(res1)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18137 }
18138 arg1 = reinterpret_cast< wxSlider * >(argp1);
18139 ecode2 = SWIG_AsVal_int(obj1, &val2);
18140 if (!SWIG_IsOK(ecode2)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18142 }
18143 arg2 = static_cast< int >(val2);
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 (arg1)->SetLineSize(arg2);
18147 wxPyEndAllowThreads(__tstate);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 }
18150 resultobj = SWIG_Py_Void();
18151 return resultobj;
18152fail:
18153 return NULL;
18154}
18155
18156
18157SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18158 PyObject *resultobj = 0;
18159 wxSlider *arg1 = (wxSlider *) 0 ;
18160 int arg2 ;
18161 void *argp1 = 0 ;
18162 int res1 = 0 ;
18163 int val2 ;
18164 int ecode2 = 0 ;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 char * kwnames[] = {
18168 (char *) "self",(char *) "pageSize", NULL
18169 };
18170
18171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18173 if (!SWIG_IsOK(res1)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18175 }
18176 arg1 = reinterpret_cast< wxSlider * >(argp1);
18177 ecode2 = SWIG_AsVal_int(obj1, &val2);
18178 if (!SWIG_IsOK(ecode2)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18180 }
18181 arg2 = static_cast< int >(val2);
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 (arg1)->SetPageSize(arg2);
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 resultobj = SWIG_Py_Void();
18189 return resultobj;
18190fail:
18191 return NULL;
d55e5bfc
RD
18192}
18193
18194
554f62e9
RD
18195SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18196 PyObject *resultobj = 0;
18197 wxSlider *arg1 = (wxSlider *) 0 ;
18198 int result;
18199 void *argp1 = 0 ;
18200 int res1 = 0 ;
18201 PyObject *swig_obj[1] ;
18202
18203 if (!args) SWIG_fail;
18204 swig_obj[0] = args;
18205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18206 if (!SWIG_IsOK(res1)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18208 }
18209 arg1 = reinterpret_cast< wxSlider * >(argp1);
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (int)((wxSlider const *)arg1)->GetLineSize();
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 resultobj = SWIG_From_int(static_cast< int >(result));
18217 return resultobj;
18218fail:
18219 return NULL;
d55e5bfc
RD
18220}
18221
18222
554f62e9
RD
18223SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18224 PyObject *resultobj = 0;
18225 wxSlider *arg1 = (wxSlider *) 0 ;
18226 int result;
18227 void *argp1 = 0 ;
18228 int res1 = 0 ;
18229 PyObject *swig_obj[1] ;
18230
18231 if (!args) SWIG_fail;
18232 swig_obj[0] = args;
18233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18234 if (!SWIG_IsOK(res1)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18236 }
18237 arg1 = reinterpret_cast< wxSlider * >(argp1);
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (int)((wxSlider const *)arg1)->GetPageSize();
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 resultobj = SWIG_From_int(static_cast< int >(result));
18245 return resultobj;
18246fail:
18247 return NULL;
18248}
18249
18250
18251SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj = 0;
18253 wxSlider *arg1 = (wxSlider *) 0 ;
18254 int arg2 ;
18255 void *argp1 = 0 ;
18256 int res1 = 0 ;
18257 int val2 ;
18258 int ecode2 = 0 ;
18259 PyObject * obj0 = 0 ;
18260 PyObject * obj1 = 0 ;
18261 char * kwnames[] = {
18262 (char *) "self",(char *) "lenPixels", NULL
18263 };
18264
18265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18267 if (!SWIG_IsOK(res1)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18269 }
18270 arg1 = reinterpret_cast< wxSlider * >(argp1);
18271 ecode2 = SWIG_AsVal_int(obj1, &val2);
18272 if (!SWIG_IsOK(ecode2)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18274 }
18275 arg2 = static_cast< int >(val2);
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 (arg1)->SetThumbLength(arg2);
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = SWIG_Py_Void();
18283 return resultobj;
18284fail:
18285 return NULL;
f20a2e1f
RD
18286}
18287
18288
554f62e9
RD
18289SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18290 PyObject *resultobj = 0;
18291 wxSlider *arg1 = (wxSlider *) 0 ;
18292 int result;
18293 void *argp1 = 0 ;
18294 int res1 = 0 ;
18295 PyObject *swig_obj[1] ;
18296
18297 if (!args) SWIG_fail;
18298 swig_obj[0] = args;
18299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18300 if (!SWIG_IsOK(res1)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18302 }
18303 arg1 = reinterpret_cast< wxSlider * >(argp1);
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 resultobj = SWIG_From_int(static_cast< int >(result));
18311 return resultobj;
18312fail:
18313 return NULL;
18314}
18315
18316
18317SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj = 0;
18319 wxSlider *arg1 = (wxSlider *) 0 ;
18320 int arg2 ;
18321 int arg3 = (int) 1 ;
18322 void *argp1 = 0 ;
18323 int res1 = 0 ;
18324 int val2 ;
18325 int ecode2 = 0 ;
18326 int val3 ;
18327 int ecode3 = 0 ;
18328 PyObject * obj0 = 0 ;
18329 PyObject * obj1 = 0 ;
18330 PyObject * obj2 = 0 ;
18331 char * kwnames[] = {
18332 (char *) "self",(char *) "n",(char *) "pos", NULL
18333 };
18334
18335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18337 if (!SWIG_IsOK(res1)) {
18338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18339 }
18340 arg1 = reinterpret_cast< wxSlider * >(argp1);
18341 ecode2 = SWIG_AsVal_int(obj1, &val2);
18342 if (!SWIG_IsOK(ecode2)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18344 }
18345 arg2 = static_cast< int >(val2);
18346 if (obj2) {
18347 ecode3 = SWIG_AsVal_int(obj2, &val3);
18348 if (!SWIG_IsOK(ecode3)) {
18349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18350 }
18351 arg3 = static_cast< int >(val3);
18352 }
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->SetTickFreq(arg2,arg3);
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = SWIG_Py_Void();
18360 return resultobj;
18361fail:
18362 return NULL;
d55e5bfc
RD
18363}
18364
18365
554f62e9
RD
18366SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18367 PyObject *resultobj = 0;
18368 wxSlider *arg1 = (wxSlider *) 0 ;
18369 int result;
18370 void *argp1 = 0 ;
18371 int res1 = 0 ;
18372 PyObject *swig_obj[1] ;
18373
18374 if (!args) SWIG_fail;
18375 swig_obj[0] = args;
18376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18377 if (!SWIG_IsOK(res1)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18379 }
18380 arg1 = reinterpret_cast< wxSlider * >(argp1);
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 resultobj = SWIG_From_int(static_cast< int >(result));
18388 return resultobj;
18389fail:
18390 return NULL;
d55e5bfc
RD
18391}
18392
18393
554f62e9
RD
18394SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18395 PyObject *resultobj = 0;
18396 wxSlider *arg1 = (wxSlider *) 0 ;
18397 void *argp1 = 0 ;
18398 int res1 = 0 ;
18399 PyObject *swig_obj[1] ;
18400
18401 if (!args) SWIG_fail;
18402 swig_obj[0] = args;
18403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18404 if (!SWIG_IsOK(res1)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18406 }
18407 arg1 = reinterpret_cast< wxSlider * >(argp1);
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 (arg1)->ClearTicks();
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 resultobj = SWIG_Py_Void();
18415 return resultobj;
18416fail:
18417 return NULL;
18418}
18419
18420
18421SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj = 0;
18423 wxSlider *arg1 = (wxSlider *) 0 ;
18424 int arg2 ;
18425 void *argp1 = 0 ;
18426 int res1 = 0 ;
18427 int val2 ;
18428 int ecode2 = 0 ;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 char * kwnames[] = {
18432 (char *) "self",(char *) "tickPos", NULL
18433 };
18434
18435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18437 if (!SWIG_IsOK(res1)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18439 }
18440 arg1 = reinterpret_cast< wxSlider * >(argp1);
18441 ecode2 = SWIG_AsVal_int(obj1, &val2);
18442 if (!SWIG_IsOK(ecode2)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18444 }
18445 arg2 = static_cast< int >(val2);
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 (arg1)->SetTick(arg2);
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_Py_Void();
18453 return resultobj;
18454fail:
18455 return NULL;
d55e5bfc
RD
18456}
18457
18458
554f62e9
RD
18459SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18460 PyObject *resultobj = 0;
18461 wxSlider *arg1 = (wxSlider *) 0 ;
18462 void *argp1 = 0 ;
18463 int res1 = 0 ;
18464 PyObject *swig_obj[1] ;
18465
18466 if (!args) SWIG_fail;
18467 swig_obj[0] = args;
18468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18469 if (!SWIG_IsOK(res1)) {
18470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18471 }
18472 arg1 = reinterpret_cast< wxSlider * >(argp1);
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 (arg1)->ClearSel();
18476 wxPyEndAllowThreads(__tstate);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
18479 resultobj = SWIG_Py_Void();
18480 return resultobj;
18481fail:
18482 return NULL;
d55e5bfc
RD
18483}
18484
18485
554f62e9
RD
18486SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18487 PyObject *resultobj = 0;
18488 wxSlider *arg1 = (wxSlider *) 0 ;
18489 int result;
18490 void *argp1 = 0 ;
18491 int res1 = 0 ;
18492 PyObject *swig_obj[1] ;
18493
18494 if (!args) SWIG_fail;
18495 swig_obj[0] = args;
18496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18497 if (!SWIG_IsOK(res1)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18499 }
18500 arg1 = reinterpret_cast< wxSlider * >(argp1);
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 resultobj = SWIG_From_int(static_cast< int >(result));
18508 return resultobj;
18509fail:
18510 return NULL;
d55e5bfc 18511}
554f62e9
RD
18512
18513
18514SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18515 PyObject *resultobj = 0;
18516 wxSlider *arg1 = (wxSlider *) 0 ;
18517 int result;
18518 void *argp1 = 0 ;
18519 int res1 = 0 ;
18520 PyObject *swig_obj[1] ;
18521
18522 if (!args) SWIG_fail;
18523 swig_obj[0] = args;
18524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18525 if (!SWIG_IsOK(res1)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18527 }
18528 arg1 = reinterpret_cast< wxSlider * >(argp1);
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (int)((wxSlider const *)arg1)->GetSelStart();
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = SWIG_From_int(static_cast< int >(result));
18536 return resultobj;
18537fail:
18538 return NULL;
18539}
18540
18541
18542SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj = 0;
18544 wxSlider *arg1 = (wxSlider *) 0 ;
18545 int arg2 ;
18546 int arg3 ;
18547 void *argp1 = 0 ;
18548 int res1 = 0 ;
18549 int val2 ;
18550 int ecode2 = 0 ;
18551 int val3 ;
18552 int ecode3 = 0 ;
18553 PyObject * obj0 = 0 ;
18554 PyObject * obj1 = 0 ;
18555 PyObject * obj2 = 0 ;
18556 char * kwnames[] = {
18557 (char *) "self",(char *) "min",(char *) "max", NULL
18558 };
18559
18560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18562 if (!SWIG_IsOK(res1)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18564 }
18565 arg1 = reinterpret_cast< wxSlider * >(argp1);
18566 ecode2 = SWIG_AsVal_int(obj1, &val2);
18567 if (!SWIG_IsOK(ecode2)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18569 }
18570 arg2 = static_cast< int >(val2);
18571 ecode3 = SWIG_AsVal_int(obj2, &val3);
18572 if (!SWIG_IsOK(ecode3)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18574 }
18575 arg3 = static_cast< int >(val3);
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 (arg1)->SetSelection(arg2,arg3);
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 resultobj = SWIG_Py_Void();
18583 return resultobj;
18584fail:
18585 return NULL;
18586}
18587
18588
18589SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj = 0;
18591 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18592 SwigValueWrapper<wxVisualAttributes > result;
18593 int val1 ;
18594 int ecode1 = 0 ;
18595 PyObject * obj0 = 0 ;
18596 char * kwnames[] = {
18597 (char *) "variant", NULL
18598 };
18599
18600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18601 if (obj0) {
18602 ecode1 = SWIG_AsVal_int(obj0, &val1);
18603 if (!SWIG_IsOK(ecode1)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18605 }
18606 arg1 = static_cast< wxWindowVariant >(val1);
18607 }
18608 {
18609 if (!wxPyCheckForApp()) SWIG_fail;
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = wxSlider::GetClassDefaultAttributes(arg1);
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18616 return resultobj;
18617fail:
18618 return NULL;
d55e5bfc
RD
18619}
18620
18621
554f62e9
RD
18622SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18623 PyObject *obj;
18624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18625 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18626 return SWIG_Py_Void();
d55e5bfc
RD
18627}
18628
554f62e9
RD
18629SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18630 return SWIG_Python_InitShadowInstance(args);
18631}
d55e5bfc 18632
554f62e9
RD
18633SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18634 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18635 return 1;
d55e5bfc
RD
18636}
18637
18638
554f62e9
RD
18639SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18640 PyObject *pyobj = 0;
18641
18642 {
18643#if wxUSE_UNICODE
18644 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18645#else
18646 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18647#endif
18648 }
18649 return pyobj;
18650}
18651
18652
18653SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj = 0;
18655 wxWindow *arg1 = (wxWindow *) 0 ;
18656 int arg2 = (int) -1 ;
18657 wxString const &arg3_defvalue = wxPyEmptyString ;
18658 wxString *arg3 = (wxString *) &arg3_defvalue ;
18659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18661 wxSize const &arg5_defvalue = wxDefaultSize ;
18662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18663 long arg6 = (long) 0 ;
18664 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18665 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18666 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18667 wxString *arg8 = (wxString *) &arg8_defvalue ;
18668 wxToggleButton *result = 0 ;
18669 void *argp1 = 0 ;
18670 int res1 = 0 ;
18671 int val2 ;
18672 int ecode2 = 0 ;
18673 bool temp3 = false ;
18674 wxPoint temp4 ;
18675 wxSize temp5 ;
18676 long val6 ;
18677 int ecode6 = 0 ;
18678 void *argp7 = 0 ;
18679 int res7 = 0 ;
18680 bool temp8 = false ;
18681 PyObject * obj0 = 0 ;
18682 PyObject * obj1 = 0 ;
18683 PyObject * obj2 = 0 ;
18684 PyObject * obj3 = 0 ;
18685 PyObject * obj4 = 0 ;
18686 PyObject * obj5 = 0 ;
18687 PyObject * obj6 = 0 ;
18688 PyObject * obj7 = 0 ;
18689 char * kwnames[] = {
18690 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18691 };
18692
18693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18695 if (!SWIG_IsOK(res1)) {
18696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18697 }
18698 arg1 = reinterpret_cast< wxWindow * >(argp1);
18699 if (obj1) {
18700 ecode2 = SWIG_AsVal_int(obj1, &val2);
18701 if (!SWIG_IsOK(ecode2)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18703 }
18704 arg2 = static_cast< int >(val2);
18705 }
18706 if (obj2) {
d55e5bfc 18707 {
554f62e9
RD
18708 arg3 = wxString_in_helper(obj2);
18709 if (arg3 == NULL) SWIG_fail;
18710 temp3 = true;
d55e5bfc 18711 }
554f62e9
RD
18712 }
18713 if (obj3) {
d55e5bfc 18714 {
554f62e9
RD
18715 arg4 = &temp4;
18716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 18717 }
554f62e9
RD
18718 }
18719 if (obj4) {
d55e5bfc 18720 {
554f62e9
RD
18721 arg5 = &temp5;
18722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18723 }
554f62e9
RD
18724 }
18725 if (obj5) {
18726 ecode6 = SWIG_AsVal_long(obj5, &val6);
18727 if (!SWIG_IsOK(ecode6)) {
18728 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18729 }
18730 arg6 = static_cast< long >(val6);
18731 }
18732 if (obj6) {
18733 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18734 if (!SWIG_IsOK(res7)) {
18735 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18736 }
554f62e9
RD
18737 if (!argp7) {
18738 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18739 }
554f62e9
RD
18740 arg7 = reinterpret_cast< wxValidator * >(argp7);
18741 }
18742 if (obj7) {
093d3ff1 18743 {
554f62e9
RD
18744 arg8 = wxString_in_helper(obj7);
18745 if (arg8 == NULL) SWIG_fail;
18746 temp8 = true;
093d3ff1 18747 }
554f62e9
RD
18748 }
18749 {
18750 if (!wxPyCheckForApp()) SWIG_fail;
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18757 {
18758 if (temp3)
18759 delete arg3;
18760 }
18761 {
18762 if (temp8)
18763 delete arg8;
18764 }
18765 return resultobj;
18766fail:
18767 {
18768 if (temp3)
18769 delete arg3;
18770 }
18771 {
18772 if (temp8)
18773 delete arg8;
18774 }
18775 return NULL;
d55e5bfc
RD
18776}
18777
18778
554f62e9
RD
18779SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18780 PyObject *resultobj = 0;
18781 wxToggleButton *result = 0 ;
18782
18783 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18784 {
18785 if (!wxPyCheckForApp()) SWIG_fail;
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = (wxToggleButton *)new wxToggleButton();
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18792 return resultobj;
18793fail:
18794 return NULL;
18795}
18796
18797
18798SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj = 0;
18800 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18801 wxWindow *arg2 = (wxWindow *) 0 ;
18802 int arg3 = (int) -1 ;
18803 wxString const &arg4_defvalue = wxPyEmptyString ;
18804 wxString *arg4 = (wxString *) &arg4_defvalue ;
18805 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18806 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18807 wxSize const &arg6_defvalue = wxDefaultSize ;
18808 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18809 long arg7 = (long) 0 ;
18810 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18811 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18812 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18813 wxString *arg9 = (wxString *) &arg9_defvalue ;
18814 bool result;
18815 void *argp1 = 0 ;
18816 int res1 = 0 ;
18817 void *argp2 = 0 ;
18818 int res2 = 0 ;
18819 int val3 ;
18820 int ecode3 = 0 ;
18821 bool temp4 = false ;
18822 wxPoint temp5 ;
18823 wxSize temp6 ;
18824 long val7 ;
18825 int ecode7 = 0 ;
18826 void *argp8 = 0 ;
18827 int res8 = 0 ;
18828 bool temp9 = false ;
18829 PyObject * obj0 = 0 ;
18830 PyObject * obj1 = 0 ;
18831 PyObject * obj2 = 0 ;
18832 PyObject * obj3 = 0 ;
18833 PyObject * obj4 = 0 ;
18834 PyObject * obj5 = 0 ;
18835 PyObject * obj6 = 0 ;
18836 PyObject * obj7 = 0 ;
18837 PyObject * obj8 = 0 ;
18838 char * kwnames[] = {
18839 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18840 };
18841
18842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18844 if (!SWIG_IsOK(res1)) {
18845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18846 }
18847 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18849 if (!SWIG_IsOK(res2)) {
18850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18851 }
18852 arg2 = reinterpret_cast< wxWindow * >(argp2);
18853 if (obj2) {
18854 ecode3 = SWIG_AsVal_int(obj2, &val3);
18855 if (!SWIG_IsOK(ecode3)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18857 }
18858 arg3 = static_cast< int >(val3);
18859 }
18860 if (obj3) {
d55e5bfc 18861 {
554f62e9
RD
18862 arg4 = wxString_in_helper(obj3);
18863 if (arg4 == NULL) SWIG_fail;
18864 temp4 = true;
d55e5bfc 18865 }
554f62e9
RD
18866 }
18867 if (obj4) {
093d3ff1 18868 {
554f62e9
RD
18869 arg5 = &temp5;
18870 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 18871 }
554f62e9
RD
18872 }
18873 if (obj5) {
d55e5bfc 18874 {
554f62e9
RD
18875 arg6 = &temp6;
18876 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18877 }
554f62e9
RD
18878 }
18879 if (obj6) {
18880 ecode7 = SWIG_AsVal_long(obj6, &val7);
18881 if (!SWIG_IsOK(ecode7)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18883 }
18884 arg7 = static_cast< long >(val7);
18885 }
18886 if (obj7) {
18887 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18888 if (!SWIG_IsOK(res8)) {
18889 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 18890 }
554f62e9
RD
18891 if (!argp8) {
18892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 18893 }
554f62e9
RD
18894 arg8 = reinterpret_cast< wxValidator * >(argp8);
18895 }
18896 if (obj8) {
093d3ff1 18897 {
554f62e9
RD
18898 arg9 = wxString_in_helper(obj8);
18899 if (arg9 == NULL) SWIG_fail;
18900 temp9 = true;
093d3ff1 18901 }
554f62e9
RD
18902 }
18903 {
18904 PyThreadState* __tstate = wxPyBeginAllowThreads();
18905 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 {
18910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18911 }
18912 {
18913 if (temp4)
18914 delete arg4;
18915 }
18916 {
18917 if (temp9)
18918 delete arg9;
18919 }
18920 return resultobj;
18921fail:
18922 {
18923 if (temp4)
18924 delete arg4;
18925 }
18926 {
18927 if (temp9)
18928 delete arg9;
18929 }
18930 return NULL;
18931}
18932
18933
18934SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18935 PyObject *resultobj = 0;
18936 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18937 bool arg2 ;
18938 void *argp1 = 0 ;
18939 int res1 = 0 ;
18940 bool val2 ;
18941 int ecode2 = 0 ;
18942 PyObject * obj0 = 0 ;
18943 PyObject * obj1 = 0 ;
18944 char * kwnames[] = {
18945 (char *) "self",(char *) "value", NULL
18946 };
18947
18948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18950 if (!SWIG_IsOK(res1)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18952 }
18953 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18954 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18955 if (!SWIG_IsOK(ecode2)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18957 }
18958 arg2 = static_cast< bool >(val2);
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 (arg1)->SetValue(arg2);
18962 wxPyEndAllowThreads(__tstate);
18963 if (PyErr_Occurred()) SWIG_fail;
18964 }
18965 resultobj = SWIG_Py_Void();
18966 return resultobj;
18967fail:
18968 return NULL;
d55e5bfc
RD
18969}
18970
18971
554f62e9
RD
18972SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18973 PyObject *resultobj = 0;
18974 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18975 bool result;
18976 void *argp1 = 0 ;
18977 int res1 = 0 ;
18978 PyObject *swig_obj[1] ;
18979
18980 if (!args) SWIG_fail;
18981 swig_obj[0] = args;
18982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18983 if (!SWIG_IsOK(res1)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18985 }
18986 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (bool)((wxToggleButton const *)arg1)->GetValue();
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 {
18994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18995 }
18996 return resultobj;
18997fail:
18998 return NULL;
d55e5bfc
RD
18999}
19000
19001
554f62e9
RD
19002SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19003 PyObject *resultobj = 0;
19004 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19005 SwigValueWrapper<wxVisualAttributes > result;
19006 int val1 ;
19007 int ecode1 = 0 ;
19008 PyObject * obj0 = 0 ;
19009 char * kwnames[] = {
19010 (char *) "variant", NULL
19011 };
19012
19013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19014 if (obj0) {
19015 ecode1 = SWIG_AsVal_int(obj0, &val1);
19016 if (!SWIG_IsOK(ecode1)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19018 }
19019 arg1 = static_cast< wxWindowVariant >(val1);
19020 }
19021 {
19022 if (!wxPyCheckForApp()) SWIG_fail;
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19029 return resultobj;
19030fail:
19031 return NULL;
d55e5bfc
RD
19032}
19033
19034
554f62e9
RD
19035SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19036 PyObject *obj;
19037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19038 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19039 return SWIG_Py_Void();
d55e5bfc
RD
19040}
19041
554f62e9
RD
19042SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19043 return SWIG_Python_InitShadowInstance(args);
f20a2e1f
RD
19044}
19045
554f62e9
RD
19046SWIGINTERN int NotebookNameStr_set(PyObject *) {
19047 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19048 return 1;
d55e5bfc
RD
19049}
19050
19051
554f62e9
RD
19052SWIGINTERN PyObject *NotebookNameStr_get(void) {
19053 PyObject *pyobj = 0;
19054
19055 {
d55e5bfc 19056#if wxUSE_UNICODE
554f62e9 19057 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19058#else
554f62e9 19059 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19060#endif
554f62e9
RD
19061 }
19062 return pyobj;
d55e5bfc
RD
19063}
19064
19065
554f62e9
RD
19066SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19067 PyObject *resultobj = 0;
19068 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19069 size_t result;
19070 void *argp1 = 0 ;
19071 int res1 = 0 ;
19072 PyObject *swig_obj[1] ;
19073
19074 if (!args) SWIG_fail;
19075 swig_obj[0] = args;
19076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19077 if (!SWIG_IsOK(res1)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19079 }
19080 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19084 wxPyEndAllowThreads(__tstate);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 }
19087 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19088 return resultobj;
19089fail:
19090 return NULL;
19091}
19092
19093
19094SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19095 PyObject *resultobj = 0;
19096 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19097 size_t arg2 ;
19098 wxWindow *result = 0 ;
19099 void *argp1 = 0 ;
19100 int res1 = 0 ;
19101 size_t val2 ;
19102 int ecode2 = 0 ;
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char * kwnames[] = {
19106 (char *) "self",(char *) "n", NULL
19107 };
19108
19109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19111 if (!SWIG_IsOK(res1)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19113 }
19114 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19115 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19116 if (!SWIG_IsOK(ecode2)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19118 }
19119 arg2 = static_cast< size_t >(val2);
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 result = (wxWindow *)(arg1)->GetPage(arg2);
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 {
19127 resultobj = wxPyMake_wxObject(result, 0);
19128 }
19129 return resultobj;
19130fail:
19131 return NULL;
d55e5bfc
RD
19132}
19133
19134
554f62e9
RD
19135SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19136 PyObject *resultobj = 0;
19137 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19138 wxWindow *result = 0 ;
19139 void *argp1 = 0 ;
19140 int res1 = 0 ;
19141 PyObject *swig_obj[1] ;
19142
19143 if (!args) SWIG_fail;
19144 swig_obj[0] = args;
19145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19146 if (!SWIG_IsOK(res1)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19148 }
19149 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 {
19157 resultobj = wxPyMake_wxObject(result, 0);
19158 }
19159 return resultobj;
19160fail:
19161 return NULL;
d55e5bfc
RD
19162}
19163
19164
554f62e9
RD
19165SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19166 PyObject *resultobj = 0;
19167 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19168 int result;
19169 void *argp1 = 0 ;
19170 int res1 = 0 ;
19171 PyObject *swig_obj[1] ;
19172
19173 if (!args) SWIG_fail;
19174 swig_obj[0] = args;
19175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19176 if (!SWIG_IsOK(res1)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19178 }
19179 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19183 wxPyEndAllowThreads(__tstate);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 }
19186 resultobj = SWIG_From_int(static_cast< int >(result));
19187 return resultobj;
19188fail:
19189 return NULL;
19190}
19191
19192
19193SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19194 PyObject *resultobj = 0;
19195 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19196 size_t arg2 ;
19197 wxString *arg3 = 0 ;
19198 bool result;
19199 void *argp1 = 0 ;
19200 int res1 = 0 ;
19201 size_t val2 ;
19202 int ecode2 = 0 ;
19203 bool temp3 = false ;
19204 PyObject * obj0 = 0 ;
19205 PyObject * obj1 = 0 ;
19206 PyObject * obj2 = 0 ;
19207 char * kwnames[] = {
19208 (char *) "self",(char *) "n",(char *) "strText", NULL
19209 };
19210
19211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19213 if (!SWIG_IsOK(res1)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19215 }
19216 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19217 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19218 if (!SWIG_IsOK(ecode2)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19220 }
19221 arg2 = static_cast< size_t >(val2);
19222 {
19223 arg3 = wxString_in_helper(obj2);
19224 if (arg3 == NULL) SWIG_fail;
19225 temp3 = true;
19226 }
19227 {
19228 PyThreadState* __tstate = wxPyBeginAllowThreads();
19229 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19235 }
19236 {
19237 if (temp3)
19238 delete arg3;
19239 }
19240 return resultobj;
19241fail:
19242 {
19243 if (temp3)
19244 delete arg3;
19245 }
19246 return NULL;
19247}
19248
19249
19250SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19251 PyObject *resultobj = 0;
19252 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19253 size_t arg2 ;
19254 wxString result;
19255 void *argp1 = 0 ;
19256 int res1 = 0 ;
19257 size_t val2 ;
19258 int ecode2 = 0 ;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char * kwnames[] = {
19262 (char *) "self",(char *) "n", NULL
19263 };
19264
19265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19267 if (!SWIG_IsOK(res1)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19269 }
19270 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19271 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19272 if (!SWIG_IsOK(ecode2)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19274 }
19275 arg2 = static_cast< size_t >(val2);
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 {
19283#if wxUSE_UNICODE
19284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19285#else
19286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19287#endif
19288 }
19289 return resultobj;
19290fail:
19291 return NULL;
19292}
19293
19294
19295SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj = 0;
19297 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19298 wxImageList *arg2 = (wxImageList *) 0 ;
19299 void *argp1 = 0 ;
19300 int res1 = 0 ;
19301 void *argp2 = 0 ;
19302 int res2 = 0 ;
19303 PyObject * obj0 = 0 ;
19304 PyObject * obj1 = 0 ;
19305 char * kwnames[] = {
19306 (char *) "self",(char *) "imageList", NULL
19307 };
19308
19309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19311 if (!SWIG_IsOK(res1)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19313 }
19314 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19315 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19316 if (!SWIG_IsOK(res2)) {
19317 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19318 }
19319 arg2 = reinterpret_cast< wxImageList * >(argp2);
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 (arg1)->SetImageList(arg2);
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 resultobj = SWIG_Py_Void();
19327 return resultobj;
19328fail:
19329 return NULL;
19330}
19331
19332
19333SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj = 0;
19335 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19336 wxImageList *arg2 = (wxImageList *) 0 ;
19337 void *argp1 = 0 ;
19338 int res1 = 0 ;
19339 int res2 = 0 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char * kwnames[] = {
19343 (char *) "self",(char *) "imageList", NULL
19344 };
19345
19346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19348 if (!SWIG_IsOK(res1)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19350 }
19351 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19352 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19353 if (!SWIG_IsOK(res2)) {
19354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19355 }
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 (arg1)->AssignImageList(arg2);
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 resultobj = SWIG_Py_Void();
19363 return resultobj;
19364fail:
19365 return NULL;
d55e5bfc
RD
19366}
19367
19368
554f62e9
RD
19369SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19370 PyObject *resultobj = 0;
19371 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19372 wxImageList *result = 0 ;
19373 void *argp1 = 0 ;
19374 int res1 = 0 ;
19375 PyObject *swig_obj[1] ;
19376
19377 if (!args) SWIG_fail;
19378 swig_obj[0] = args;
19379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19380 if (!SWIG_IsOK(res1)) {
19381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19382 }
19383 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 {
19391 resultobj = wxPyMake_wxObject(result, (bool)0);
19392 }
19393 return resultobj;
19394fail:
19395 return NULL;
19396}
19397
19398
19399SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj = 0;
19401 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19402 size_t arg2 ;
19403 int result;
19404 void *argp1 = 0 ;
19405 int res1 = 0 ;
19406 size_t val2 ;
19407 int ecode2 = 0 ;
19408 PyObject * obj0 = 0 ;
19409 PyObject * obj1 = 0 ;
19410 char * kwnames[] = {
19411 (char *) "self",(char *) "n", NULL
19412 };
19413
19414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19416 if (!SWIG_IsOK(res1)) {
19417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19418 }
19419 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19420 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19421 if (!SWIG_IsOK(ecode2)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19423 }
19424 arg2 = static_cast< size_t >(val2);
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 resultobj = SWIG_From_int(static_cast< int >(result));
19432 return resultobj;
19433fail:
19434 return NULL;
19435}
19436
19437
19438SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj = 0;
19440 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19441 size_t arg2 ;
19442 int arg3 ;
19443 bool result;
19444 void *argp1 = 0 ;
19445 int res1 = 0 ;
19446 size_t val2 ;
19447 int ecode2 = 0 ;
19448 int val3 ;
19449 int ecode3 = 0 ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 PyObject * obj2 = 0 ;
19453 char * kwnames[] = {
19454 (char *) "self",(char *) "n",(char *) "imageId", NULL
19455 };
19456
19457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19459 if (!SWIG_IsOK(res1)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19461 }
19462 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19463 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19464 if (!SWIG_IsOK(ecode2)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19466 }
19467 arg2 = static_cast< size_t >(val2);
19468 ecode3 = SWIG_AsVal_int(obj2, &val3);
19469 if (!SWIG_IsOK(ecode3)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19471 }
19472 arg3 = static_cast< int >(val3);
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 {
19480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19481 }
19482 return resultobj;
19483fail:
19484 return NULL;
19485}
19486
19487
19488SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj = 0;
19490 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19491 wxSize *arg2 = 0 ;
19492 void *argp1 = 0 ;
19493 int res1 = 0 ;
19494 wxSize temp2 ;
19495 PyObject * obj0 = 0 ;
19496 PyObject * obj1 = 0 ;
19497 char * kwnames[] = {
19498 (char *) "self",(char *) "size", NULL
19499 };
19500
19501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19503 if (!SWIG_IsOK(res1)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19505 }
19506 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19507 {
19508 arg2 = &temp2;
19509 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19510 }
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 (arg1)->SetPageSize((wxSize const &)*arg2);
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 resultobj = SWIG_Py_Void();
19518 return resultobj;
19519fail:
19520 return NULL;
19521}
19522
19523
19524SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj = 0;
19526 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19527 wxSize *arg2 = 0 ;
19528 wxSize result;
19529 void *argp1 = 0 ;
19530 int res1 = 0 ;
19531 wxSize temp2 ;
19532 PyObject * obj0 = 0 ;
19533 PyObject * obj1 = 0 ;
19534 char * kwnames[] = {
19535 (char *) "self",(char *) "sizePage", NULL
19536 };
19537
19538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19540 if (!SWIG_IsOK(res1)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19542 }
19543 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19544 {
19545 arg2 = &temp2;
19546 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19547 }
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19555 return resultobj;
19556fail:
19557 return NULL;
d55e5bfc
RD
19558}
19559
19560
554f62e9
RD
19561SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19562 PyObject *resultobj = 0;
19563 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19564 unsigned int result;
554f62e9
RD
19565 void *argp1 = 0 ;
19566 int res1 = 0 ;
19567 PyObject *swig_obj[1] ;
19568
19569 if (!args) SWIG_fail;
19570 swig_obj[0] = args;
19571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19572 if (!SWIG_IsOK(res1)) {
19573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19574 }
19575 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19578 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
554f62e9
RD
19579 wxPyEndAllowThreads(__tstate);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
e9d6f3a4 19582 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
19583 return resultobj;
19584fail:
19585 return NULL;
19586}
19587
19588
19589SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19590 PyObject *resultobj = 0;
19591 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19592 unsigned int arg2 ;
554f62e9
RD
19593 void *argp1 = 0 ;
19594 int res1 = 0 ;
e9d6f3a4 19595 unsigned int val2 ;
554f62e9
RD
19596 int ecode2 = 0 ;
19597 PyObject * obj0 = 0 ;
19598 PyObject * obj1 = 0 ;
19599 char * kwnames[] = {
19600 (char *) "self",(char *) "internalBorder", NULL
19601 };
19602
19603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19605 if (!SWIG_IsOK(res1)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19607 }
19608 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19609 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 19610 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 19612 }
e9d6f3a4 19613 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 (arg1)->SetInternalBorder(arg2);
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 resultobj = SWIG_Py_Void();
19621 return resultobj;
19622fail:
19623 return NULL;
d55e5bfc
RD
19624}
19625
19626
554f62e9
RD
19627SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19628 PyObject *resultobj = 0;
19629 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19630 bool result;
19631 void *argp1 = 0 ;
19632 int res1 = 0 ;
19633 PyObject *swig_obj[1] ;
19634
19635 if (!args) SWIG_fail;
19636 swig_obj[0] = args;
19637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19638 if (!SWIG_IsOK(res1)) {
19639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19640 }
19641 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
19648 {
19649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19650 }
19651 return resultobj;
19652fail:
19653 return NULL;
19654}
19655
19656
e9d6f3a4
RD
19657SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj = 0;
19659 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19660 int arg2 ;
19661 void *argp1 = 0 ;
19662 int res1 = 0 ;
19663 int val2 ;
19664 int ecode2 = 0 ;
19665 PyObject * obj0 = 0 ;
19666 PyObject * obj1 = 0 ;
19667 char * kwnames[] = {
19668 (char *) "self",(char *) "margin", NULL
19669 };
19670
19671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19673 if (!SWIG_IsOK(res1)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19675 }
19676 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19677 ecode2 = SWIG_AsVal_int(obj1, &val2);
19678 if (!SWIG_IsOK(ecode2)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19680 }
19681 arg2 = static_cast< int >(val2);
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 (arg1)->SetControlMargin(arg2);
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 resultobj = SWIG_Py_Void();
19689 return resultobj;
19690fail:
19691 return NULL;
19692}
19693
19694
19695SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19696 PyObject *resultobj = 0;
19697 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19698 int result;
19699 void *argp1 = 0 ;
19700 int res1 = 0 ;
19701 PyObject *swig_obj[1] ;
19702
19703 if (!args) SWIG_fail;
19704 swig_obj[0] = args;
19705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19706 if (!SWIG_IsOK(res1)) {
19707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19708 }
19709 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 resultobj = SWIG_From_int(static_cast< int >(result));
19717 return resultobj;
19718fail:
19719 return NULL;
19720}
19721
19722
554f62e9
RD
19723SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj = 0;
19725 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19726 bool arg2 ;
19727 void *argp1 = 0 ;
19728 int res1 = 0 ;
19729 bool val2 ;
19730 int ecode2 = 0 ;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj1 = 0 ;
19733 char * kwnames[] = {
19734 (char *) "self",(char *) "fit", NULL
19735 };
19736
19737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19739 if (!SWIG_IsOK(res1)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19741 }
19742 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19743 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19744 if (!SWIG_IsOK(ecode2)) {
19745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19746 }
19747 arg2 = static_cast< bool >(val2);
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 (arg1)->SetFitToCurrentPage(arg2);
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_Py_Void();
19755 return resultobj;
19756fail:
19757 return NULL;
d55e5bfc
RD
19758}
19759
19760
554f62e9
RD
19761SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19762 PyObject *resultobj = 0;
19763 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19764 bool result;
19765 void *argp1 = 0 ;
19766 int res1 = 0 ;
19767 PyObject *swig_obj[1] ;
19768
19769 if (!args) SWIG_fail;
19770 swig_obj[0] = args;
19771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19772 if (!SWIG_IsOK(res1)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19774 }
19775 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 {
19783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19784 }
19785 return resultobj;
19786fail:
19787 return NULL;
19788}
19789
19790
e9d6f3a4
RD
19791SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19792 PyObject *resultobj = 0;
19793 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19794 wxSizer *result = 0 ;
19795 void *argp1 = 0 ;
19796 int res1 = 0 ;
19797 PyObject *swig_obj[1] ;
19798
19799 if (!args) SWIG_fail;
19800 swig_obj[0] = args;
19801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19802 if (!SWIG_IsOK(res1)) {
19803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19804 }
19805 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 {
19813 resultobj = wxPyMake_wxObject(result, (bool)0);
19814 }
19815 return resultobj;
19816fail:
19817 return NULL;
19818}
19819
19820
554f62e9
RD
19821SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19822 PyObject *resultobj = 0;
19823 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19824 size_t arg2 ;
19825 bool result;
19826 void *argp1 = 0 ;
19827 int res1 = 0 ;
19828 size_t val2 ;
19829 int ecode2 = 0 ;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char * kwnames[] = {
19833 (char *) "self",(char *) "n", NULL
19834 };
19835
19836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19838 if (!SWIG_IsOK(res1)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19840 }
19841 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19842 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19843 if (!SWIG_IsOK(ecode2)) {
19844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19845 }
19846 arg2 = static_cast< size_t >(val2);
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (bool)(arg1)->DeletePage(arg2);
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 {
19854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19855 }
19856 return resultobj;
19857fail:
19858 return NULL;
19859}
19860
19861
19862SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj = 0;
19864 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19865 size_t arg2 ;
19866 bool result;
19867 void *argp1 = 0 ;
19868 int res1 = 0 ;
19869 size_t val2 ;
19870 int ecode2 = 0 ;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char * kwnames[] = {
19874 (char *) "self",(char *) "n", NULL
19875 };
19876
19877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19879 if (!SWIG_IsOK(res1)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19881 }
19882 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19883 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19884 if (!SWIG_IsOK(ecode2)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19886 }
19887 arg2 = static_cast< size_t >(val2);
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 result = (bool)(arg1)->RemovePage(arg2);
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 {
19895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19896 }
19897 return resultobj;
19898fail:
19899 return NULL;
d55e5bfc
RD
19900}
19901
19902
554f62e9
RD
19903SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19904 PyObject *resultobj = 0;
19905 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19906 bool result;
19907 void *argp1 = 0 ;
19908 int res1 = 0 ;
19909 PyObject *swig_obj[1] ;
19910
19911 if (!args) SWIG_fail;
19912 swig_obj[0] = args;
19913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19914 if (!SWIG_IsOK(res1)) {
19915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19916 }
19917 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 result = (bool)(arg1)->DeleteAllPages();
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 {
19925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19926 }
19927 return resultobj;
19928fail:
19929 return NULL;
19930}
19931
19932
19933SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj = 0;
19935 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19936 wxWindow *arg2 = (wxWindow *) 0 ;
19937 wxString *arg3 = 0 ;
19938 bool arg4 = (bool) false ;
19939 int arg5 = (int) -1 ;
19940 bool result;
19941 void *argp1 = 0 ;
19942 int res1 = 0 ;
19943 void *argp2 = 0 ;
19944 int res2 = 0 ;
19945 bool temp3 = false ;
19946 bool val4 ;
19947 int ecode4 = 0 ;
19948 int val5 ;
19949 int ecode5 = 0 ;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 PyObject * obj2 = 0 ;
19953 PyObject * obj3 = 0 ;
19954 PyObject * obj4 = 0 ;
19955 char * kwnames[] = {
19956 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19957 };
19958
19959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19961 if (!SWIG_IsOK(res1)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19963 }
19964 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19965 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19966 if (!SWIG_IsOK(res2)) {
19967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19968 }
19969 arg2 = reinterpret_cast< wxWindow * >(argp2);
19970 {
19971 arg3 = wxString_in_helper(obj2);
19972 if (arg3 == NULL) SWIG_fail;
19973 temp3 = true;
19974 }
19975 if (obj3) {
19976 ecode4 = SWIG_AsVal_bool(obj3, &val4);
19977 if (!SWIG_IsOK(ecode4)) {
19978 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19979 }
19980 arg4 = static_cast< bool >(val4);
19981 }
19982 if (obj4) {
19983 ecode5 = SWIG_AsVal_int(obj4, &val5);
19984 if (!SWIG_IsOK(ecode5)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19986 }
19987 arg5 = static_cast< int >(val5);
19988 }
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 {
19996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19997 }
19998 {
19999 if (temp3)
20000 delete arg3;
20001 }
20002 return resultobj;
20003fail:
20004 {
20005 if (temp3)
20006 delete arg3;
20007 }
20008 return NULL;
20009}
20010
20011
20012SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj = 0;
20014 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20015 size_t arg2 ;
20016 wxWindow *arg3 = (wxWindow *) 0 ;
20017 wxString *arg4 = 0 ;
20018 bool arg5 = (bool) false ;
20019 int arg6 = (int) -1 ;
20020 bool result;
20021 void *argp1 = 0 ;
20022 int res1 = 0 ;
20023 size_t val2 ;
20024 int ecode2 = 0 ;
20025 void *argp3 = 0 ;
20026 int res3 = 0 ;
20027 bool temp4 = false ;
20028 bool val5 ;
20029 int ecode5 = 0 ;
20030 int val6 ;
20031 int ecode6 = 0 ;
20032 PyObject * obj0 = 0 ;
20033 PyObject * obj1 = 0 ;
20034 PyObject * obj2 = 0 ;
20035 PyObject * obj3 = 0 ;
20036 PyObject * obj4 = 0 ;
20037 PyObject * obj5 = 0 ;
20038 char * kwnames[] = {
20039 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20040 };
20041
20042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20044 if (!SWIG_IsOK(res1)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20046 }
20047 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20048 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20049 if (!SWIG_IsOK(ecode2)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20051 }
20052 arg2 = static_cast< size_t >(val2);
20053 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20054 if (!SWIG_IsOK(res3)) {
20055 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20056 }
20057 arg3 = reinterpret_cast< wxWindow * >(argp3);
20058 {
20059 arg4 = wxString_in_helper(obj3);
20060 if (arg4 == NULL) SWIG_fail;
20061 temp4 = true;
20062 }
20063 if (obj4) {
20064 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20065 if (!SWIG_IsOK(ecode5)) {
20066 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20067 }
20068 arg5 = static_cast< bool >(val5);
20069 }
20070 if (obj5) {
20071 ecode6 = SWIG_AsVal_int(obj5, &val6);
20072 if (!SWIG_IsOK(ecode6)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20074 }
20075 arg6 = static_cast< int >(val6);
20076 }
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 {
20084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20085 }
20086 {
20087 if (temp4)
20088 delete arg4;
20089 }
20090 return resultobj;
20091fail:
20092 {
20093 if (temp4)
20094 delete arg4;
20095 }
20096 return NULL;
20097}
20098
20099
20100SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj = 0;
20102 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20103 size_t arg2 ;
20104 int result;
20105 void *argp1 = 0 ;
20106 int res1 = 0 ;
20107 size_t val2 ;
20108 int ecode2 = 0 ;
20109 PyObject * obj0 = 0 ;
20110 PyObject * obj1 = 0 ;
20111 char * kwnames[] = {
20112 (char *) "self",(char *) "n", NULL
20113 };
20114
20115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20117 if (!SWIG_IsOK(res1)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20119 }
20120 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20121 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20122 if (!SWIG_IsOK(ecode2)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20124 }
20125 arg2 = static_cast< size_t >(val2);
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = (int)(arg1)->SetSelection(arg2);
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 resultobj = SWIG_From_int(static_cast< int >(result));
20133 return resultobj;
20134fail:
20135 return NULL;
20136}
20137
20138
20139SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20140 PyObject *resultobj = 0;
20141 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20142 bool arg2 = (bool) true ;
20143 void *argp1 = 0 ;
20144 int res1 = 0 ;
20145 bool val2 ;
20146 int ecode2 = 0 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 char * kwnames[] = {
20150 (char *) "self",(char *) "forward", NULL
20151 };
20152
20153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20155 if (!SWIG_IsOK(res1)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20157 }
20158 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20159 if (obj1) {
20160 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20161 if (!SWIG_IsOK(ecode2)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20163 }
20164 arg2 = static_cast< bool >(val2);
20165 }
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 (arg1)->AdvanceSelection(arg2);
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 resultobj = SWIG_Py_Void();
20173 return resultobj;
20174fail:
20175 return NULL;
20176}
20177
20178
704eda0c
RD
20179SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj = 0;
20181 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20182 wxPoint *arg2 = 0 ;
20183 long *arg3 = (long *) 0 ;
20184 int result;
20185 void *argp1 = 0 ;
20186 int res1 = 0 ;
20187 wxPoint temp2 ;
20188 long temp3 ;
20189 int res3 = SWIG_TMPOBJ ;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 char * kwnames[] = {
20193 (char *) "self",(char *) "pt", NULL
20194 };
20195
20196 arg3 = &temp3;
20197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20199 if (!SWIG_IsOK(res1)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20201 }
20202 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20203 {
20204 arg2 = &temp2;
20205 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20206 }
20207 {
20208 PyThreadState* __tstate = wxPyBeginAllowThreads();
20209 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 resultobj = SWIG_From_int(static_cast< int >(result));
20214 if (SWIG_IsTmpObj(res3)) {
20215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20216 } else {
20217 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20219 }
20220 return resultobj;
20221fail:
20222 return NULL;
20223}
20224
20225
554f62e9
RD
20226SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20227 PyObject *resultobj = 0;
20228 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20229 SwigValueWrapper<wxVisualAttributes > result;
20230 int val1 ;
20231 int ecode1 = 0 ;
20232 PyObject * obj0 = 0 ;
20233 char * kwnames[] = {
20234 (char *) "variant", NULL
20235 };
20236
20237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20238 if (obj0) {
20239 ecode1 = SWIG_AsVal_int(obj0, &val1);
20240 if (!SWIG_IsOK(ecode1)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20242 }
20243 arg1 = static_cast< wxWindowVariant >(val1);
20244 }
20245 {
20246 if (!wxPyCheckForApp()) SWIG_fail;
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20253 return resultobj;
20254fail:
20255 return NULL;
20256}
20257
20258
20259SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20260 PyObject *obj;
20261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20262 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20263 return SWIG_Py_Void();
20264}
20265
20266SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj = 0;
20268 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20269 int arg2 = (int) 0 ;
20270 int arg3 = (int) -1 ;
20271 int arg4 = (int) -1 ;
20272 wxBookCtrlBaseEvent *result = 0 ;
20273 int val1 ;
20274 int ecode1 = 0 ;
20275 int val2 ;
20276 int ecode2 = 0 ;
20277 int val3 ;
20278 int ecode3 = 0 ;
20279 int val4 ;
20280 int ecode4 = 0 ;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 PyObject * obj2 = 0 ;
20284 PyObject * obj3 = 0 ;
20285 char * kwnames[] = {
20286 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20287 };
20288
20289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20290 if (obj0) {
20291 ecode1 = SWIG_AsVal_int(obj0, &val1);
20292 if (!SWIG_IsOK(ecode1)) {
20293 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20294 }
20295 arg1 = static_cast< wxEventType >(val1);
20296 }
20297 if (obj1) {
20298 ecode2 = SWIG_AsVal_int(obj1, &val2);
20299 if (!SWIG_IsOK(ecode2)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20301 }
20302 arg2 = static_cast< int >(val2);
20303 }
20304 if (obj2) {
20305 ecode3 = SWIG_AsVal_int(obj2, &val3);
20306 if (!SWIG_IsOK(ecode3)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20308 }
20309 arg3 = static_cast< int >(val3);
20310 }
20311 if (obj3) {
20312 ecode4 = SWIG_AsVal_int(obj3, &val4);
20313 if (!SWIG_IsOK(ecode4)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20315 }
20316 arg4 = static_cast< int >(val4);
20317 }
20318 {
20319 PyThreadState* __tstate = wxPyBeginAllowThreads();
20320 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20325 return resultobj;
20326fail:
20327 return NULL;
d55e5bfc
RD
20328}
20329
20330
554f62e9
RD
20331SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20332 PyObject *resultobj = 0;
20333 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20334 int result;
20335 void *argp1 = 0 ;
20336 int res1 = 0 ;
20337 PyObject *swig_obj[1] ;
20338
20339 if (!args) SWIG_fail;
20340 swig_obj[0] = args;
20341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20342 if (!SWIG_IsOK(res1)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20344 }
20345 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 resultobj = SWIG_From_int(static_cast< int >(result));
20353 return resultobj;
20354fail:
20355 return NULL;
20356}
20357
20358
20359SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj = 0;
20361 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20362 int arg2 ;
20363 void *argp1 = 0 ;
20364 int res1 = 0 ;
20365 int val2 ;
20366 int ecode2 = 0 ;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 char * kwnames[] = {
20370 (char *) "self",(char *) "nSel", NULL
20371 };
20372
20373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20375 if (!SWIG_IsOK(res1)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20377 }
20378 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20379 ecode2 = SWIG_AsVal_int(obj1, &val2);
20380 if (!SWIG_IsOK(ecode2)) {
20381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20382 }
20383 arg2 = static_cast< int >(val2);
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 (arg1)->SetSelection(arg2);
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = SWIG_Py_Void();
20391 return resultobj;
20392fail:
20393 return NULL;
d55e5bfc
RD
20394}
20395
20396
554f62e9
RD
20397SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20398 PyObject *resultobj = 0;
20399 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20400 int result;
20401 void *argp1 = 0 ;
20402 int res1 = 0 ;
20403 PyObject *swig_obj[1] ;
20404
20405 if (!args) SWIG_fail;
20406 swig_obj[0] = args;
20407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20408 if (!SWIG_IsOK(res1)) {
20409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20410 }
20411 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = SWIG_From_int(static_cast< int >(result));
20419 return resultobj;
20420fail:
20421 return NULL;
20422}
20423
20424
20425SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj = 0;
20427 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20428 int arg2 ;
20429 void *argp1 = 0 ;
20430 int res1 = 0 ;
20431 int val2 ;
20432 int ecode2 = 0 ;
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 char * kwnames[] = {
20436 (char *) "self",(char *) "nOldSel", NULL
20437 };
20438
20439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20441 if (!SWIG_IsOK(res1)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20443 }
20444 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20445 ecode2 = SWIG_AsVal_int(obj1, &val2);
20446 if (!SWIG_IsOK(ecode2)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20448 }
20449 arg2 = static_cast< int >(val2);
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 (arg1)->SetOldSelection(arg2);
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 resultobj = SWIG_Py_Void();
20457 return resultobj;
20458fail:
20459 return NULL;
20460}
20461
20462
20463SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20464 PyObject *obj;
20465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20466 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20467 return SWIG_Py_Void();
20468}
20469
20470SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20471 return SWIG_Python_InitShadowInstance(args);
20472}
20473
20474SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20475 PyObject *resultobj = 0;
20476 wxWindow *arg1 = (wxWindow *) 0 ;
20477 int arg2 = (int) -1 ;
20478 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20479 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20480 wxSize const &arg4_defvalue = wxDefaultSize ;
20481 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20482 long arg5 = (long) 0 ;
20483 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20484 wxString *arg6 = (wxString *) &arg6_defvalue ;
20485 wxNotebook *result = 0 ;
20486 void *argp1 = 0 ;
20487 int res1 = 0 ;
20488 int val2 ;
20489 int ecode2 = 0 ;
20490 wxPoint temp3 ;
20491 wxSize temp4 ;
20492 long val5 ;
20493 int ecode5 = 0 ;
20494 bool temp6 = false ;
20495 PyObject * obj0 = 0 ;
20496 PyObject * obj1 = 0 ;
20497 PyObject * obj2 = 0 ;
20498 PyObject * obj3 = 0 ;
20499 PyObject * obj4 = 0 ;
20500 PyObject * obj5 = 0 ;
20501 char * kwnames[] = {
20502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20503 };
20504
20505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20507 if (!SWIG_IsOK(res1)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20509 }
20510 arg1 = reinterpret_cast< wxWindow * >(argp1);
20511 if (obj1) {
20512 ecode2 = SWIG_AsVal_int(obj1, &val2);
20513 if (!SWIG_IsOK(ecode2)) {
20514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20515 }
20516 arg2 = static_cast< int >(val2);
20517 }
20518 if (obj2) {
093d3ff1 20519 {
554f62e9
RD
20520 arg3 = &temp3;
20521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20522 }
554f62e9
RD
20523 }
20524 if (obj3) {
d55e5bfc 20525 {
554f62e9
RD
20526 arg4 = &temp4;
20527 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20528 }
554f62e9
RD
20529 }
20530 if (obj4) {
20531 ecode5 = SWIG_AsVal_long(obj4, &val5);
20532 if (!SWIG_IsOK(ecode5)) {
20533 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20534 }
20535 arg5 = static_cast< long >(val5);
20536 }
20537 if (obj5) {
20538 {
20539 arg6 = wxString_in_helper(obj5);
20540 if (arg6 == NULL) SWIG_fail;
20541 temp6 = true;
20542 }
20543 }
20544 {
20545 if (!wxPyCheckForApp()) SWIG_fail;
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20552 {
20553 if (temp6)
20554 delete arg6;
20555 }
20556 return resultobj;
20557fail:
20558 {
20559 if (temp6)
20560 delete arg6;
20561 }
20562 return NULL;
d55e5bfc
RD
20563}
20564
20565
554f62e9
RD
20566SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20567 PyObject *resultobj = 0;
20568 wxNotebook *result = 0 ;
20569
20570 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20571 {
20572 if (!wxPyCheckForApp()) SWIG_fail;
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 result = (wxNotebook *)new wxNotebook();
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20579 return resultobj;
20580fail:
20581 return NULL;
20582}
20583
20584
20585SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj = 0;
20587 wxNotebook *arg1 = (wxNotebook *) 0 ;
20588 wxWindow *arg2 = (wxWindow *) 0 ;
20589 int arg3 = (int) -1 ;
20590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20592 wxSize const &arg5_defvalue = wxDefaultSize ;
20593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20594 long arg6 = (long) 0 ;
20595 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20596 wxString *arg7 = (wxString *) &arg7_defvalue ;
20597 bool result;
20598 void *argp1 = 0 ;
20599 int res1 = 0 ;
20600 void *argp2 = 0 ;
20601 int res2 = 0 ;
20602 int val3 ;
20603 int ecode3 = 0 ;
20604 wxPoint temp4 ;
20605 wxSize temp5 ;
20606 long val6 ;
20607 int ecode6 = 0 ;
20608 bool temp7 = false ;
20609 PyObject * obj0 = 0 ;
20610 PyObject * obj1 = 0 ;
20611 PyObject * obj2 = 0 ;
20612 PyObject * obj3 = 0 ;
20613 PyObject * obj4 = 0 ;
20614 PyObject * obj5 = 0 ;
20615 PyObject * obj6 = 0 ;
20616 char * kwnames[] = {
20617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20618 };
20619
20620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20622 if (!SWIG_IsOK(res1)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20624 }
20625 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20627 if (!SWIG_IsOK(res2)) {
20628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20629 }
20630 arg2 = reinterpret_cast< wxWindow * >(argp2);
20631 if (obj2) {
20632 ecode3 = SWIG_AsVal_int(obj2, &val3);
20633 if (!SWIG_IsOK(ecode3)) {
20634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20635 }
20636 arg3 = static_cast< int >(val3);
20637 }
20638 if (obj3) {
093d3ff1 20639 {
554f62e9
RD
20640 arg4 = &temp4;
20641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20642 }
554f62e9
RD
20643 }
20644 if (obj4) {
093d3ff1 20645 {
554f62e9
RD
20646 arg5 = &temp5;
20647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 20648 }
554f62e9
RD
20649 }
20650 if (obj5) {
20651 ecode6 = SWIG_AsVal_long(obj5, &val6);
20652 if (!SWIG_IsOK(ecode6)) {
20653 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20654 }
20655 arg6 = static_cast< long >(val6);
20656 }
20657 if (obj6) {
d55e5bfc 20658 {
554f62e9
RD
20659 arg7 = wxString_in_helper(obj6);
20660 if (arg7 == NULL) SWIG_fail;
20661 temp7 = true;
d55e5bfc 20662 }
554f62e9
RD
20663 }
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 {
20671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20672 }
20673 {
20674 if (temp7)
20675 delete arg7;
20676 }
20677 return resultobj;
20678fail:
20679 {
20680 if (temp7)
20681 delete arg7;
20682 }
20683 return NULL;
f20a2e1f
RD
20684}
20685
20686
554f62e9
RD
20687SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20688 PyObject *resultobj = 0;
20689 wxNotebook *arg1 = (wxNotebook *) 0 ;
20690 int result;
20691 void *argp1 = 0 ;
20692 int res1 = 0 ;
20693 PyObject *swig_obj[1] ;
20694
20695 if (!args) SWIG_fail;
20696 swig_obj[0] = args;
20697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20698 if (!SWIG_IsOK(res1)) {
20699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20700 }
20701 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 resultobj = SWIG_From_int(static_cast< int >(result));
20709 return resultobj;
20710fail:
20711 return NULL;
20712}
20713
20714
20715SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj = 0;
20717 wxNotebook *arg1 = (wxNotebook *) 0 ;
20718 wxSize *arg2 = 0 ;
20719 void *argp1 = 0 ;
20720 int res1 = 0 ;
20721 wxSize temp2 ;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724 char * kwnames[] = {
20725 (char *) "self",(char *) "padding", NULL
20726 };
20727
20728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20730 if (!SWIG_IsOK(res1)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20732 }
20733 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20734 {
20735 arg2 = &temp2;
20736 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20737 }
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 (arg1)->SetPadding((wxSize const &)*arg2);
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 resultobj = SWIG_Py_Void();
20745 return resultobj;
20746fail:
20747 return NULL;
20748}
20749
20750
20751SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj = 0;
20753 wxNotebook *arg1 = (wxNotebook *) 0 ;
20754 wxSize *arg2 = 0 ;
20755 void *argp1 = 0 ;
20756 int res1 = 0 ;
20757 wxSize temp2 ;
20758 PyObject * obj0 = 0 ;
20759 PyObject * obj1 = 0 ;
20760 char * kwnames[] = {
20761 (char *) "self",(char *) "sz", NULL
20762 };
20763
20764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20766 if (!SWIG_IsOK(res1)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20768 }
20769 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20770 {
20771 arg2 = &temp2;
20772 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20773 }
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 (arg1)->SetTabSize((wxSize const &)*arg2);
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 resultobj = SWIG_Py_Void();
20781 return resultobj;
20782fail:
20783 return NULL;
20784}
20785
20786
554f62e9
RD
20787SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20788 PyObject *resultobj = 0;
20789 wxNotebook *arg1 = (wxNotebook *) 0 ;
20790 wxColour result;
20791 void *argp1 = 0 ;
20792 int res1 = 0 ;
20793 PyObject *swig_obj[1] ;
20794
20795 if (!args) SWIG_fail;
20796 swig_obj[0] = args;
20797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20798 if (!SWIG_IsOK(res1)) {
20799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20800 }
20801 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20809 return resultobj;
20810fail:
20811 return NULL;
20812}
20813
20814
20815SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj = 0;
20817 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20818 SwigValueWrapper<wxVisualAttributes > result;
20819 int val1 ;
20820 int ecode1 = 0 ;
20821 PyObject * obj0 = 0 ;
20822 char * kwnames[] = {
20823 (char *) "variant", NULL
20824 };
20825
20826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20827 if (obj0) {
20828 ecode1 = SWIG_AsVal_int(obj0, &val1);
20829 if (!SWIG_IsOK(ecode1)) {
20830 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20831 }
20832 arg1 = static_cast< wxWindowVariant >(val1);
20833 }
20834 {
20835 if (!wxPyCheckForApp()) SWIG_fail;
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = wxNotebook::GetClassDefaultAttributes(arg1);
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20842 return resultobj;
20843fail:
20844 return NULL;
20845}
20846
20847
20848SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20849 PyObject *obj;
20850 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20851 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
20852 return SWIG_Py_Void();
20853}
20854
20855SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20856 return SWIG_Python_InitShadowInstance(args);
20857}
20858
20859SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj = 0;
20861 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20862 int arg2 = (int) 0 ;
20863 int arg3 = (int) -1 ;
20864 int arg4 = (int) -1 ;
20865 wxNotebookEvent *result = 0 ;
20866 int val1 ;
20867 int ecode1 = 0 ;
20868 int val2 ;
20869 int ecode2 = 0 ;
20870 int val3 ;
20871 int ecode3 = 0 ;
20872 int val4 ;
20873 int ecode4 = 0 ;
20874 PyObject * obj0 = 0 ;
20875 PyObject * obj1 = 0 ;
20876 PyObject * obj2 = 0 ;
20877 PyObject * obj3 = 0 ;
20878 char * kwnames[] = {
20879 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20880 };
20881
20882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20883 if (obj0) {
20884 ecode1 = SWIG_AsVal_int(obj0, &val1);
20885 if (!SWIG_IsOK(ecode1)) {
20886 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20887 }
20888 arg1 = static_cast< wxEventType >(val1);
20889 }
20890 if (obj1) {
20891 ecode2 = SWIG_AsVal_int(obj1, &val2);
20892 if (!SWIG_IsOK(ecode2)) {
20893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20894 }
20895 arg2 = static_cast< int >(val2);
20896 }
20897 if (obj2) {
20898 ecode3 = SWIG_AsVal_int(obj2, &val3);
20899 if (!SWIG_IsOK(ecode3)) {
20900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20901 }
20902 arg3 = static_cast< int >(val3);
20903 }
20904 if (obj3) {
20905 ecode4 = SWIG_AsVal_int(obj3, &val4);
20906 if (!SWIG_IsOK(ecode4)) {
20907 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20908 }
20909 arg4 = static_cast< int >(val4);
20910 }
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
20918 return resultobj;
20919fail:
20920 return NULL;
20921}
20922
20923
20924SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20925 PyObject *obj;
20926 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20927 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
20928 return SWIG_Py_Void();
20929}
20930
20931SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20932 return SWIG_Python_InitShadowInstance(args);
20933}
20934
20935SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj = 0;
20937 wxWindow *arg1 = (wxWindow *) 0 ;
20938 int arg2 = (int) -1 ;
20939 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20940 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20941 wxSize const &arg4_defvalue = wxDefaultSize ;
20942 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20943 long arg5 = (long) 0 ;
20944 wxString const &arg6_defvalue = wxPyEmptyString ;
20945 wxString *arg6 = (wxString *) &arg6_defvalue ;
20946 wxListbook *result = 0 ;
20947 void *argp1 = 0 ;
20948 int res1 = 0 ;
20949 int val2 ;
20950 int ecode2 = 0 ;
20951 wxPoint temp3 ;
20952 wxSize temp4 ;
20953 long val5 ;
20954 int ecode5 = 0 ;
20955 bool temp6 = false ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj1 = 0 ;
20958 PyObject * obj2 = 0 ;
20959 PyObject * obj3 = 0 ;
20960 PyObject * obj4 = 0 ;
20961 PyObject * obj5 = 0 ;
20962 char * kwnames[] = {
20963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20964 };
20965
20966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20968 if (!SWIG_IsOK(res1)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20970 }
20971 arg1 = reinterpret_cast< wxWindow * >(argp1);
20972 if (obj1) {
20973 ecode2 = SWIG_AsVal_int(obj1, &val2);
20974 if (!SWIG_IsOK(ecode2)) {
20975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20976 }
20977 arg2 = static_cast< int >(val2);
20978 }
20979 if (obj2) {
20980 {
20981 arg3 = &temp3;
20982 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 20983 }
554f62e9
RD
20984 }
20985 if (obj3) {
d55e5bfc 20986 {
554f62e9
RD
20987 arg4 = &temp4;
20988 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20989 }
554f62e9
RD
20990 }
20991 if (obj4) {
20992 ecode5 = SWIG_AsVal_long(obj4, &val5);
20993 if (!SWIG_IsOK(ecode5)) {
20994 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20995 }
20996 arg5 = static_cast< long >(val5);
20997 }
20998 if (obj5) {
d55e5bfc 20999 {
554f62e9
RD
21000 arg6 = wxString_in_helper(obj5);
21001 if (arg6 == NULL) SWIG_fail;
21002 temp6 = true;
d55e5bfc 21003 }
554f62e9
RD
21004 }
21005 {
21006 if (!wxPyCheckForApp()) SWIG_fail;
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21013 {
21014 if (temp6)
21015 delete arg6;
21016 }
21017 return resultobj;
21018fail:
21019 {
21020 if (temp6)
21021 delete arg6;
21022 }
21023 return NULL;
d55e5bfc
RD
21024}
21025
21026
554f62e9
RD
21027SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *resultobj = 0;
21029 wxListbook *result = 0 ;
21030
21031 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21032 {
21033 if (!wxPyCheckForApp()) SWIG_fail;
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (wxListbook *)new wxListbook();
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21040 return resultobj;
21041fail:
21042 return NULL;
21043}
21044
21045
21046SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21047 PyObject *resultobj = 0;
21048 wxListbook *arg1 = (wxListbook *) 0 ;
21049 wxWindow *arg2 = (wxWindow *) 0 ;
21050 int arg3 = (int) -1 ;
21051 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21052 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21053 wxSize const &arg5_defvalue = wxDefaultSize ;
21054 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21055 long arg6 = (long) 0 ;
21056 wxString const &arg7_defvalue = wxPyEmptyString ;
21057 wxString *arg7 = (wxString *) &arg7_defvalue ;
21058 bool result;
21059 void *argp1 = 0 ;
21060 int res1 = 0 ;
21061 void *argp2 = 0 ;
21062 int res2 = 0 ;
21063 int val3 ;
21064 int ecode3 = 0 ;
21065 wxPoint temp4 ;
21066 wxSize temp5 ;
21067 long val6 ;
21068 int ecode6 = 0 ;
21069 bool temp7 = false ;
21070 PyObject * obj0 = 0 ;
21071 PyObject * obj1 = 0 ;
21072 PyObject * obj2 = 0 ;
21073 PyObject * obj3 = 0 ;
21074 PyObject * obj4 = 0 ;
21075 PyObject * obj5 = 0 ;
21076 PyObject * obj6 = 0 ;
21077 char * kwnames[] = {
21078 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21079 };
21080
21081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21083 if (!SWIG_IsOK(res1)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21085 }
21086 arg1 = reinterpret_cast< wxListbook * >(argp1);
21087 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21088 if (!SWIG_IsOK(res2)) {
21089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21090 }
21091 arg2 = reinterpret_cast< wxWindow * >(argp2);
21092 if (obj2) {
21093 ecode3 = SWIG_AsVal_int(obj2, &val3);
21094 if (!SWIG_IsOK(ecode3)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21096 }
21097 arg3 = static_cast< int >(val3);
21098 }
21099 if (obj3) {
d55e5bfc 21100 {
554f62e9
RD
21101 arg4 = &temp4;
21102 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21103 }
554f62e9
RD
21104 }
21105 if (obj4) {
d55e5bfc 21106 {
554f62e9
RD
21107 arg5 = &temp5;
21108 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21109 }
554f62e9
RD
21110 }
21111 if (obj5) {
21112 ecode6 = SWIG_AsVal_long(obj5, &val6);
21113 if (!SWIG_IsOK(ecode6)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21115 }
21116 arg6 = static_cast< long >(val6);
21117 }
21118 if (obj6) {
d55e5bfc 21119 {
554f62e9
RD
21120 arg7 = wxString_in_helper(obj6);
21121 if (arg7 == NULL) SWIG_fail;
21122 temp7 = true;
d55e5bfc 21123 }
554f62e9
RD
21124 }
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 {
21132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21133 }
21134 {
21135 if (temp7)
21136 delete arg7;
21137 }
21138 return resultobj;
21139fail:
21140 {
21141 if (temp7)
21142 delete arg7;
21143 }
21144 return NULL;
d55e5bfc
RD
21145}
21146
21147
554f62e9
RD
21148SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21149 PyObject *resultobj = 0;
21150 wxListbook *arg1 = (wxListbook *) 0 ;
21151 wxListView *result = 0 ;
21152 void *argp1 = 0 ;
21153 int res1 = 0 ;
21154 PyObject *swig_obj[1] ;
21155
21156 if (!args) SWIG_fail;
21157 swig_obj[0] = args;
21158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21159 if (!SWIG_IsOK(res1)) {
21160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21161 }
21162 arg1 = reinterpret_cast< wxListbook * >(argp1);
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 result = (wxListView *)(arg1)->GetListView();
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21170 return resultobj;
21171fail:
21172 return NULL;
21173}
21174
21175
21176SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21177 PyObject *obj;
21178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21179 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21180 return SWIG_Py_Void();
21181}
21182
21183SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21184 return SWIG_Python_InitShadowInstance(args);
21185}
21186
21187SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21188 PyObject *resultobj = 0;
21189 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21190 int arg2 = (int) 0 ;
21191 int arg3 = (int) -1 ;
21192 int arg4 = (int) -1 ;
21193 wxListbookEvent *result = 0 ;
21194 int val1 ;
21195 int ecode1 = 0 ;
21196 int val2 ;
21197 int ecode2 = 0 ;
21198 int val3 ;
21199 int ecode3 = 0 ;
21200 int val4 ;
21201 int ecode4 = 0 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 PyObject * obj2 = 0 ;
21205 PyObject * obj3 = 0 ;
21206 char * kwnames[] = {
21207 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21208 };
21209
21210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21211 if (obj0) {
21212 ecode1 = SWIG_AsVal_int(obj0, &val1);
21213 if (!SWIG_IsOK(ecode1)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21215 }
21216 arg1 = static_cast< wxEventType >(val1);
21217 }
21218 if (obj1) {
21219 ecode2 = SWIG_AsVal_int(obj1, &val2);
21220 if (!SWIG_IsOK(ecode2)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21222 }
21223 arg2 = static_cast< int >(val2);
21224 }
21225 if (obj2) {
21226 ecode3 = SWIG_AsVal_int(obj2, &val3);
21227 if (!SWIG_IsOK(ecode3)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21229 }
21230 arg3 = static_cast< int >(val3);
21231 }
21232 if (obj3) {
21233 ecode4 = SWIG_AsVal_int(obj3, &val4);
21234 if (!SWIG_IsOK(ecode4)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21236 }
21237 arg4 = static_cast< int >(val4);
21238 }
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21246 return resultobj;
21247fail:
21248 return NULL;
21249}
21250
21251
21252SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21253 PyObject *obj;
21254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21255 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21256 return SWIG_Py_Void();
21257}
21258
21259SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21260 return SWIG_Python_InitShadowInstance(args);
21261}
21262
21263SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj = 0;
21265 wxWindow *arg1 = (wxWindow *) 0 ;
21266 int arg2 ;
21267 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21268 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21269 wxSize const &arg4_defvalue = wxDefaultSize ;
21270 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21271 long arg5 = (long) 0 ;
21272 wxString const &arg6_defvalue = wxPyEmptyString ;
21273 wxString *arg6 = (wxString *) &arg6_defvalue ;
21274 wxChoicebook *result = 0 ;
21275 void *argp1 = 0 ;
21276 int res1 = 0 ;
21277 int val2 ;
21278 int ecode2 = 0 ;
21279 wxPoint temp3 ;
21280 wxSize temp4 ;
21281 long val5 ;
21282 int ecode5 = 0 ;
21283 bool temp6 = false ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 PyObject * obj2 = 0 ;
21287 PyObject * obj3 = 0 ;
21288 PyObject * obj4 = 0 ;
21289 PyObject * obj5 = 0 ;
21290 char * kwnames[] = {
21291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21292 };
21293
21294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21296 if (!SWIG_IsOK(res1)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21298 }
21299 arg1 = reinterpret_cast< wxWindow * >(argp1);
21300 ecode2 = SWIG_AsVal_int(obj1, &val2);
21301 if (!SWIG_IsOK(ecode2)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21303 }
21304 arg2 = static_cast< int >(val2);
21305 if (obj2) {
d55e5bfc 21306 {
554f62e9
RD
21307 arg3 = &temp3;
21308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21309 }
554f62e9
RD
21310 }
21311 if (obj3) {
d55e5bfc 21312 {
554f62e9
RD
21313 arg4 = &temp4;
21314 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21315 }
554f62e9
RD
21316 }
21317 if (obj4) {
21318 ecode5 = SWIG_AsVal_long(obj4, &val5);
21319 if (!SWIG_IsOK(ecode5)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21321 }
21322 arg5 = static_cast< long >(val5);
21323 }
21324 if (obj5) {
d55e5bfc 21325 {
554f62e9
RD
21326 arg6 = wxString_in_helper(obj5);
21327 if (arg6 == NULL) SWIG_fail;
21328 temp6 = true;
d55e5bfc 21329 }
554f62e9
RD
21330 }
21331 {
21332 if (!wxPyCheckForApp()) SWIG_fail;
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21339 {
21340 if (temp6)
21341 delete arg6;
21342 }
21343 return resultobj;
21344fail:
21345 {
21346 if (temp6)
21347 delete arg6;
21348 }
21349 return NULL;
d55e5bfc
RD
21350}
21351
21352
554f62e9
RD
21353SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21354 PyObject *resultobj = 0;
21355 wxChoicebook *result = 0 ;
21356
21357 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21358 {
21359 if (!wxPyCheckForApp()) SWIG_fail;
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = (wxChoicebook *)new wxChoicebook();
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21366 return resultobj;
21367fail:
21368 return NULL;
21369}
21370
21371
21372SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj = 0;
21374 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21375 wxWindow *arg2 = (wxWindow *) 0 ;
21376 int arg3 ;
21377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21379 wxSize const &arg5_defvalue = wxDefaultSize ;
21380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21381 long arg6 = (long) 0 ;
21382 wxString const &arg7_defvalue = wxPyEmptyString ;
21383 wxString *arg7 = (wxString *) &arg7_defvalue ;
21384 bool result;
21385 void *argp1 = 0 ;
21386 int res1 = 0 ;
21387 void *argp2 = 0 ;
21388 int res2 = 0 ;
21389 int val3 ;
21390 int ecode3 = 0 ;
21391 wxPoint temp4 ;
21392 wxSize temp5 ;
21393 long val6 ;
21394 int ecode6 = 0 ;
21395 bool temp7 = false ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 PyObject * obj2 = 0 ;
21399 PyObject * obj3 = 0 ;
21400 PyObject * obj4 = 0 ;
21401 PyObject * obj5 = 0 ;
21402 PyObject * obj6 = 0 ;
21403 char * kwnames[] = {
21404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21405 };
21406
21407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21409 if (!SWIG_IsOK(res1)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21411 }
21412 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21413 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21414 if (!SWIG_IsOK(res2)) {
21415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21416 }
21417 arg2 = reinterpret_cast< wxWindow * >(argp2);
21418 ecode3 = SWIG_AsVal_int(obj2, &val3);
21419 if (!SWIG_IsOK(ecode3)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21421 }
21422 arg3 = static_cast< int >(val3);
21423 if (obj3) {
093d3ff1 21424 {
554f62e9
RD
21425 arg4 = &temp4;
21426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 21427 }
554f62e9
RD
21428 }
21429 if (obj4) {
093d3ff1 21430 {
554f62e9
RD
21431 arg5 = &temp5;
21432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21433 }
554f62e9
RD
21434 }
21435 if (obj5) {
21436 ecode6 = SWIG_AsVal_long(obj5, &val6);
21437 if (!SWIG_IsOK(ecode6)) {
21438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21439 }
21440 arg6 = static_cast< long >(val6);
21441 }
21442 if (obj6) {
d55e5bfc 21443 {
554f62e9
RD
21444 arg7 = wxString_in_helper(obj6);
21445 if (arg7 == NULL) SWIG_fail;
21446 temp7 = true;
d55e5bfc 21447 }
554f62e9
RD
21448 }
21449 {
21450 PyThreadState* __tstate = wxPyBeginAllowThreads();
21451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 {
21456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21457 }
21458 {
21459 if (temp7)
21460 delete arg7;
21461 }
21462 return resultobj;
21463fail:
21464 {
21465 if (temp7)
21466 delete arg7;
21467 }
21468 return NULL;
d55e5bfc
RD
21469}
21470
21471
554f62e9
RD
21472SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21473 PyObject *resultobj = 0;
21474 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21475 wxChoice *result = 0 ;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 PyObject *swig_obj[1] ;
21479
21480 if (!args) SWIG_fail;
21481 swig_obj[0] = args;
21482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21483 if (!SWIG_IsOK(res1)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21485 }
21486 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21494 return resultobj;
21495fail:
21496 return NULL;
21497}
21498
21499
21500SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21501 PyObject *obj;
21502 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21503 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21504 return SWIG_Py_Void();
21505}
21506
21507SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21508 return SWIG_Python_InitShadowInstance(args);
21509}
21510
21511SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj = 0;
21513 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21514 int arg2 = (int) 0 ;
21515 int arg3 = (int) -1 ;
21516 int arg4 = (int) -1 ;
21517 wxChoicebookEvent *result = 0 ;
21518 int val1 ;
21519 int ecode1 = 0 ;
21520 int val2 ;
21521 int ecode2 = 0 ;
21522 int val3 ;
21523 int ecode3 = 0 ;
21524 int val4 ;
21525 int ecode4 = 0 ;
21526 PyObject * obj0 = 0 ;
21527 PyObject * obj1 = 0 ;
21528 PyObject * obj2 = 0 ;
21529 PyObject * obj3 = 0 ;
21530 char * kwnames[] = {
21531 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21532 };
21533
21534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21535 if (obj0) {
21536 ecode1 = SWIG_AsVal_int(obj0, &val1);
21537 if (!SWIG_IsOK(ecode1)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21539 }
21540 arg1 = static_cast< wxEventType >(val1);
21541 }
21542 if (obj1) {
21543 ecode2 = SWIG_AsVal_int(obj1, &val2);
21544 if (!SWIG_IsOK(ecode2)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21546 }
21547 arg2 = static_cast< int >(val2);
21548 }
21549 if (obj2) {
21550 ecode3 = SWIG_AsVal_int(obj2, &val3);
21551 if (!SWIG_IsOK(ecode3)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21553 }
21554 arg3 = static_cast< int >(val3);
21555 }
21556 if (obj3) {
21557 ecode4 = SWIG_AsVal_int(obj3, &val4);
21558 if (!SWIG_IsOK(ecode4)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21560 }
21561 arg4 = static_cast< int >(val4);
21562 }
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21570 return resultobj;
21571fail:
21572 return NULL;
21573}
21574
21575
21576SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21577 PyObject *obj;
21578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21579 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21580 return SWIG_Py_Void();
21581}
21582
21583SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21584 return SWIG_Python_InitShadowInstance(args);
21585}
21586
21587SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj = 0;
21589 wxWindow *arg1 = (wxWindow *) 0 ;
21590 int arg2 ;
21591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21593 wxSize const &arg4_defvalue = wxDefaultSize ;
21594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21595 long arg5 = (long) wxBK_DEFAULT ;
21596 wxString const &arg6_defvalue = wxPyEmptyString ;
21597 wxString *arg6 = (wxString *) &arg6_defvalue ;
21598 wxTreebook *result = 0 ;
21599 void *argp1 = 0 ;
21600 int res1 = 0 ;
21601 int val2 ;
21602 int ecode2 = 0 ;
21603 wxPoint temp3 ;
21604 wxSize temp4 ;
21605 long val5 ;
21606 int ecode5 = 0 ;
21607 bool temp6 = false ;
21608 PyObject * obj0 = 0 ;
21609 PyObject * obj1 = 0 ;
21610 PyObject * obj2 = 0 ;
21611 PyObject * obj3 = 0 ;
21612 PyObject * obj4 = 0 ;
21613 PyObject * obj5 = 0 ;
21614 char * kwnames[] = {
21615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21616 };
21617
21618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21620 if (!SWIG_IsOK(res1)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21622 }
21623 arg1 = reinterpret_cast< wxWindow * >(argp1);
21624 ecode2 = SWIG_AsVal_int(obj1, &val2);
21625 if (!SWIG_IsOK(ecode2)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21627 }
21628 arg2 = static_cast< int >(val2);
21629 if (obj2) {
d55e5bfc 21630 {
554f62e9
RD
21631 arg3 = &temp3;
21632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21633 }
554f62e9
RD
21634 }
21635 if (obj3) {
d55e5bfc 21636 {
554f62e9
RD
21637 arg4 = &temp4;
21638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21639 }
554f62e9
RD
21640 }
21641 if (obj4) {
21642 ecode5 = SWIG_AsVal_long(obj4, &val5);
21643 if (!SWIG_IsOK(ecode5)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21645 }
21646 arg5 = static_cast< long >(val5);
21647 }
21648 if (obj5) {
d55e5bfc 21649 {
554f62e9
RD
21650 arg6 = wxString_in_helper(obj5);
21651 if (arg6 == NULL) SWIG_fail;
21652 temp6 = true;
d55e5bfc 21653 }
554f62e9
RD
21654 }
21655 {
21656 if (!wxPyCheckForApp()) SWIG_fail;
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21663 {
21664 if (temp6)
21665 delete arg6;
21666 }
21667 return resultobj;
21668fail:
21669 {
21670 if (temp6)
21671 delete arg6;
21672 }
21673 return NULL;
d55e5bfc
RD
21674}
21675
21676
554f62e9
RD
21677SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21678 PyObject *resultobj = 0;
21679 wxTreebook *result = 0 ;
21680
21681 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21682 {
21683 if (!wxPyCheckForApp()) SWIG_fail;
21684 PyThreadState* __tstate = wxPyBeginAllowThreads();
21685 result = (wxTreebook *)new wxTreebook();
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21690 return resultobj;
21691fail:
21692 return NULL;
21693}
21694
21695
21696SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21697 PyObject *resultobj = 0;
21698 wxTreebook *arg1 = (wxTreebook *) 0 ;
21699 wxWindow *arg2 = (wxWindow *) 0 ;
21700 int arg3 ;
21701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21703 wxSize const &arg5_defvalue = wxDefaultSize ;
21704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21705 long arg6 = (long) wxBK_DEFAULT ;
21706 wxString const &arg7_defvalue = wxPyEmptyString ;
21707 wxString *arg7 = (wxString *) &arg7_defvalue ;
21708 bool result;
21709 void *argp1 = 0 ;
21710 int res1 = 0 ;
21711 void *argp2 = 0 ;
21712 int res2 = 0 ;
21713 int val3 ;
21714 int ecode3 = 0 ;
21715 wxPoint temp4 ;
21716 wxSize temp5 ;
21717 long val6 ;
21718 int ecode6 = 0 ;
21719 bool temp7 = false ;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 PyObject * obj2 = 0 ;
21723 PyObject * obj3 = 0 ;
21724 PyObject * obj4 = 0 ;
21725 PyObject * obj5 = 0 ;
21726 PyObject * obj6 = 0 ;
21727 char * kwnames[] = {
21728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21729 };
21730
21731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21733 if (!SWIG_IsOK(res1)) {
21734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21735 }
21736 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21738 if (!SWIG_IsOK(res2)) {
21739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21740 }
21741 arg2 = reinterpret_cast< wxWindow * >(argp2);
21742 ecode3 = SWIG_AsVal_int(obj2, &val3);
21743 if (!SWIG_IsOK(ecode3)) {
21744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21745 }
21746 arg3 = static_cast< int >(val3);
21747 if (obj3) {
093d3ff1 21748 {
554f62e9
RD
21749 arg4 = &temp4;
21750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 21751 }
554f62e9
RD
21752 }
21753 if (obj4) {
093d3ff1 21754 {
554f62e9
RD
21755 arg5 = &temp5;
21756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21757 }
554f62e9
RD
21758 }
21759 if (obj5) {
21760 ecode6 = SWIG_AsVal_long(obj5, &val6);
21761 if (!SWIG_IsOK(ecode6)) {
21762 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21763 }
21764 arg6 = static_cast< long >(val6);
21765 }
21766 if (obj6) {
d55e5bfc 21767 {
554f62e9
RD
21768 arg7 = wxString_in_helper(obj6);
21769 if (arg7 == NULL) SWIG_fail;
21770 temp7 = true;
d55e5bfc 21771 }
554f62e9
RD
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 {
21780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21781 }
21782 {
21783 if (temp7)
21784 delete arg7;
21785 }
21786 return resultobj;
21787fail:
21788 {
21789 if (temp7)
21790 delete arg7;
21791 }
21792 return NULL;
21793}
21794
21795
21796SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj = 0;
21798 wxTreebook *arg1 = (wxTreebook *) 0 ;
21799 size_t arg2 ;
21800 wxWindow *arg3 = (wxWindow *) 0 ;
21801 wxString *arg4 = 0 ;
21802 bool arg5 = (bool) false ;
21803 int arg6 = (int) wxNOT_FOUND ;
21804 bool result;
21805 void *argp1 = 0 ;
21806 int res1 = 0 ;
21807 size_t val2 ;
21808 int ecode2 = 0 ;
21809 void *argp3 = 0 ;
21810 int res3 = 0 ;
21811 bool temp4 = false ;
21812 bool val5 ;
21813 int ecode5 = 0 ;
21814 int val6 ;
21815 int ecode6 = 0 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 PyObject * obj2 = 0 ;
21819 PyObject * obj3 = 0 ;
21820 PyObject * obj4 = 0 ;
21821 PyObject * obj5 = 0 ;
21822 char * kwnames[] = {
21823 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21824 };
21825
21826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21828 if (!SWIG_IsOK(res1)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21830 }
21831 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21832 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21833 if (!SWIG_IsOK(ecode2)) {
21834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21835 }
21836 arg2 = static_cast< size_t >(val2);
21837 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
21838 if (!SWIG_IsOK(res3)) {
21839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21840 }
21841 arg3 = reinterpret_cast< wxWindow * >(argp3);
21842 {
21843 arg4 = wxString_in_helper(obj3);
21844 if (arg4 == NULL) SWIG_fail;
21845 temp4 = true;
21846 }
21847 if (obj4) {
21848 ecode5 = SWIG_AsVal_bool(obj4, &val5);
21849 if (!SWIG_IsOK(ecode5)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21851 }
21852 arg5 = static_cast< bool >(val5);
21853 }
21854 if (obj5) {
21855 ecode6 = SWIG_AsVal_int(obj5, &val6);
21856 if (!SWIG_IsOK(ecode6)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21858 }
21859 arg6 = static_cast< int >(val6);
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 {
21868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21869 }
21870 {
21871 if (temp4)
21872 delete arg4;
21873 }
21874 return resultobj;
21875fail:
21876 {
21877 if (temp4)
21878 delete arg4;
21879 }
21880 return NULL;
21881}
21882
21883
21884SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj = 0;
21886 wxTreebook *arg1 = (wxTreebook *) 0 ;
21887 wxWindow *arg2 = (wxWindow *) 0 ;
21888 wxString *arg3 = 0 ;
21889 bool arg4 = (bool) false ;
21890 int arg5 = (int) wxNOT_FOUND ;
21891 bool result;
21892 void *argp1 = 0 ;
21893 int res1 = 0 ;
21894 void *argp2 = 0 ;
21895 int res2 = 0 ;
21896 bool temp3 = false ;
21897 bool val4 ;
21898 int ecode4 = 0 ;
21899 int val5 ;
21900 int ecode5 = 0 ;
21901 PyObject * obj0 = 0 ;
21902 PyObject * obj1 = 0 ;
21903 PyObject * obj2 = 0 ;
21904 PyObject * obj3 = 0 ;
21905 PyObject * obj4 = 0 ;
21906 char * kwnames[] = {
21907 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21908 };
21909
21910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21912 if (!SWIG_IsOK(res1)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21914 }
21915 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21916 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21917 if (!SWIG_IsOK(res2)) {
21918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21919 }
21920 arg2 = reinterpret_cast< wxWindow * >(argp2);
21921 {
21922 arg3 = wxString_in_helper(obj2);
21923 if (arg3 == NULL) SWIG_fail;
21924 temp3 = true;
21925 }
21926 if (obj3) {
21927 ecode4 = SWIG_AsVal_bool(obj3, &val4);
21928 if (!SWIG_IsOK(ecode4)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21930 }
21931 arg4 = static_cast< bool >(val4);
21932 }
21933 if (obj4) {
21934 ecode5 = SWIG_AsVal_int(obj4, &val5);
21935 if (!SWIG_IsOK(ecode5)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21937 }
21938 arg5 = static_cast< int >(val5);
21939 }
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21948 }
21949 {
21950 if (temp3)
21951 delete arg3;
21952 }
21953 return resultobj;
21954fail:
21955 {
21956 if (temp3)
21957 delete arg3;
21958 }
21959 return NULL;
21960}
21961
21962
21963SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj = 0;
21965 wxTreebook *arg1 = (wxTreebook *) 0 ;
21966 size_t arg2 ;
21967 bool result;
21968 void *argp1 = 0 ;
21969 int res1 = 0 ;
21970 size_t val2 ;
21971 int ecode2 = 0 ;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 char * kwnames[] = {
21975 (char *) "self",(char *) "pos", NULL
21976 };
21977
21978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
21979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21980 if (!SWIG_IsOK(res1)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21982 }
21983 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21984 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21985 if (!SWIG_IsOK(ecode2)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21987 }
21988 arg2 = static_cast< size_t >(val2);
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 {
21996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21997 }
21998 return resultobj;
21999fail:
22000 return NULL;
22001}
22002
22003
22004SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj = 0;
22006 wxTreebook *arg1 = (wxTreebook *) 0 ;
22007 size_t arg2 ;
22008 bool arg3 = (bool) true ;
22009 bool result;
22010 void *argp1 = 0 ;
22011 int res1 = 0 ;
22012 size_t val2 ;
22013 int ecode2 = 0 ;
22014 bool val3 ;
22015 int ecode3 = 0 ;
22016 PyObject * obj0 = 0 ;
22017 PyObject * obj1 = 0 ;
22018 PyObject * obj2 = 0 ;
22019 char * kwnames[] = {
22020 (char *) "self",(char *) "pos",(char *) "expand", NULL
22021 };
22022
22023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22025 if (!SWIG_IsOK(res1)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22027 }
22028 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22029 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22030 if (!SWIG_IsOK(ecode2)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22032 }
22033 arg2 = static_cast< size_t >(val2);
22034 if (obj2) {
22035 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22036 if (!SWIG_IsOK(ecode3)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22038 }
22039 arg3 = static_cast< bool >(val3);
22040 }
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 {
22048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22049 }
22050 return resultobj;
22051fail:
22052 return NULL;
22053}
22054
22055
22056SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj = 0;
22058 wxTreebook *arg1 = (wxTreebook *) 0 ;
22059 size_t arg2 ;
22060 bool result;
22061 void *argp1 = 0 ;
22062 int res1 = 0 ;
22063 size_t val2 ;
22064 int ecode2 = 0 ;
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 char * kwnames[] = {
22068 (char *) "self",(char *) "pos", NULL
22069 };
22070
22071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22073 if (!SWIG_IsOK(res1)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22075 }
22076 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22077 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22078 if (!SWIG_IsOK(ecode2)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22080 }
22081 arg2 = static_cast< size_t >(val2);
22082 {
22083 PyThreadState* __tstate = wxPyBeginAllowThreads();
22084 result = (bool)(arg1)->CollapseNode(arg2);
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 {
22089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22090 }
22091 return resultobj;
22092fail:
22093 return NULL;
22094}
22095
22096
22097SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj = 0;
22099 wxTreebook *arg1 = (wxTreebook *) 0 ;
22100 size_t arg2 ;
22101 int result;
22102 void *argp1 = 0 ;
22103 int res1 = 0 ;
22104 size_t val2 ;
22105 int ecode2 = 0 ;
22106 PyObject * obj0 = 0 ;
22107 PyObject * obj1 = 0 ;
22108 char * kwnames[] = {
22109 (char *) "self",(char *) "pos", NULL
22110 };
22111
22112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22114 if (!SWIG_IsOK(res1)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22116 }
22117 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22118 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22119 if (!SWIG_IsOK(ecode2)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22121 }
22122 arg2 = static_cast< size_t >(val2);
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 resultobj = SWIG_From_int(static_cast< int >(result));
22130 return resultobj;
22131fail:
22132 return NULL;
d55e5bfc
RD
22133}
22134
22135
554f62e9
RD
22136SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22137 PyObject *resultobj = 0;
22138 wxTreebook *arg1 = (wxTreebook *) 0 ;
22139 wxTreeCtrl *result = 0 ;
22140 void *argp1 = 0 ;
22141 int res1 = 0 ;
22142 PyObject *swig_obj[1] ;
22143
22144 if (!args) SWIG_fail;
22145 swig_obj[0] = args;
22146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22147 if (!SWIG_IsOK(res1)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22149 }
22150 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22151 {
22152 PyThreadState* __tstate = wxPyBeginAllowThreads();
22153 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
22158 return resultobj;
22159fail:
22160 return NULL;
22161}
22162
22163
22164SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22165 PyObject *obj;
22166 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22167 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22168 return SWIG_Py_Void();
22169}
22170
22171SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22172 return SWIG_Python_InitShadowInstance(args);
22173}
22174
22175SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj = 0;
22177 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22178 int arg2 = (int) 0 ;
22179 int arg3 = (int) wxNOT_FOUND ;
22180 int arg4 = (int) wxNOT_FOUND ;
22181 wxTreebookEvent *result = 0 ;
22182 int val1 ;
22183 int ecode1 = 0 ;
22184 int val2 ;
22185 int ecode2 = 0 ;
22186 int val3 ;
22187 int ecode3 = 0 ;
22188 int val4 ;
22189 int ecode4 = 0 ;
22190 PyObject * obj0 = 0 ;
22191 PyObject * obj1 = 0 ;
22192 PyObject * obj2 = 0 ;
22193 PyObject * obj3 = 0 ;
22194 char * kwnames[] = {
22195 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22196 };
22197
22198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22199 if (obj0) {
22200 ecode1 = SWIG_AsVal_int(obj0, &val1);
22201 if (!SWIG_IsOK(ecode1)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22203 }
22204 arg1 = static_cast< wxEventType >(val1);
22205 }
22206 if (obj1) {
22207 ecode2 = SWIG_AsVal_int(obj1, &val2);
22208 if (!SWIG_IsOK(ecode2)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22210 }
22211 arg2 = static_cast< int >(val2);
22212 }
22213 if (obj2) {
22214 ecode3 = SWIG_AsVal_int(obj2, &val3);
22215 if (!SWIG_IsOK(ecode3)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22217 }
22218 arg3 = static_cast< int >(val3);
22219 }
22220 if (obj3) {
22221 ecode4 = SWIG_AsVal_int(obj3, &val4);
22222 if (!SWIG_IsOK(ecode4)) {
22223 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22224 }
22225 arg4 = static_cast< int >(val4);
22226 }
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22234 return resultobj;
22235fail:
22236 return NULL;
22237}
22238
22239
22240SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22241 PyObject *obj;
22242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22243 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22244 return SWIG_Py_Void();
22245}
22246
22247SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22248 return SWIG_Python_InitShadowInstance(args);
22249}
22250
22251SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj = 0;
22253 wxWindow *arg1 = (wxWindow *) 0 ;
22254 int arg2 ;
22255 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22256 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22257 wxSize const &arg4_defvalue = wxDefaultSize ;
22258 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22259 long arg5 = (long) wxBK_DEFAULT ;
22260 wxString const &arg6_defvalue = wxPyEmptyString ;
22261 wxString *arg6 = (wxString *) &arg6_defvalue ;
22262 wxToolbook *result = 0 ;
22263 void *argp1 = 0 ;
22264 int res1 = 0 ;
22265 int val2 ;
22266 int ecode2 = 0 ;
22267 wxPoint temp3 ;
22268 wxSize temp4 ;
22269 long val5 ;
22270 int ecode5 = 0 ;
22271 bool temp6 = false ;
22272 PyObject * obj0 = 0 ;
22273 PyObject * obj1 = 0 ;
22274 PyObject * obj2 = 0 ;
22275 PyObject * obj3 = 0 ;
22276 PyObject * obj4 = 0 ;
22277 PyObject * obj5 = 0 ;
22278 char * kwnames[] = {
22279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22280 };
22281
22282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22284 if (!SWIG_IsOK(res1)) {
22285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22286 }
22287 arg1 = reinterpret_cast< wxWindow * >(argp1);
22288 ecode2 = SWIG_AsVal_int(obj1, &val2);
22289 if (!SWIG_IsOK(ecode2)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22291 }
22292 arg2 = static_cast< int >(val2);
22293 if (obj2) {
093d3ff1 22294 {
554f62e9
RD
22295 arg3 = &temp3;
22296 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22297 }
554f62e9
RD
22298 }
22299 if (obj3) {
d55e5bfc 22300 {
554f62e9
RD
22301 arg4 = &temp4;
22302 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22303 }
554f62e9
RD
22304 }
22305 if (obj4) {
22306 ecode5 = SWIG_AsVal_long(obj4, &val5);
22307 if (!SWIG_IsOK(ecode5)) {
22308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22309 }
22310 arg5 = static_cast< long >(val5);
22311 }
22312 if (obj5) {
093d3ff1 22313 {
554f62e9
RD
22314 arg6 = wxString_in_helper(obj5);
22315 if (arg6 == NULL) SWIG_fail;
22316 temp6 = true;
093d3ff1 22317 }
554f62e9
RD
22318 }
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22321 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22326 {
22327 if (temp6)
22328 delete arg6;
22329 }
22330 return resultobj;
22331fail:
22332 {
22333 if (temp6)
22334 delete arg6;
22335 }
22336 return NULL;
d55e5bfc
RD
22337}
22338
22339
554f62e9
RD
22340SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22341 PyObject *resultobj = 0;
22342 wxToolbook *result = 0 ;
22343
22344 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 result = (wxToolbook *)new wxToolbook();
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22352 return resultobj;
22353fail:
22354 return NULL;
22355}
22356
22357
22358SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj = 0;
22360 wxToolbook *arg1 = (wxToolbook *) 0 ;
22361 wxWindow *arg2 = (wxWindow *) 0 ;
22362 int arg3 ;
22363 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22364 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22365 wxSize const &arg5_defvalue = wxDefaultSize ;
22366 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22367 long arg6 = (long) 0 ;
22368 wxString const &arg7_defvalue = wxEmptyString ;
22369 wxString *arg7 = (wxString *) &arg7_defvalue ;
22370 bool result;
22371 void *argp1 = 0 ;
22372 int res1 = 0 ;
22373 void *argp2 = 0 ;
22374 int res2 = 0 ;
22375 int val3 ;
22376 int ecode3 = 0 ;
22377 wxPoint temp4 ;
22378 wxSize temp5 ;
22379 long val6 ;
22380 int ecode6 = 0 ;
22381 bool temp7 = false ;
22382 PyObject * obj0 = 0 ;
22383 PyObject * obj1 = 0 ;
22384 PyObject * obj2 = 0 ;
22385 PyObject * obj3 = 0 ;
22386 PyObject * obj4 = 0 ;
22387 PyObject * obj5 = 0 ;
22388 PyObject * obj6 = 0 ;
22389 char * kwnames[] = {
22390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22391 };
22392
22393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22395 if (!SWIG_IsOK(res1)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22397 }
22398 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22400 if (!SWIG_IsOK(res2)) {
22401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22402 }
22403 arg2 = reinterpret_cast< wxWindow * >(argp2);
22404 ecode3 = SWIG_AsVal_int(obj2, &val3);
22405 if (!SWIG_IsOK(ecode3)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22407 }
22408 arg3 = static_cast< int >(val3);
22409 if (obj3) {
093d3ff1 22410 {
554f62e9
RD
22411 arg4 = &temp4;
22412 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22413 }
554f62e9
RD
22414 }
22415 if (obj4) {
093d3ff1 22416 {
554f62e9
RD
22417 arg5 = &temp5;
22418 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22419 }
554f62e9
RD
22420 }
22421 if (obj5) {
22422 ecode6 = SWIG_AsVal_long(obj5, &val6);
22423 if (!SWIG_IsOK(ecode6)) {
22424 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22425 }
22426 arg6 = static_cast< long >(val6);
22427 }
22428 if (obj6) {
d55e5bfc 22429 {
554f62e9
RD
22430 arg7 = wxString_in_helper(obj6);
22431 if (arg7 == NULL) SWIG_fail;
22432 temp7 = true;
d55e5bfc 22433 }
554f62e9
RD
22434 }
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 {
22442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22443 }
22444 {
22445 if (temp7)
22446 delete arg7;
22447 }
22448 return resultobj;
22449fail:
22450 {
22451 if (temp7)
22452 delete arg7;
22453 }
22454 return NULL;
d55e5bfc
RD
22455}
22456
22457
554f62e9
RD
22458SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22459 PyObject *resultobj = 0;
22460 wxToolbook *arg1 = (wxToolbook *) 0 ;
22461 wxToolBarBase *result = 0 ;
22462 void *argp1 = 0 ;
22463 int res1 = 0 ;
22464 PyObject *swig_obj[1] ;
22465
22466 if (!args) SWIG_fail;
22467 swig_obj[0] = args;
22468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22469 if (!SWIG_IsOK(res1)) {
22470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22471 }
22472 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 {
22480 resultobj = wxPyMake_wxObject(result, (bool)0);
22481 }
22482 return resultobj;
22483fail:
22484 return NULL;
f20a2e1f
RD
22485}
22486
22487
554f62e9
RD
22488SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22489 PyObject *resultobj = 0;
22490 wxToolbook *arg1 = (wxToolbook *) 0 ;
22491 void *argp1 = 0 ;
22492 int res1 = 0 ;
22493 PyObject *swig_obj[1] ;
22494
22495 if (!args) SWIG_fail;
22496 swig_obj[0] = args;
22497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22498 if (!SWIG_IsOK(res1)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22500 }
22501 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 (arg1)->Realize();
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 resultobj = SWIG_Py_Void();
22509 return resultobj;
22510fail:
22511 return NULL;
22512}
22513
22514
22515SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22516 PyObject *obj;
22517 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22518 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22519 return SWIG_Py_Void();
22520}
22521
22522SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22523 return SWIG_Python_InitShadowInstance(args);
22524}
22525
22526SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj = 0;
22528 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22529 int arg2 = (int) 0 ;
22530 int arg3 = (int) wxNOT_FOUND ;
22531 int arg4 = (int) wxNOT_FOUND ;
22532 wxToolbookEvent *result = 0 ;
22533 int val1 ;
22534 int ecode1 = 0 ;
22535 int val2 ;
22536 int ecode2 = 0 ;
22537 int val3 ;
22538 int ecode3 = 0 ;
22539 int val4 ;
22540 int ecode4 = 0 ;
22541 PyObject * obj0 = 0 ;
22542 PyObject * obj1 = 0 ;
22543 PyObject * obj2 = 0 ;
22544 PyObject * obj3 = 0 ;
22545 char * kwnames[] = {
22546 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22547 };
22548
22549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22550 if (obj0) {
22551 ecode1 = SWIG_AsVal_int(obj0, &val1);
22552 if (!SWIG_IsOK(ecode1)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22554 }
22555 arg1 = static_cast< wxEventType >(val1);
22556 }
22557 if (obj1) {
22558 ecode2 = SWIG_AsVal_int(obj1, &val2);
22559 if (!SWIG_IsOK(ecode2)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22561 }
22562 arg2 = static_cast< int >(val2);
22563 }
22564 if (obj2) {
22565 ecode3 = SWIG_AsVal_int(obj2, &val3);
22566 if (!SWIG_IsOK(ecode3)) {
22567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22568 }
22569 arg3 = static_cast< int >(val3);
22570 }
22571 if (obj3) {
22572 ecode4 = SWIG_AsVal_int(obj3, &val4);
22573 if (!SWIG_IsOK(ecode4)) {
22574 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22575 }
22576 arg4 = static_cast< int >(val4);
22577 }
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22585 return resultobj;
22586fail:
22587 return NULL;
d55e5bfc
RD
22588}
22589
22590
554f62e9
RD
22591SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22592 PyObject *obj;
22593 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22594 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22595 return SWIG_Py_Void();
d55e5bfc
RD
22596}
22597
554f62e9
RD
22598SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22599 return SWIG_Python_InitShadowInstance(args);
22600}
d55e5bfc 22601
554f62e9
RD
22602SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22603 PyObject *resultobj = 0;
22604 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22605 int result;
22606 void *argp1 = 0 ;
22607 int res1 = 0 ;
22608 PyObject *swig_obj[1] ;
22609
22610 if (!args) SWIG_fail;
22611 swig_obj[0] = args;
22612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22613 if (!SWIG_IsOK(res1)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22615 }
22616 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 result = (int)(arg1)->GetId();
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 resultobj = SWIG_From_int(static_cast< int >(result));
22624 return resultobj;
22625fail:
22626 return NULL;
d55e5bfc
RD
22627}
22628
22629
554f62e9
RD
22630SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22631 PyObject *resultobj = 0;
22632 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22633 wxControl *result = 0 ;
22634 void *argp1 = 0 ;
22635 int res1 = 0 ;
22636 PyObject *swig_obj[1] ;
22637
22638 if (!args) SWIG_fail;
22639 swig_obj[0] = args;
22640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22641 if (!SWIG_IsOK(res1)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22643 }
22644 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 result = (wxControl *)(arg1)->GetControl();
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 {
22652 resultobj = wxPyMake_wxObject(result, 0);
22653 }
22654 return resultobj;
22655fail:
22656 return NULL;
d55e5bfc
RD
22657}
22658
22659
554f62e9
RD
22660SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22661 PyObject *resultobj = 0;
22662 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22663 wxToolBarBase *result = 0 ;
22664 void *argp1 = 0 ;
22665 int res1 = 0 ;
22666 PyObject *swig_obj[1] ;
22667
22668 if (!args) SWIG_fail;
22669 swig_obj[0] = args;
22670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22671 if (!SWIG_IsOK(res1)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22673 }
22674 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (wxToolBarBase *)(arg1)->GetToolBar();
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 {
22682 resultobj = wxPyMake_wxObject(result, (bool)0);
22683 }
22684 return resultobj;
22685fail:
22686 return NULL;
d55e5bfc
RD
22687}
22688
22689
554f62e9
RD
22690SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22691 PyObject *resultobj = 0;
22692 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22693 int result;
22694 void *argp1 = 0 ;
22695 int res1 = 0 ;
22696 PyObject *swig_obj[1] ;
22697
22698 if (!args) SWIG_fail;
22699 swig_obj[0] = args;
22700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22701 if (!SWIG_IsOK(res1)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22703 }
22704 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 result = (int)(arg1)->IsButton();
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 resultobj = SWIG_From_int(static_cast< int >(result));
22712 return resultobj;
22713fail:
22714 return NULL;
d55e5bfc
RD
22715}
22716
22717
554f62e9
RD
22718SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22719 PyObject *resultobj = 0;
22720 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22721 int result;
22722 void *argp1 = 0 ;
22723 int res1 = 0 ;
22724 PyObject *swig_obj[1] ;
22725
22726 if (!args) SWIG_fail;
22727 swig_obj[0] = args;
22728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22729 if (!SWIG_IsOK(res1)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22731 }
22732 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22733 {
22734 PyThreadState* __tstate = wxPyBeginAllowThreads();
22735 result = (int)(arg1)->IsControl();
22736 wxPyEndAllowThreads(__tstate);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 }
22739 resultobj = SWIG_From_int(static_cast< int >(result));
22740 return resultobj;
22741fail:
22742 return NULL;
d55e5bfc
RD
22743}
22744
22745
554f62e9
RD
22746SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22747 PyObject *resultobj = 0;
22748 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22749 int result;
22750 void *argp1 = 0 ;
22751 int res1 = 0 ;
22752 PyObject *swig_obj[1] ;
22753
22754 if (!args) SWIG_fail;
22755 swig_obj[0] = args;
22756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22757 if (!SWIG_IsOK(res1)) {
22758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22759 }
22760 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 result = (int)(arg1)->IsSeparator();
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 resultobj = SWIG_From_int(static_cast< int >(result));
22768 return resultobj;
22769fail:
22770 return NULL;
d55e5bfc
RD
22771}
22772
22773
554f62e9
RD
22774SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22775 PyObject *resultobj = 0;
22776 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22777 int result;
22778 void *argp1 = 0 ;
22779 int res1 = 0 ;
22780 PyObject *swig_obj[1] ;
22781
22782 if (!args) SWIG_fail;
22783 swig_obj[0] = args;
22784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22785 if (!SWIG_IsOK(res1)) {
22786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22787 }
22788 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22789 {
22790 PyThreadState* __tstate = wxPyBeginAllowThreads();
22791 result = (int)(arg1)->GetStyle();
22792 wxPyEndAllowThreads(__tstate);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 resultobj = SWIG_From_int(static_cast< int >(result));
22796 return resultobj;
22797fail:
22798 return NULL;
d55e5bfc
RD
22799}
22800
22801
554f62e9
RD
22802SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22803 PyObject *resultobj = 0;
22804 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22805 wxItemKind result;
22806 void *argp1 = 0 ;
22807 int res1 = 0 ;
22808 PyObject *swig_obj[1] ;
22809
22810 if (!args) SWIG_fail;
22811 swig_obj[0] = args;
22812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22813 if (!SWIG_IsOK(res1)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22815 }
22816 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 result = (wxItemKind)(arg1)->GetKind();
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 resultobj = SWIG_From_int(static_cast< int >(result));
22824 return resultobj;
22825fail:
22826 return NULL;
d55e5bfc
RD
22827}
22828
22829
554f62e9
RD
22830SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22831 PyObject *resultobj = 0;
22832 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22833 bool result;
22834 void *argp1 = 0 ;
22835 int res1 = 0 ;
22836 PyObject *swig_obj[1] ;
22837
22838 if (!args) SWIG_fail;
22839 swig_obj[0] = args;
22840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22841 if (!SWIG_IsOK(res1)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22843 }
22844 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22845 {
22846 PyThreadState* __tstate = wxPyBeginAllowThreads();
22847 result = (bool)(arg1)->IsEnabled();
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 {
22852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22853 }
22854 return resultobj;
22855fail:
22856 return NULL;
d55e5bfc
RD
22857}
22858
22859
554f62e9
RD
22860SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22861 PyObject *resultobj = 0;
22862 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22863 bool result;
22864 void *argp1 = 0 ;
22865 int res1 = 0 ;
22866 PyObject *swig_obj[1] ;
22867
22868 if (!args) SWIG_fail;
22869 swig_obj[0] = args;
22870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22871 if (!SWIG_IsOK(res1)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22873 }
22874 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (bool)(arg1)->IsToggled();
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 {
22882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22883 }
22884 return resultobj;
22885fail:
22886 return NULL;
d55e5bfc
RD
22887}
22888
22889
554f62e9
RD
22890SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22891 PyObject *resultobj = 0;
22892 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22893 bool result;
22894 void *argp1 = 0 ;
22895 int res1 = 0 ;
22896 PyObject *swig_obj[1] ;
22897
22898 if (!args) SWIG_fail;
22899 swig_obj[0] = args;
22900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22901 if (!SWIG_IsOK(res1)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22903 }
22904 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (bool)(arg1)->CanBeToggled();
22908 wxPyEndAllowThreads(__tstate);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 }
22911 {
22912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22913 }
22914 return resultobj;
22915fail:
22916 return NULL;
d55e5bfc
RD
22917}
22918
22919
554f62e9
RD
22920SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22921 PyObject *resultobj = 0;
22922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22923 wxBitmap *result = 0 ;
22924 void *argp1 = 0 ;
22925 int res1 = 0 ;
22926 PyObject *swig_obj[1] ;
22927
22928 if (!args) SWIG_fail;
22929 swig_obj[0] = args;
22930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22931 if (!SWIG_IsOK(res1)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22933 }
22934 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22937 {
554f62e9
RD
22938 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
22939 result = (wxBitmap *) &_result_ref;
093d3ff1 22940 }
554f62e9
RD
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 {
22945 wxBitmap* resultptr = new wxBitmap(*result);
22946 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22947 }
22948 return resultobj;
22949fail:
22950 return NULL;
d55e5bfc
RD
22951}
22952
22953
554f62e9
RD
22954SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22955 PyObject *resultobj = 0;
22956 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22957 wxBitmap *result = 0 ;
22958 void *argp1 = 0 ;
22959 int res1 = 0 ;
22960 PyObject *swig_obj[1] ;
22961
22962 if (!args) SWIG_fail;
22963 swig_obj[0] = args;
22964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22965 if (!SWIG_IsOK(res1)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22967 }
22968 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22969 {
22970 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 22971 {
554f62e9
RD
22972 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
22973 result = (wxBitmap *) &_result_ref;
d55e5bfc 22974 }
554f62e9
RD
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 {
22979 wxBitmap* resultptr = new wxBitmap(*result);
22980 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22981 }
22982 return resultobj;
22983fail:
22984 return NULL;
d55e5bfc
RD
22985}
22986
22987
554f62e9
RD
22988SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22989 PyObject *resultobj = 0;
22990 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22991 wxBitmap result;
22992 void *argp1 = 0 ;
22993 int res1 = 0 ;
22994 PyObject *swig_obj[1] ;
22995
22996 if (!args) SWIG_fail;
22997 swig_obj[0] = args;
22998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22999 if (!SWIG_IsOK(res1)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23001 }
23002 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 result = (arg1)->GetBitmap();
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23010 return resultobj;
23011fail:
23012 return NULL;
23013}
23014
23015
23016SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23017 PyObject *resultobj = 0;
23018 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23019 wxString result;
23020 void *argp1 = 0 ;
23021 int res1 = 0 ;
23022 PyObject *swig_obj[1] ;
23023
23024 if (!args) SWIG_fail;
23025 swig_obj[0] = args;
23026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23027 if (!SWIG_IsOK(res1)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23029 }
23030 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23031 {
23032 PyThreadState* __tstate = wxPyBeginAllowThreads();
23033 result = (arg1)->GetLabel();
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 {
d55e5bfc 23038#if wxUSE_UNICODE
554f62e9 23039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 23040#else
554f62e9 23041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 23042#endif
554f62e9
RD
23043 }
23044 return resultobj;
23045fail:
23046 return NULL;
d55e5bfc
RD
23047}
23048
23049
554f62e9
RD
23050SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23051 PyObject *resultobj = 0;
23052 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23053 wxString result;
23054 void *argp1 = 0 ;
23055 int res1 = 0 ;
23056 PyObject *swig_obj[1] ;
23057
23058 if (!args) SWIG_fail;
23059 swig_obj[0] = args;
23060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23061 if (!SWIG_IsOK(res1)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23063 }
23064 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23065 {
23066 PyThreadState* __tstate = wxPyBeginAllowThreads();
23067 result = (arg1)->GetShortHelp();
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 {
23072#if wxUSE_UNICODE
23073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23074#else
23075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23076#endif
23077 }
23078 return resultobj;
23079fail:
23080 return NULL;
d55e5bfc
RD
23081}
23082
23083
554f62e9
RD
23084SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23085 PyObject *resultobj = 0;
23086 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23087 wxString result;
23088 void *argp1 = 0 ;
23089 int res1 = 0 ;
23090 PyObject *swig_obj[1] ;
23091
23092 if (!args) SWIG_fail;
23093 swig_obj[0] = args;
23094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23095 if (!SWIG_IsOK(res1)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23097 }
23098 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = (arg1)->GetLongHelp();
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
23105 {
23106#if wxUSE_UNICODE
23107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23108#else
23109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23110#endif
23111 }
23112 return resultobj;
23113fail:
23114 return NULL;
23115}
23116
23117
23118SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj = 0;
23120 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23121 bool arg2 ;
23122 bool result;
23123 void *argp1 = 0 ;
23124 int res1 = 0 ;
23125 bool val2 ;
23126 int ecode2 = 0 ;
23127 PyObject * obj0 = 0 ;
23128 PyObject * obj1 = 0 ;
23129 char * kwnames[] = {
23130 (char *) "self",(char *) "enable", NULL
23131 };
23132
23133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23135 if (!SWIG_IsOK(res1)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23137 }
23138 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23139 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23140 if (!SWIG_IsOK(ecode2)) {
23141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23142 }
23143 arg2 = static_cast< bool >(val2);
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 result = (bool)(arg1)->Enable(arg2);
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 {
23151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23152 }
23153 return resultobj;
23154fail:
23155 return NULL;
d55e5bfc
RD
23156}
23157
23158
554f62e9
RD
23159SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23160 PyObject *resultobj = 0;
23161 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23162 void *argp1 = 0 ;
23163 int res1 = 0 ;
23164 PyObject *swig_obj[1] ;
23165
23166 if (!args) SWIG_fail;
23167 swig_obj[0] = args;
23168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23169 if (!SWIG_IsOK(res1)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23171 }
23172 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 (arg1)->Toggle();
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_Py_Void();
23180 return resultobj;
23181fail:
23182 return NULL;
23183}
23184
23185
23186SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj = 0;
23188 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23189 bool arg2 ;
23190 bool result;
23191 void *argp1 = 0 ;
23192 int res1 = 0 ;
23193 bool val2 ;
23194 int ecode2 = 0 ;
23195 PyObject * obj0 = 0 ;
23196 PyObject * obj1 = 0 ;
23197 char * kwnames[] = {
23198 (char *) "self",(char *) "toggle", NULL
23199 };
23200
23201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23203 if (!SWIG_IsOK(res1)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23205 }
23206 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23207 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23208 if (!SWIG_IsOK(ecode2)) {
23209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23210 }
23211 arg2 = static_cast< bool >(val2);
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (bool)(arg1)->SetToggle(arg2);
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;
23224}
23225
23226
23227SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj = 0;
23229 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23230 wxString *arg2 = 0 ;
23231 bool result;
23232 void *argp1 = 0 ;
23233 int res1 = 0 ;
23234 bool temp2 = false ;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237 char * kwnames[] = {
23238 (char *) "self",(char *) "help", NULL
23239 };
23240
23241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23243 if (!SWIG_IsOK(res1)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23245 }
23246 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23247 {
23248 arg2 = wxString_in_helper(obj1);
23249 if (arg2 == NULL) SWIG_fail;
23250 temp2 = true;
23251 }
23252 {
23253 PyThreadState* __tstate = wxPyBeginAllowThreads();
23254 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23255 wxPyEndAllowThreads(__tstate);
23256 if (PyErr_Occurred()) SWIG_fail;
23257 }
23258 {
23259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23260 }
23261 {
23262 if (temp2)
23263 delete arg2;
23264 }
23265 return resultobj;
23266fail:
23267 {
23268 if (temp2)
23269 delete arg2;
23270 }
23271 return NULL;
23272}
23273
23274
23275SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23276 PyObject *resultobj = 0;
23277 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23278 wxString *arg2 = 0 ;
23279 bool result;
23280 void *argp1 = 0 ;
23281 int res1 = 0 ;
23282 bool temp2 = false ;
23283 PyObject * obj0 = 0 ;
23284 PyObject * obj1 = 0 ;
23285 char * kwnames[] = {
23286 (char *) "self",(char *) "help", NULL
23287 };
23288
23289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23291 if (!SWIG_IsOK(res1)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23293 }
23294 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23295 {
23296 arg2 = wxString_in_helper(obj1);
23297 if (arg2 == NULL) SWIG_fail;
23298 temp2 = true;
23299 }
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 {
23307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23308 }
23309 {
23310 if (temp2)
23311 delete arg2;
23312 }
23313 return resultobj;
23314fail:
23315 {
23316 if (temp2)
23317 delete arg2;
23318 }
23319 return NULL;
23320}
23321
23322
23323SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj = 0;
23325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23326 wxBitmap *arg2 = 0 ;
23327 void *argp1 = 0 ;
23328 int res1 = 0 ;
23329 void *argp2 = 0 ;
23330 int res2 = 0 ;
23331 PyObject * obj0 = 0 ;
23332 PyObject * obj1 = 0 ;
23333 char * kwnames[] = {
23334 (char *) "self",(char *) "bmp", NULL
23335 };
23336
23337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23339 if (!SWIG_IsOK(res1)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23341 }
23342 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23343 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23344 if (!SWIG_IsOK(res2)) {
23345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23346 }
23347 if (!argp2) {
23348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23349 }
23350 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 resultobj = SWIG_Py_Void();
23358 return resultobj;
23359fail:
23360 return NULL;
23361}
23362
23363
23364SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj = 0;
23366 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23367 wxBitmap *arg2 = 0 ;
23368 void *argp1 = 0 ;
23369 int res1 = 0 ;
23370 void *argp2 = 0 ;
23371 int res2 = 0 ;
23372 PyObject * obj0 = 0 ;
23373 PyObject * obj1 = 0 ;
23374 char * kwnames[] = {
23375 (char *) "self",(char *) "bmp", NULL
23376 };
23377
23378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23380 if (!SWIG_IsOK(res1)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23382 }
23383 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23384 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23385 if (!SWIG_IsOK(res2)) {
23386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23387 }
23388 if (!argp2) {
23389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23390 }
23391 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 resultobj = SWIG_Py_Void();
23399 return resultobj;
23400fail:
23401 return NULL;
23402}
23403
23404
23405SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj = 0;
23407 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23408 wxString *arg2 = 0 ;
23409 void *argp1 = 0 ;
23410 int res1 = 0 ;
23411 bool temp2 = false ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 char * kwnames[] = {
23415 (char *) "self",(char *) "label", NULL
23416 };
23417
23418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23420 if (!SWIG_IsOK(res1)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23422 }
23423 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23424 {
23425 arg2 = wxString_in_helper(obj1);
23426 if (arg2 == NULL) SWIG_fail;
23427 temp2 = true;
23428 }
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 (arg1)->SetLabel((wxString const &)*arg2);
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 resultobj = SWIG_Py_Void();
23436 {
23437 if (temp2)
23438 delete arg2;
23439 }
23440 return resultobj;
23441fail:
23442 {
23443 if (temp2)
23444 delete arg2;
23445 }
23446 return NULL;
d55e5bfc
RD
23447}
23448
23449
554f62e9
RD
23450SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23451 PyObject *resultobj = 0;
23452 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23453 void *argp1 = 0 ;
23454 int res1 = 0 ;
23455 PyObject *swig_obj[1] ;
23456
23457 if (!args) SWIG_fail;
23458 swig_obj[0] = args;
23459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23460 if (!SWIG_IsOK(res1)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23462 }
23463 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 (arg1)->Detach();
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 resultobj = SWIG_Py_Void();
23471 return resultobj;
23472fail:
23473 return NULL;
23474}
23475
23476
23477SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj = 0;
23479 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23480 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23481 void *argp1 = 0 ;
23482 int res1 = 0 ;
23483 void *argp2 = 0 ;
23484 int res2 = 0 ;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 char * kwnames[] = {
23488 (char *) "self",(char *) "tbar", NULL
23489 };
23490
23491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23493 if (!SWIG_IsOK(res1)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23495 }
23496 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23498 if (!SWIG_IsOK(res2)) {
23499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23500 }
23501 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23502 {
23503 PyThreadState* __tstate = wxPyBeginAllowThreads();
23504 (arg1)->Attach(arg2);
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 resultobj = SWIG_Py_Void();
23509 return resultobj;
23510fail:
23511 return NULL;
d55e5bfc
RD
23512}
23513
23514
554f62e9
RD
23515SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23516 PyObject *resultobj = 0;
23517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23518 PyObject *result = 0 ;
23519 void *argp1 = 0 ;
23520 int res1 = 0 ;
23521 PyObject *swig_obj[1] ;
23522
23523 if (!args) SWIG_fail;
23524 swig_obj[0] = args;
23525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23526 if (!SWIG_IsOK(res1)) {
23527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23528 }
23529 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 resultobj = result;
23537 return resultobj;
23538fail:
23539 return NULL;
23540}
23541
23542
23543SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23544 PyObject *resultobj = 0;
23545 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23546 PyObject *arg2 = (PyObject *) 0 ;
23547 void *argp1 = 0 ;
23548 int res1 = 0 ;
23549 PyObject * obj0 = 0 ;
23550 PyObject * obj1 = 0 ;
23551 char * kwnames[] = {
23552 (char *) "self",(char *) "clientData", NULL
23553 };
23554
23555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23557 if (!SWIG_IsOK(res1)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23559 }
23560 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23561 arg2 = obj1;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 wxToolBarToolBase_SetClientData(arg1,arg2);
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 resultobj = SWIG_Py_Void();
23569 return resultobj;
23570fail:
23571 return NULL;
23572}
23573
23574
23575SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23576 PyObject *obj;
23577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23578 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23579 return SWIG_Py_Void();
23580}
23581
23582SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj = 0;
23584 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23585 int arg2 ;
23586 wxString *arg3 = 0 ;
23587 wxBitmap *arg4 = 0 ;
23588 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23589 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23590 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23591 wxString const &arg7_defvalue = wxPyEmptyString ;
23592 wxString *arg7 = (wxString *) &arg7_defvalue ;
23593 wxString const &arg8_defvalue = wxPyEmptyString ;
23594 wxString *arg8 = (wxString *) &arg8_defvalue ;
23595 PyObject *arg9 = (PyObject *) NULL ;
23596 wxToolBarToolBase *result = 0 ;
23597 void *argp1 = 0 ;
23598 int res1 = 0 ;
23599 int val2 ;
23600 int ecode2 = 0 ;
23601 bool temp3 = false ;
23602 void *argp4 = 0 ;
23603 int res4 = 0 ;
23604 void *argp5 = 0 ;
23605 int res5 = 0 ;
23606 int val6 ;
23607 int ecode6 = 0 ;
23608 bool temp7 = false ;
23609 bool temp8 = false ;
23610 PyObject * obj0 = 0 ;
23611 PyObject * obj1 = 0 ;
23612 PyObject * obj2 = 0 ;
23613 PyObject * obj3 = 0 ;
23614 PyObject * obj4 = 0 ;
23615 PyObject * obj5 = 0 ;
23616 PyObject * obj6 = 0 ;
23617 PyObject * obj7 = 0 ;
23618 PyObject * obj8 = 0 ;
23619 char * kwnames[] = {
23620 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23621 };
23622
23623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23625 if (!SWIG_IsOK(res1)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23627 }
23628 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23629 ecode2 = SWIG_AsVal_int(obj1, &val2);
23630 if (!SWIG_IsOK(ecode2)) {
23631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23632 }
23633 arg2 = static_cast< int >(val2);
23634 {
23635 arg3 = wxString_in_helper(obj2);
23636 if (arg3 == NULL) SWIG_fail;
23637 temp3 = true;
23638 }
23639 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23640 if (!SWIG_IsOK(res4)) {
23641 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23642 }
23643 if (!argp4) {
23644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23645 }
23646 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23647 if (obj4) {
23648 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23649 if (!SWIG_IsOK(res5)) {
23650 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23651 }
23652 if (!argp5) {
23653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23654 }
23655 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23656 }
23657 if (obj5) {
23658 ecode6 = SWIG_AsVal_int(obj5, &val6);
23659 if (!SWIG_IsOK(ecode6)) {
23660 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23661 }
23662 arg6 = static_cast< wxItemKind >(val6);
23663 }
23664 if (obj6) {
d55e5bfc 23665 {
554f62e9
RD
23666 arg7 = wxString_in_helper(obj6);
23667 if (arg7 == NULL) SWIG_fail;
23668 temp7 = true;
d55e5bfc 23669 }
554f62e9
RD
23670 }
23671 if (obj7) {
093d3ff1 23672 {
554f62e9
RD
23673 arg8 = wxString_in_helper(obj7);
23674 if (arg8 == NULL) SWIG_fail;
23675 temp8 = true;
093d3ff1 23676 }
554f62e9
RD
23677 }
23678 if (obj8) {
23679 arg9 = obj8;
23680 }
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 {
23688 resultobj = wxPyMake_wxObject(result, (bool)0);
23689 }
23690 {
23691 if (temp3)
23692 delete arg3;
23693 }
23694 {
23695 if (temp7)
23696 delete arg7;
23697 }
23698 {
23699 if (temp8)
23700 delete arg8;
23701 }
23702 return resultobj;
23703fail:
23704 {
23705 if (temp3)
23706 delete arg3;
23707 }
23708 {
23709 if (temp7)
23710 delete arg7;
23711 }
23712 {
23713 if (temp8)
23714 delete arg8;
23715 }
23716 return NULL;
23717}
23718
23719
23720SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj = 0;
23722 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23723 size_t arg2 ;
23724 int arg3 ;
23725 wxString *arg4 = 0 ;
23726 wxBitmap *arg5 = 0 ;
23727 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23728 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23729 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23730 wxString const &arg8_defvalue = wxPyEmptyString ;
23731 wxString *arg8 = (wxString *) &arg8_defvalue ;
23732 wxString const &arg9_defvalue = wxPyEmptyString ;
23733 wxString *arg9 = (wxString *) &arg9_defvalue ;
23734 PyObject *arg10 = (PyObject *) NULL ;
23735 wxToolBarToolBase *result = 0 ;
23736 void *argp1 = 0 ;
23737 int res1 = 0 ;
23738 size_t val2 ;
23739 int ecode2 = 0 ;
23740 int val3 ;
23741 int ecode3 = 0 ;
23742 bool temp4 = false ;
23743 void *argp5 = 0 ;
23744 int res5 = 0 ;
23745 void *argp6 = 0 ;
23746 int res6 = 0 ;
23747 int val7 ;
23748 int ecode7 = 0 ;
23749 bool temp8 = false ;
23750 bool temp9 = false ;
23751 PyObject * obj0 = 0 ;
23752 PyObject * obj1 = 0 ;
23753 PyObject * obj2 = 0 ;
23754 PyObject * obj3 = 0 ;
23755 PyObject * obj4 = 0 ;
23756 PyObject * obj5 = 0 ;
23757 PyObject * obj6 = 0 ;
23758 PyObject * obj7 = 0 ;
23759 PyObject * obj8 = 0 ;
23760 PyObject * obj9 = 0 ;
23761 char * kwnames[] = {
23762 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23763 };
23764
23765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23767 if (!SWIG_IsOK(res1)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23769 }
23770 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23771 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23772 if (!SWIG_IsOK(ecode2)) {
23773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23774 }
23775 arg2 = static_cast< size_t >(val2);
23776 ecode3 = SWIG_AsVal_int(obj2, &val3);
23777 if (!SWIG_IsOK(ecode3)) {
23778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23779 }
23780 arg3 = static_cast< int >(val3);
23781 {
23782 arg4 = wxString_in_helper(obj3);
23783 if (arg4 == NULL) SWIG_fail;
23784 temp4 = true;
23785 }
23786 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23787 if (!SWIG_IsOK(res5)) {
23788 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23789 }
23790 if (!argp5) {
23791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23792 }
23793 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23794 if (obj5) {
23795 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
23796 if (!SWIG_IsOK(res6)) {
23797 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23798 }
554f62e9
RD
23799 if (!argp6) {
23800 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23801 }
554f62e9
RD
23802 arg6 = reinterpret_cast< wxBitmap * >(argp6);
23803 }
23804 if (obj6) {
23805 ecode7 = SWIG_AsVal_int(obj6, &val7);
23806 if (!SWIG_IsOK(ecode7)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23808 }
23809 arg7 = static_cast< wxItemKind >(val7);
23810 }
23811 if (obj7) {
d55e5bfc 23812 {
554f62e9
RD
23813 arg8 = wxString_in_helper(obj7);
23814 if (arg8 == NULL) SWIG_fail;
23815 temp8 = true;
d55e5bfc 23816 }
554f62e9
RD
23817 }
23818 if (obj8) {
d55e5bfc 23819 {
554f62e9
RD
23820 arg9 = wxString_in_helper(obj8);
23821 if (arg9 == NULL) SWIG_fail;
23822 temp9 = true;
d55e5bfc 23823 }
554f62e9
RD
23824 }
23825 if (obj9) {
23826 arg10 = obj9;
23827 }
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
23831 wxPyEndAllowThreads(__tstate);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 {
23835 resultobj = wxPyMake_wxObject(result, (bool)0);
23836 }
23837 {
23838 if (temp4)
23839 delete arg4;
23840 }
23841 {
23842 if (temp8)
23843 delete arg8;
23844 }
23845 {
23846 if (temp9)
23847 delete arg9;
23848 }
23849 return resultobj;
23850fail:
23851 {
23852 if (temp4)
23853 delete arg4;
23854 }
23855 {
23856 if (temp8)
23857 delete arg8;
23858 }
23859 {
23860 if (temp9)
23861 delete arg9;
23862 }
23863 return NULL;
23864}
23865
23866
23867SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23868 PyObject *resultobj = 0;
23869 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23870 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
23871 wxToolBarToolBase *result = 0 ;
23872 void *argp1 = 0 ;
23873 int res1 = 0 ;
23874 void *argp2 = 0 ;
23875 int res2 = 0 ;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 char * kwnames[] = {
23879 (char *) "self",(char *) "tool", NULL
23880 };
23881
23882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
23883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23884 if (!SWIG_IsOK(res1)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23886 }
23887 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23888 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23889 if (!SWIG_IsOK(res2)) {
23890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23891 }
23892 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 {
23900 resultobj = wxPyMake_wxObject(result, (bool)0);
23901 }
23902 return resultobj;
23903fail:
23904 return NULL;
23905}
23906
23907
23908SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj = 0;
23910 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23911 size_t arg2 ;
23912 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
23913 wxToolBarToolBase *result = 0 ;
23914 void *argp1 = 0 ;
23915 int res1 = 0 ;
23916 size_t val2 ;
23917 int ecode2 = 0 ;
23918 void *argp3 = 0 ;
23919 int res3 = 0 ;
23920 PyObject * obj0 = 0 ;
23921 PyObject * obj1 = 0 ;
23922 PyObject * obj2 = 0 ;
23923 char * kwnames[] = {
23924 (char *) "self",(char *) "pos",(char *) "tool", NULL
23925 };
23926
23927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23929 if (!SWIG_IsOK(res1)) {
23930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23931 }
23932 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23933 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23934 if (!SWIG_IsOK(ecode2)) {
23935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23936 }
23937 arg2 = static_cast< size_t >(val2);
23938 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23939 if (!SWIG_IsOK(res3)) {
23940 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23941 }
23942 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 {
23950 resultobj = wxPyMake_wxObject(result, (bool)0);
23951 }
23952 return resultobj;
23953fail:
23954 return NULL;
23955}
23956
23957
23958SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj = 0;
23960 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23961 wxControl *arg2 = (wxControl *) 0 ;
23962 wxToolBarToolBase *result = 0 ;
23963 void *argp1 = 0 ;
23964 int res1 = 0 ;
23965 void *argp2 = 0 ;
23966 int res2 = 0 ;
23967 PyObject * obj0 = 0 ;
23968 PyObject * obj1 = 0 ;
23969 char * kwnames[] = {
23970 (char *) "self",(char *) "control", NULL
23971 };
23972
23973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
23974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23975 if (!SWIG_IsOK(res1)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23977 }
23978 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23979 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
23980 if (!SWIG_IsOK(res2)) {
23981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23982 }
23983 arg2 = reinterpret_cast< wxControl * >(argp2);
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 {
23991 resultobj = wxPyMake_wxObject(result, (bool)0);
23992 }
23993 return resultobj;
23994fail:
23995 return NULL;
23996}
23997
23998
23999SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj = 0;
24001 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24002 size_t arg2 ;
24003 wxControl *arg3 = (wxControl *) 0 ;
24004 wxToolBarToolBase *result = 0 ;
24005 void *argp1 = 0 ;
24006 int res1 = 0 ;
24007 size_t val2 ;
24008 int ecode2 = 0 ;
24009 void *argp3 = 0 ;
24010 int res3 = 0 ;
24011 PyObject * obj0 = 0 ;
24012 PyObject * obj1 = 0 ;
24013 PyObject * obj2 = 0 ;
24014 char * kwnames[] = {
24015 (char *) "self",(char *) "pos",(char *) "control", NULL
24016 };
24017
24018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24020 if (!SWIG_IsOK(res1)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24022 }
24023 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24024 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24025 if (!SWIG_IsOK(ecode2)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24027 }
24028 arg2 = static_cast< size_t >(val2);
24029 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24030 if (!SWIG_IsOK(res3)) {
24031 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24032 }
24033 arg3 = reinterpret_cast< wxControl * >(argp3);
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 {
24041 resultobj = wxPyMake_wxObject(result, (bool)0);
24042 }
24043 return resultobj;
24044fail:
24045 return NULL;
24046}
24047
24048
24049SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj = 0;
24051 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24052 int arg2 ;
24053 wxControl *result = 0 ;
24054 void *argp1 = 0 ;
24055 int res1 = 0 ;
24056 int val2 ;
24057 int ecode2 = 0 ;
24058 PyObject * obj0 = 0 ;
24059 PyObject * obj1 = 0 ;
24060 char * kwnames[] = {
24061 (char *) "self",(char *) "id", NULL
24062 };
24063
24064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24066 if (!SWIG_IsOK(res1)) {
24067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24068 }
24069 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24070 ecode2 = SWIG_AsVal_int(obj1, &val2);
24071 if (!SWIG_IsOK(ecode2)) {
24072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24073 }
24074 arg2 = static_cast< int >(val2);
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (wxControl *)(arg1)->FindControl(arg2);
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 {
24082 resultobj = wxPyMake_wxObject(result, 0);
24083 }
24084 return resultobj;
24085fail:
24086 return NULL;
d55e5bfc
RD
24087}
24088
24089
554f62e9
RD
24090SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24091 PyObject *resultobj = 0;
24092 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24093 wxToolBarToolBase *result = 0 ;
24094 void *argp1 = 0 ;
24095 int res1 = 0 ;
24096 PyObject *swig_obj[1] ;
24097
24098 if (!args) SWIG_fail;
24099 swig_obj[0] = args;
24100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24101 if (!SWIG_IsOK(res1)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24103 }
24104 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 {
24112 resultobj = wxPyMake_wxObject(result, (bool)0);
24113 }
24114 return resultobj;
24115fail:
24116 return NULL;
24117}
24118
24119
24120SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24121 PyObject *resultobj = 0;
24122 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24123 size_t arg2 ;
24124 wxToolBarToolBase *result = 0 ;
24125 void *argp1 = 0 ;
24126 int res1 = 0 ;
24127 size_t val2 ;
24128 int ecode2 = 0 ;
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 char * kwnames[] = {
24132 (char *) "self",(char *) "pos", NULL
24133 };
24134
24135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24137 if (!SWIG_IsOK(res1)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24139 }
24140 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24141 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24142 if (!SWIG_IsOK(ecode2)) {
24143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24144 }
24145 arg2 = static_cast< size_t >(val2);
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 {
24153 resultobj = wxPyMake_wxObject(result, (bool)0);
24154 }
24155 return resultobj;
24156fail:
24157 return NULL;
24158}
24159
24160
24161SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj = 0;
24163 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24164 int arg2 ;
24165 wxToolBarToolBase *result = 0 ;
24166 void *argp1 = 0 ;
24167 int res1 = 0 ;
24168 int val2 ;
24169 int ecode2 = 0 ;
24170 PyObject * obj0 = 0 ;
24171 PyObject * obj1 = 0 ;
24172 char * kwnames[] = {
24173 (char *) "self",(char *) "id", NULL
24174 };
24175
24176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24178 if (!SWIG_IsOK(res1)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24180 }
24181 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24182 ecode2 = SWIG_AsVal_int(obj1, &val2);
24183 if (!SWIG_IsOK(ecode2)) {
24184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24185 }
24186 arg2 = static_cast< int >(val2);
24187 {
24188 PyThreadState* __tstate = wxPyBeginAllowThreads();
24189 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 {
24194 resultobj = wxPyMake_wxObject(result, (bool)0);
24195 }
24196 return resultobj;
24197fail:
24198 return NULL;
24199}
24200
24201
24202SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj = 0;
24204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24205 size_t arg2 ;
24206 bool result;
24207 void *argp1 = 0 ;
24208 int res1 = 0 ;
24209 size_t val2 ;
24210 int ecode2 = 0 ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char * kwnames[] = {
24214 (char *) "self",(char *) "pos", NULL
24215 };
24216
24217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24221 }
24222 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24223 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24224 if (!SWIG_IsOK(ecode2)) {
24225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24226 }
24227 arg2 = static_cast< size_t >(val2);
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 result = (bool)(arg1)->DeleteToolByPos(arg2);
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 {
24235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24236 }
24237 return resultobj;
24238fail:
24239 return NULL;
24240}
24241
24242
24243SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24244 PyObject *resultobj = 0;
24245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24246 int arg2 ;
24247 bool result;
24248 void *argp1 = 0 ;
24249 int res1 = 0 ;
24250 int val2 ;
24251 int ecode2 = 0 ;
24252 PyObject * obj0 = 0 ;
24253 PyObject * obj1 = 0 ;
24254 char * kwnames[] = {
24255 (char *) "self",(char *) "id", NULL
24256 };
24257
24258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24260 if (!SWIG_IsOK(res1)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24262 }
24263 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24264 ecode2 = SWIG_AsVal_int(obj1, &val2);
24265 if (!SWIG_IsOK(ecode2)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24267 }
24268 arg2 = static_cast< int >(val2);
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (bool)(arg1)->DeleteTool(arg2);
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 {
24276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24277 }
24278 return resultobj;
24279fail:
24280 return NULL;
d55e5bfc
RD
24281}
24282
24283
554f62e9
RD
24284SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24285 PyObject *resultobj = 0;
24286 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24287 void *argp1 = 0 ;
24288 int res1 = 0 ;
24289 PyObject *swig_obj[1] ;
24290
24291 if (!args) SWIG_fail;
24292 swig_obj[0] = args;
24293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24294 if (!SWIG_IsOK(res1)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24296 }
24297 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 (arg1)->ClearTools();
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = SWIG_Py_Void();
24305 return resultobj;
24306fail:
24307 return NULL;
f20a2e1f
RD
24308}
24309
24310
554f62e9
RD
24311SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24312 PyObject *resultobj = 0;
24313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24314 bool result;
24315 void *argp1 = 0 ;
24316 int res1 = 0 ;
24317 PyObject *swig_obj[1] ;
24318
24319 if (!args) SWIG_fail;
24320 swig_obj[0] = args;
24321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24322 if (!SWIG_IsOK(res1)) {
24323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24324 }
24325 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = (bool)(arg1)->Realize();
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 {
24333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24334 }
24335 return resultobj;
24336fail:
24337 return NULL;
24338}
24339
24340
24341SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj = 0;
24343 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24344 int arg2 ;
24345 bool arg3 ;
24346 void *argp1 = 0 ;
24347 int res1 = 0 ;
24348 int val2 ;
24349 int ecode2 = 0 ;
24350 bool val3 ;
24351 int ecode3 = 0 ;
24352 PyObject * obj0 = 0 ;
24353 PyObject * obj1 = 0 ;
24354 PyObject * obj2 = 0 ;
24355 char * kwnames[] = {
24356 (char *) "self",(char *) "id",(char *) "enable", NULL
24357 };
24358
24359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24361 if (!SWIG_IsOK(res1)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24363 }
24364 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24365 ecode2 = SWIG_AsVal_int(obj1, &val2);
24366 if (!SWIG_IsOK(ecode2)) {
24367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24368 }
24369 arg2 = static_cast< int >(val2);
24370 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24371 if (!SWIG_IsOK(ecode3)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24373 }
24374 arg3 = static_cast< bool >(val3);
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->EnableTool(arg2,arg3);
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 return resultobj;
24383fail:
24384 return NULL;
24385}
24386
24387
24388SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = 0;
24390 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24391 int arg2 ;
24392 bool arg3 ;
24393 void *argp1 = 0 ;
24394 int res1 = 0 ;
24395 int val2 ;
24396 int ecode2 = 0 ;
24397 bool val3 ;
24398 int ecode3 = 0 ;
24399 PyObject * obj0 = 0 ;
24400 PyObject * obj1 = 0 ;
24401 PyObject * obj2 = 0 ;
24402 char * kwnames[] = {
24403 (char *) "self",(char *) "id",(char *) "toggle", NULL
24404 };
24405
24406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24408 if (!SWIG_IsOK(res1)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24410 }
24411 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24412 ecode2 = SWIG_AsVal_int(obj1, &val2);
24413 if (!SWIG_IsOK(ecode2)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24415 }
24416 arg2 = static_cast< int >(val2);
24417 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24418 if (!SWIG_IsOK(ecode3)) {
24419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24420 }
24421 arg3 = static_cast< bool >(val3);
24422 {
24423 PyThreadState* __tstate = wxPyBeginAllowThreads();
24424 (arg1)->ToggleTool(arg2,arg3);
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 resultobj = SWIG_Py_Void();
24429 return resultobj;
24430fail:
24431 return NULL;
24432}
24433
24434
24435SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj = 0;
24437 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24438 int arg2 ;
24439 bool arg3 ;
24440 void *argp1 = 0 ;
24441 int res1 = 0 ;
24442 int val2 ;
24443 int ecode2 = 0 ;
24444 bool val3 ;
24445 int ecode3 = 0 ;
24446 PyObject * obj0 = 0 ;
24447 PyObject * obj1 = 0 ;
24448 PyObject * obj2 = 0 ;
24449 char * kwnames[] = {
24450 (char *) "self",(char *) "id",(char *) "toggle", NULL
24451 };
24452
24453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24455 if (!SWIG_IsOK(res1)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24457 }
24458 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24459 ecode2 = SWIG_AsVal_int(obj1, &val2);
24460 if (!SWIG_IsOK(ecode2)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24462 }
24463 arg2 = static_cast< int >(val2);
24464 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24465 if (!SWIG_IsOK(ecode3)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24467 }
24468 arg3 = static_cast< bool >(val3);
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 (arg1)->SetToggle(arg2,arg3);
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 resultobj = SWIG_Py_Void();
24476 return resultobj;
24477fail:
24478 return NULL;
24479}
24480
24481
24482SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj = 0;
24484 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24485 int arg2 ;
24486 PyObject *result = 0 ;
24487 void *argp1 = 0 ;
24488 int res1 = 0 ;
24489 int val2 ;
24490 int ecode2 = 0 ;
24491 PyObject * obj0 = 0 ;
24492 PyObject * obj1 = 0 ;
24493 char * kwnames[] = {
24494 (char *) "self",(char *) "id", NULL
24495 };
24496
24497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24499 if (!SWIG_IsOK(res1)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24501 }
24502 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24503 ecode2 = SWIG_AsVal_int(obj1, &val2);
24504 if (!SWIG_IsOK(ecode2)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24506 }
24507 arg2 = static_cast< int >(val2);
24508 {
24509 PyThreadState* __tstate = wxPyBeginAllowThreads();
24510 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
24514 resultobj = result;
24515 return resultobj;
24516fail:
24517 return NULL;
24518}
24519
24520
24521SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj = 0;
24523 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24524 int arg2 ;
24525 PyObject *arg3 = (PyObject *) 0 ;
24526 void *argp1 = 0 ;
24527 int res1 = 0 ;
24528 int val2 ;
24529 int ecode2 = 0 ;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 PyObject * obj2 = 0 ;
24533 char * kwnames[] = {
24534 (char *) "self",(char *) "id",(char *) "clientData", NULL
24535 };
24536
24537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24539 if (!SWIG_IsOK(res1)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24541 }
24542 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24543 ecode2 = SWIG_AsVal_int(obj1, &val2);
24544 if (!SWIG_IsOK(ecode2)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24546 }
24547 arg2 = static_cast< int >(val2);
24548 arg3 = obj2;
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 resultobj = SWIG_Py_Void();
24556 return resultobj;
24557fail:
24558 return NULL;
24559}
24560
24561
24562SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj = 0;
24564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24565 int arg2 ;
24566 int result;
24567 void *argp1 = 0 ;
24568 int res1 = 0 ;
24569 int val2 ;
24570 int ecode2 = 0 ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char * kwnames[] = {
24574 (char *) "self",(char *) "id", NULL
24575 };
24576
24577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24581 }
24582 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24583 ecode2 = SWIG_AsVal_int(obj1, &val2);
24584 if (!SWIG_IsOK(ecode2)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24586 }
24587 arg2 = static_cast< int >(val2);
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 resultobj = SWIG_From_int(static_cast< int >(result));
24595 return resultobj;
24596fail:
24597 return NULL;
24598}
24599
24600
24601SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj = 0;
24603 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24604 int arg2 ;
24605 bool result;
24606 void *argp1 = 0 ;
24607 int res1 = 0 ;
24608 int val2 ;
24609 int ecode2 = 0 ;
24610 PyObject * obj0 = 0 ;
24611 PyObject * obj1 = 0 ;
24612 char * kwnames[] = {
24613 (char *) "self",(char *) "id", NULL
24614 };
24615
24616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24618 if (!SWIG_IsOK(res1)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24620 }
24621 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24622 ecode2 = SWIG_AsVal_int(obj1, &val2);
24623 if (!SWIG_IsOK(ecode2)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24625 }
24626 arg2 = static_cast< int >(val2);
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 result = (bool)(arg1)->GetToolState(arg2);
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24635 }
24636 return resultobj;
24637fail:
24638 return NULL;
24639}
24640
24641
24642SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj = 0;
24644 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24645 int arg2 ;
24646 bool result;
24647 void *argp1 = 0 ;
24648 int res1 = 0 ;
24649 int val2 ;
24650 int ecode2 = 0 ;
24651 PyObject * obj0 = 0 ;
24652 PyObject * obj1 = 0 ;
24653 char * kwnames[] = {
24654 (char *) "self",(char *) "id", NULL
24655 };
24656
24657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24659 if (!SWIG_IsOK(res1)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24661 }
24662 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24663 ecode2 = SWIG_AsVal_int(obj1, &val2);
24664 if (!SWIG_IsOK(ecode2)) {
24665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24666 }
24667 arg2 = static_cast< int >(val2);
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 result = (bool)(arg1)->GetToolEnabled(arg2);
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 {
24675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24676 }
24677 return resultobj;
24678fail:
24679 return NULL;
24680}
24681
24682
24683SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24684 PyObject *resultobj = 0;
24685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24686 int arg2 ;
24687 wxString *arg3 = 0 ;
24688 void *argp1 = 0 ;
24689 int res1 = 0 ;
24690 int val2 ;
24691 int ecode2 = 0 ;
24692 bool temp3 = false ;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
24695 PyObject * obj2 = 0 ;
24696 char * kwnames[] = {
24697 (char *) "self",(char *) "id",(char *) "helpString", NULL
24698 };
24699
24700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24702 if (!SWIG_IsOK(res1)) {
24703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24704 }
24705 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24706 ecode2 = SWIG_AsVal_int(obj1, &val2);
24707 if (!SWIG_IsOK(ecode2)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24709 }
24710 arg2 = static_cast< int >(val2);
24711 {
24712 arg3 = wxString_in_helper(obj2);
24713 if (arg3 == NULL) SWIG_fail;
24714 temp3 = true;
24715 }
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24719 wxPyEndAllowThreads(__tstate);
24720 if (PyErr_Occurred()) SWIG_fail;
24721 }
24722 resultobj = SWIG_Py_Void();
24723 {
24724 if (temp3)
24725 delete arg3;
24726 }
24727 return resultobj;
24728fail:
24729 {
24730 if (temp3)
24731 delete arg3;
24732 }
24733 return NULL;
24734}
24735
24736
24737SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj = 0;
24739 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24740 int arg2 ;
24741 wxString result;
24742 void *argp1 = 0 ;
24743 int res1 = 0 ;
24744 int val2 ;
24745 int ecode2 = 0 ;
24746 PyObject * obj0 = 0 ;
24747 PyObject * obj1 = 0 ;
24748 char * kwnames[] = {
24749 (char *) "self",(char *) "id", NULL
24750 };
24751
24752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24754 if (!SWIG_IsOK(res1)) {
24755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24756 }
24757 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24758 ecode2 = SWIG_AsVal_int(obj1, &val2);
24759 if (!SWIG_IsOK(ecode2)) {
24760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24761 }
24762 arg2 = static_cast< int >(val2);
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 result = (arg1)->GetToolShortHelp(arg2);
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 {
d55e5bfc 24770#if wxUSE_UNICODE
554f62e9 24771 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24772#else
554f62e9 24773 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24774#endif
554f62e9
RD
24775 }
24776 return resultobj;
24777fail:
24778 return NULL;
24779}
24780
24781
24782SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24783 PyObject *resultobj = 0;
24784 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24785 int arg2 ;
24786 wxString *arg3 = 0 ;
24787 void *argp1 = 0 ;
24788 int res1 = 0 ;
24789 int val2 ;
24790 int ecode2 = 0 ;
24791 bool temp3 = false ;
24792 PyObject * obj0 = 0 ;
24793 PyObject * obj1 = 0 ;
24794 PyObject * obj2 = 0 ;
24795 char * kwnames[] = {
24796 (char *) "self",(char *) "id",(char *) "helpString", NULL
24797 };
24798
24799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24801 if (!SWIG_IsOK(res1)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24803 }
24804 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24805 ecode2 = SWIG_AsVal_int(obj1, &val2);
24806 if (!SWIG_IsOK(ecode2)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24808 }
24809 arg2 = static_cast< int >(val2);
24810 {
24811 arg3 = wxString_in_helper(obj2);
24812 if (arg3 == NULL) SWIG_fail;
24813 temp3 = true;
24814 }
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 resultobj = SWIG_Py_Void();
24822 {
24823 if (temp3)
24824 delete arg3;
24825 }
24826 return resultobj;
24827fail:
24828 {
24829 if (temp3)
24830 delete arg3;
24831 }
24832 return NULL;
24833}
24834
24835
24836SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj = 0;
24838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24839 int arg2 ;
24840 wxString result;
24841 void *argp1 = 0 ;
24842 int res1 = 0 ;
24843 int val2 ;
24844 int ecode2 = 0 ;
24845 PyObject * obj0 = 0 ;
24846 PyObject * obj1 = 0 ;
24847 char * kwnames[] = {
24848 (char *) "self",(char *) "id", NULL
24849 };
24850
24851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24853 if (!SWIG_IsOK(res1)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24855 }
24856 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24857 ecode2 = SWIG_AsVal_int(obj1, &val2);
24858 if (!SWIG_IsOK(ecode2)) {
24859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24860 }
24861 arg2 = static_cast< int >(val2);
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 result = (arg1)->GetToolLongHelp(arg2);
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 {
24869#if wxUSE_UNICODE
24870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24871#else
24872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24873#endif
24874 }
24875 return resultobj;
24876fail:
24877 return NULL;
24878}
24879
24880
24881SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj = 0;
24883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24884 int arg2 ;
24885 int arg3 ;
24886 void *argp1 = 0 ;
24887 int res1 = 0 ;
24888 int val2 ;
24889 int ecode2 = 0 ;
24890 int val3 ;
24891 int ecode3 = 0 ;
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
24894 PyObject * obj2 = 0 ;
24895 char * kwnames[] = {
24896 (char *) "self",(char *) "x",(char *) "y", NULL
24897 };
24898
24899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24901 if (!SWIG_IsOK(res1)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24903 }
24904 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24905 ecode2 = SWIG_AsVal_int(obj1, &val2);
24906 if (!SWIG_IsOK(ecode2)) {
24907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24908 }
24909 arg2 = static_cast< int >(val2);
24910 ecode3 = SWIG_AsVal_int(obj2, &val3);
24911 if (!SWIG_IsOK(ecode3)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24913 }
24914 arg3 = static_cast< int >(val3);
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 (arg1)->SetMargins(arg2,arg3);
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_Py_Void();
24922 return resultobj;
24923fail:
24924 return NULL;
24925}
24926
24927
24928SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj = 0;
24930 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24931 wxSize *arg2 = 0 ;
24932 void *argp1 = 0 ;
24933 int res1 = 0 ;
24934 wxSize temp2 ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 char * kwnames[] = {
24938 (char *) "self",(char *) "size", NULL
24939 };
24940
24941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24945 }
24946 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24947 {
24948 arg2 = &temp2;
24949 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24950 }
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 (arg1)->SetMargins((wxSize const &)*arg2);
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 resultobj = SWIG_Py_Void();
24958 return resultobj;
24959fail:
24960 return NULL;
24961}
24962
24963
24964SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24965 PyObject *resultobj = 0;
24966 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24967 int arg2 ;
24968 void *argp1 = 0 ;
24969 int res1 = 0 ;
24970 int val2 ;
24971 int ecode2 = 0 ;
24972 PyObject * obj0 = 0 ;
24973 PyObject * obj1 = 0 ;
24974 char * kwnames[] = {
24975 (char *) "self",(char *) "packing", NULL
24976 };
24977
24978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
24979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24980 if (!SWIG_IsOK(res1)) {
24981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24982 }
24983 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24984 ecode2 = SWIG_AsVal_int(obj1, &val2);
24985 if (!SWIG_IsOK(ecode2)) {
24986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24987 }
24988 arg2 = static_cast< int >(val2);
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 (arg1)->SetToolPacking(arg2);
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 resultobj = SWIG_Py_Void();
24996 return resultobj;
24997fail:
24998 return NULL;
24999}
25000
25001
25002SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj = 0;
25004 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25005 int arg2 ;
25006 void *argp1 = 0 ;
25007 int res1 = 0 ;
25008 int val2 ;
25009 int ecode2 = 0 ;
25010 PyObject * obj0 = 0 ;
25011 PyObject * obj1 = 0 ;
25012 char * kwnames[] = {
25013 (char *) "self",(char *) "separation", NULL
25014 };
25015
25016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25018 if (!SWIG_IsOK(res1)) {
25019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25020 }
25021 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25022 ecode2 = SWIG_AsVal_int(obj1, &val2);
25023 if (!SWIG_IsOK(ecode2)) {
25024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25025 }
25026 arg2 = static_cast< int >(val2);
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->SetToolSeparation(arg2);
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 resultobj = SWIG_Py_Void();
25034 return resultobj;
25035fail:
25036 return NULL;
d55e5bfc
RD
25037}
25038
25039
554f62e9
RD
25040SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25041 PyObject *resultobj = 0;
25042 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25043 wxSize result;
25044 void *argp1 = 0 ;
25045 int res1 = 0 ;
25046 PyObject *swig_obj[1] ;
25047
25048 if (!args) SWIG_fail;
25049 swig_obj[0] = args;
25050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25051 if (!SWIG_IsOK(res1)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25053 }
25054 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 result = (arg1)->GetToolMargins();
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25062 return resultobj;
25063fail:
25064 return NULL;
d55e5bfc
RD
25065}
25066
25067
554f62e9
RD
25068SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25069 PyObject *resultobj = 0;
25070 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25071 wxSize result;
25072 void *argp1 = 0 ;
25073 int res1 = 0 ;
25074 PyObject *swig_obj[1] ;
25075
25076 if (!args) SWIG_fail;
25077 swig_obj[0] = args;
25078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25079 if (!SWIG_IsOK(res1)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25081 }
25082 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 result = (arg1)->GetMargins();
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25090 return resultobj;
25091fail:
25092 return NULL;
d55e5bfc
RD
25093}
25094
25095
554f62e9
RD
25096SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25097 PyObject *resultobj = 0;
25098 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25099 int result;
25100 void *argp1 = 0 ;
25101 int res1 = 0 ;
25102 PyObject *swig_obj[1] ;
25103
25104 if (!args) SWIG_fail;
25105 swig_obj[0] = args;
25106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25107 if (!SWIG_IsOK(res1)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25109 }
25110 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (int)(arg1)->GetToolPacking();
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 resultobj = SWIG_From_int(static_cast< int >(result));
25118 return resultobj;
25119fail:
25120 return NULL;
d55e5bfc
RD
25121}
25122
25123
554f62e9
RD
25124SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25125 PyObject *resultobj = 0;
25126 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25127 int result;
25128 void *argp1 = 0 ;
25129 int res1 = 0 ;
25130 PyObject *swig_obj[1] ;
25131
25132 if (!args) SWIG_fail;
25133 swig_obj[0] = args;
25134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25135 if (!SWIG_IsOK(res1)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25137 }
25138 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (int)(arg1)->GetToolSeparation();
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 resultobj = SWIG_From_int(static_cast< int >(result));
25146 return resultobj;
25147fail:
25148 return NULL;
25149}
25150
25151
25152SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25153 PyObject *resultobj = 0;
25154 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25155 int arg2 ;
25156 void *argp1 = 0 ;
25157 int res1 = 0 ;
25158 int val2 ;
25159 int ecode2 = 0 ;
25160 PyObject * obj0 = 0 ;
25161 PyObject * obj1 = 0 ;
25162 char * kwnames[] = {
25163 (char *) "self",(char *) "nRows", NULL
25164 };
25165
25166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25168 if (!SWIG_IsOK(res1)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25170 }
25171 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25172 ecode2 = SWIG_AsVal_int(obj1, &val2);
25173 if (!SWIG_IsOK(ecode2)) {
25174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25175 }
25176 arg2 = static_cast< int >(val2);
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 (arg1)->SetRows(arg2);
25180 wxPyEndAllowThreads(__tstate);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 }
25183 resultobj = SWIG_Py_Void();
25184 return resultobj;
25185fail:
25186 return NULL;
25187}
25188
25189
25190SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25191 PyObject *resultobj = 0;
25192 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25193 int arg2 ;
25194 int arg3 ;
25195 void *argp1 = 0 ;
25196 int res1 = 0 ;
25197 int val2 ;
25198 int ecode2 = 0 ;
25199 int val3 ;
25200 int ecode3 = 0 ;
25201 PyObject * obj0 = 0 ;
25202 PyObject * obj1 = 0 ;
25203 PyObject * obj2 = 0 ;
25204 char * kwnames[] = {
25205 (char *) "self",(char *) "rows",(char *) "cols", NULL
25206 };
25207
25208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25212 }
25213 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25214 ecode2 = SWIG_AsVal_int(obj1, &val2);
25215 if (!SWIG_IsOK(ecode2)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25217 }
25218 arg2 = static_cast< int >(val2);
25219 ecode3 = SWIG_AsVal_int(obj2, &val3);
25220 if (!SWIG_IsOK(ecode3)) {
25221 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25222 }
25223 arg3 = static_cast< int >(val3);
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->SetMaxRowsCols(arg2,arg3);
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 resultobj = SWIG_Py_Void();
25231 return resultobj;
25232fail:
25233 return NULL;
d55e5bfc
RD
25234}
25235
25236
554f62e9
RD
25237SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25238 PyObject *resultobj = 0;
25239 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25240 int result;
25241 void *argp1 = 0 ;
25242 int res1 = 0 ;
25243 PyObject *swig_obj[1] ;
25244
25245 if (!args) SWIG_fail;
25246 swig_obj[0] = args;
25247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25248 if (!SWIG_IsOK(res1)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25250 }
25251 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 result = (int)(arg1)->GetMaxRows();
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 resultobj = SWIG_From_int(static_cast< int >(result));
25259 return resultobj;
25260fail:
25261 return NULL;
d55e5bfc
RD
25262}
25263
25264
554f62e9
RD
25265SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25266 PyObject *resultobj = 0;
25267 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25268 int result;
25269 void *argp1 = 0 ;
25270 int res1 = 0 ;
25271 PyObject *swig_obj[1] ;
25272
25273 if (!args) SWIG_fail;
25274 swig_obj[0] = args;
25275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25276 if (!SWIG_IsOK(res1)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25278 }
25279 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25280 {
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 result = (int)(arg1)->GetMaxCols();
25283 wxPyEndAllowThreads(__tstate);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 }
25286 resultobj = SWIG_From_int(static_cast< int >(result));
25287 return resultobj;
25288fail:
25289 return NULL;
25290}
25291
25292
25293SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj = 0;
25295 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25296 wxSize *arg2 = 0 ;
25297 void *argp1 = 0 ;
25298 int res1 = 0 ;
25299 wxSize temp2 ;
25300 PyObject * obj0 = 0 ;
25301 PyObject * obj1 = 0 ;
25302 char * kwnames[] = {
25303 (char *) "self",(char *) "size", NULL
25304 };
25305
25306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25308 if (!SWIG_IsOK(res1)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25310 }
25311 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25312 {
25313 arg2 = &temp2;
25314 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 resultobj = SWIG_Py_Void();
25323 return resultobj;
25324fail:
25325 return NULL;
d55e5bfc
RD
25326}
25327
25328
554f62e9
RD
25329SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25330 PyObject *resultobj = 0;
25331 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25332 wxSize result;
25333 void *argp1 = 0 ;
25334 int res1 = 0 ;
25335 PyObject *swig_obj[1] ;
25336
25337 if (!args) SWIG_fail;
25338 swig_obj[0] = args;
25339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25340 if (!SWIG_IsOK(res1)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25342 }
25343 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = (arg1)->GetToolBitmapSize();
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25351 return resultobj;
25352fail:
25353 return NULL;
d55e5bfc
RD
25354}
25355
25356
554f62e9
RD
25357SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25358 PyObject *resultobj = 0;
25359 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25360 wxSize result;
25361 void *argp1 = 0 ;
25362 int res1 = 0 ;
25363 PyObject *swig_obj[1] ;
25364
25365 if (!args) SWIG_fail;
25366 swig_obj[0] = args;
25367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25368 if (!SWIG_IsOK(res1)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25370 }
25371 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25372 {
25373 PyThreadState* __tstate = wxPyBeginAllowThreads();
25374 result = (arg1)->GetToolSize();
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25379 return resultobj;
25380fail:
25381 return NULL;
25382}
25383
25384
25385SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25386 PyObject *resultobj = 0;
25387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25388 int arg2 ;
25389 int arg3 ;
25390 wxToolBarToolBase *result = 0 ;
25391 void *argp1 = 0 ;
25392 int res1 = 0 ;
25393 int val2 ;
25394 int ecode2 = 0 ;
25395 int val3 ;
25396 int ecode3 = 0 ;
25397 PyObject * obj0 = 0 ;
25398 PyObject * obj1 = 0 ;
25399 PyObject * obj2 = 0 ;
25400 char * kwnames[] = {
25401 (char *) "self",(char *) "x",(char *) "y", NULL
25402 };
25403
25404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25406 if (!SWIG_IsOK(res1)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25408 }
25409 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25410 ecode2 = SWIG_AsVal_int(obj1, &val2);
25411 if (!SWIG_IsOK(ecode2)) {
25412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25413 }
25414 arg2 = static_cast< int >(val2);
25415 ecode3 = SWIG_AsVal_int(obj2, &val3);
25416 if (!SWIG_IsOK(ecode3)) {
25417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25418 }
25419 arg3 = static_cast< int >(val3);
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 {
25427 resultobj = wxPyMake_wxObject(result, (bool)0);
25428 }
25429 return resultobj;
25430fail:
25431 return NULL;
25432}
25433
25434
25435SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj = 0;
25437 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25438 int arg2 ;
25439 wxToolBarToolBase *result = 0 ;
25440 void *argp1 = 0 ;
25441 int res1 = 0 ;
25442 int val2 ;
25443 int ecode2 = 0 ;
25444 PyObject * obj0 = 0 ;
25445 PyObject * obj1 = 0 ;
25446 char * kwnames[] = {
25447 (char *) "self",(char *) "toolid", NULL
25448 };
25449
25450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25452 if (!SWIG_IsOK(res1)) {
25453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25454 }
25455 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25456 ecode2 = SWIG_AsVal_int(obj1, &val2);
25457 if (!SWIG_IsOK(ecode2)) {
25458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25459 }
25460 arg2 = static_cast< int >(val2);
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 {
25468 resultobj = wxPyMake_wxObject(result, (bool)0);
25469 }
25470 return resultobj;
25471fail:
25472 return NULL;
d55e5bfc
RD
25473}
25474
25475
554f62e9
RD
25476SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25477 PyObject *resultobj = 0;
25478 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25479 bool result;
25480 void *argp1 = 0 ;
25481 int res1 = 0 ;
25482 PyObject *swig_obj[1] ;
25483
25484 if (!args) SWIG_fail;
25485 swig_obj[0] = args;
25486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25487 if (!SWIG_IsOK(res1)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25489 }
25490 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (bool)(arg1)->IsVertical();
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 {
25498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25499 }
25500 return resultobj;
25501fail:
25502 return NULL;
d55e5bfc
RD
25503}
25504
25505
554f62e9
RD
25506SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25507 PyObject *resultobj = 0;
25508 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25509 size_t result;
25510 void *argp1 = 0 ;
25511 int res1 = 0 ;
25512 PyObject *swig_obj[1] ;
25513
25514 if (!args) SWIG_fail;
25515 swig_obj[0] = args;
25516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25517 if (!SWIG_IsOK(res1)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25519 }
25520 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25528 return resultobj;
25529fail:
25530 return NULL;
25531}
25532
25533
25534SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25535 PyObject *obj;
25536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25537 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25538 return SWIG_Py_Void();
25539}
25540
25541SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25542 PyObject *resultobj = 0;
25543 wxWindow *arg1 = (wxWindow *) 0 ;
25544 int arg2 = (int) -1 ;
25545 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25546 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25547 wxSize const &arg4_defvalue = wxDefaultSize ;
25548 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25549 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25550 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25551 wxString *arg6 = (wxString *) &arg6_defvalue ;
25552 wxToolBar *result = 0 ;
25553 void *argp1 = 0 ;
25554 int res1 = 0 ;
25555 int val2 ;
25556 int ecode2 = 0 ;
25557 wxPoint temp3 ;
25558 wxSize temp4 ;
25559 long val5 ;
25560 int ecode5 = 0 ;
25561 bool temp6 = false ;
25562 PyObject * obj0 = 0 ;
25563 PyObject * obj1 = 0 ;
25564 PyObject * obj2 = 0 ;
25565 PyObject * obj3 = 0 ;
25566 PyObject * obj4 = 0 ;
25567 PyObject * obj5 = 0 ;
25568 char * kwnames[] = {
25569 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25570 };
25571
25572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25574 if (!SWIG_IsOK(res1)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25576 }
25577 arg1 = reinterpret_cast< wxWindow * >(argp1);
25578 if (obj1) {
25579 ecode2 = SWIG_AsVal_int(obj1, &val2);
25580 if (!SWIG_IsOK(ecode2)) {
25581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25582 }
25583 arg2 = static_cast< int >(val2);
25584 }
25585 if (obj2) {
d55e5bfc 25586 {
554f62e9
RD
25587 arg3 = &temp3;
25588 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25589 }
554f62e9
RD
25590 }
25591 if (obj3) {
093d3ff1 25592 {
554f62e9
RD
25593 arg4 = &temp4;
25594 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25595 }
554f62e9
RD
25596 }
25597 if (obj4) {
25598 ecode5 = SWIG_AsVal_long(obj4, &val5);
25599 if (!SWIG_IsOK(ecode5)) {
25600 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25601 }
25602 arg5 = static_cast< long >(val5);
25603 }
25604 if (obj5) {
d55e5bfc 25605 {
554f62e9
RD
25606 arg6 = wxString_in_helper(obj5);
25607 if (arg6 == NULL) SWIG_fail;
25608 temp6 = true;
d55e5bfc 25609 }
554f62e9
RD
25610 }
25611 {
25612 if (!wxPyCheckForApp()) SWIG_fail;
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25619 {
25620 if (temp6)
25621 delete arg6;
25622 }
25623 return resultobj;
25624fail:
25625 {
25626 if (temp6)
25627 delete arg6;
25628 }
25629 return NULL;
d55e5bfc
RD
25630}
25631
25632
554f62e9
RD
25633SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25634 PyObject *resultobj = 0;
25635 wxToolBar *result = 0 ;
25636
25637 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25638 {
25639 if (!wxPyCheckForApp()) SWIG_fail;
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 result = (wxToolBar *)new wxToolBar();
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25646 return resultobj;
25647fail:
25648 return NULL;
25649}
25650
25651
25652SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25653 PyObject *resultobj = 0;
25654 wxToolBar *arg1 = (wxToolBar *) 0 ;
25655 wxWindow *arg2 = (wxWindow *) 0 ;
25656 int arg3 = (int) -1 ;
25657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25659 wxSize const &arg5_defvalue = wxDefaultSize ;
25660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25661 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25662 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25663 wxString *arg7 = (wxString *) &arg7_defvalue ;
25664 bool result;
25665 void *argp1 = 0 ;
25666 int res1 = 0 ;
25667 void *argp2 = 0 ;
25668 int res2 = 0 ;
25669 int val3 ;
25670 int ecode3 = 0 ;
25671 wxPoint temp4 ;
25672 wxSize temp5 ;
25673 long val6 ;
25674 int ecode6 = 0 ;
25675 bool temp7 = false ;
25676 PyObject * obj0 = 0 ;
25677 PyObject * obj1 = 0 ;
25678 PyObject * obj2 = 0 ;
25679 PyObject * obj3 = 0 ;
25680 PyObject * obj4 = 0 ;
25681 PyObject * obj5 = 0 ;
25682 PyObject * obj6 = 0 ;
25683 char * kwnames[] = {
25684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25685 };
25686
25687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25689 if (!SWIG_IsOK(res1)) {
25690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25691 }
25692 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25693 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25694 if (!SWIG_IsOK(res2)) {
25695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25696 }
25697 arg2 = reinterpret_cast< wxWindow * >(argp2);
25698 if (obj2) {
25699 ecode3 = SWIG_AsVal_int(obj2, &val3);
25700 if (!SWIG_IsOK(ecode3)) {
25701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25702 }
25703 arg3 = static_cast< int >(val3);
25704 }
25705 if (obj3) {
d55e5bfc 25706 {
554f62e9
RD
25707 arg4 = &temp4;
25708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25709 }
554f62e9
RD
25710 }
25711 if (obj4) {
093d3ff1 25712 {
554f62e9
RD
25713 arg5 = &temp5;
25714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 25715 }
554f62e9
RD
25716 }
25717 if (obj5) {
25718 ecode6 = SWIG_AsVal_long(obj5, &val6);
25719 if (!SWIG_IsOK(ecode6)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25721 }
25722 arg6 = static_cast< long >(val6);
25723 }
25724 if (obj6) {
25725 {
25726 arg7 = wxString_in_helper(obj6);
25727 if (arg7 == NULL) SWIG_fail;
25728 temp7 = true;
25729 }
25730 }
25731 {
25732 PyThreadState* __tstate = wxPyBeginAllowThreads();
25733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 {
25738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25739 }
25740 {
25741 if (temp7)
25742 delete arg7;
25743 }
25744 return resultobj;
25745fail:
25746 {
25747 if (temp7)
25748 delete arg7;
25749 }
25750 return NULL;
25751}
25752
25753
554f62e9
RD
25754SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25755 PyObject *resultobj = 0;
25756 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25757 SwigValueWrapper<wxVisualAttributes > result;
25758 int val1 ;
25759 int ecode1 = 0 ;
25760 PyObject * obj0 = 0 ;
25761 char * kwnames[] = {
25762 (char *) "variant", NULL
25763 };
25764
25765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25766 if (obj0) {
25767 ecode1 = SWIG_AsVal_int(obj0, &val1);
25768 if (!SWIG_IsOK(ecode1)) {
25769 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25770 }
25771 arg1 = static_cast< wxWindowVariant >(val1);
25772 }
25773 {
25774 if (!wxPyCheckForApp()) SWIG_fail;
25775 PyThreadState* __tstate = wxPyBeginAllowThreads();
25776 result = wxToolBar::GetClassDefaultAttributes(arg1);
25777 wxPyEndAllowThreads(__tstate);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 }
25780 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25781 return resultobj;
25782fail:
25783 return NULL;
d55e5bfc
RD
25784}
25785
25786
554f62e9
RD
25787SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25788 PyObject *obj;
25789 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25790 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
25791 return SWIG_Py_Void();
d55e5bfc
RD
25792}
25793
554f62e9
RD
25794SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25795 return SWIG_Python_InitShadowInstance(args);
25796}
d55e5bfc 25797
554f62e9
RD
25798SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
25799 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
25800 return 1;
d55e5bfc
RD
25801}
25802
25803
554f62e9
RD
25804SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
25805 PyObject *pyobj = 0;
25806
25807 {
25808#if wxUSE_UNICODE
25809 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25810#else
25811 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25812#endif
25813 }
25814 return pyobj;
25815}
25816
25817
25818SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25819 PyObject *resultobj = 0;
25820 wxColour const &arg1_defvalue = wxNullColour ;
25821 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
25822 wxColour const &arg2_defvalue = wxNullColour ;
25823 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
25824 wxFont const &arg3_defvalue = wxNullFont ;
25825 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
25826 wxListItemAttr *result = 0 ;
25827 wxColour temp1 ;
25828 wxColour temp2 ;
25829 void *argp3 = 0 ;
25830 int res3 = 0 ;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 PyObject * obj2 = 0 ;
25834 char * kwnames[] = {
25835 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25836 };
25837
25838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25839 if (obj0) {
093d3ff1 25840 {
554f62e9
RD
25841 arg1 = &temp1;
25842 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 25843 }
554f62e9
RD
25844 }
25845 if (obj1) {
d55e5bfc 25846 {
554f62e9
RD
25847 arg2 = &temp2;
25848 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 25849 }
554f62e9
RD
25850 }
25851 if (obj2) {
25852 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
25853 if (!SWIG_IsOK(res3)) {
25854 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25855 }
25856 if (!argp3) {
25857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25858 }
25859 arg3 = reinterpret_cast< wxFont * >(argp3);
25860 }
25861 {
25862 PyThreadState* __tstate = wxPyBeginAllowThreads();
25863 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
25868 return resultobj;
25869fail:
25870 return NULL;
d55e5bfc
RD
25871}
25872
25873
554f62e9
RD
25874SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25875 PyObject *resultobj = 0;
25876 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25877 void *argp1 = 0 ;
25878 int res1 = 0 ;
25879 PyObject *swig_obj[1] ;
25880
25881 if (!args) SWIG_fail;
25882 swig_obj[0] = args;
25883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
25884 if (!SWIG_IsOK(res1)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25886 }
25887 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 delete arg1;
d55e5bfc 25891
554f62e9
RD
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 resultobj = SWIG_Py_Void();
25896 return resultobj;
25897fail:
25898 return NULL;
25899}
25900
25901
25902SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj = 0;
25904 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25905 wxColour *arg2 = 0 ;
25906 void *argp1 = 0 ;
25907 int res1 = 0 ;
25908 wxColour temp2 ;
25909 PyObject * obj0 = 0 ;
25910 PyObject * obj1 = 0 ;
25911 char * kwnames[] = {
25912 (char *) "self",(char *) "colText", NULL
25913 };
25914
25915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
25916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25917 if (!SWIG_IsOK(res1)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25919 }
25920 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25921 {
25922 arg2 = &temp2;
25923 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25924 }
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 (arg1)->SetTextColour((wxColour const &)*arg2);
25928 wxPyEndAllowThreads(__tstate);
25929 if (PyErr_Occurred()) SWIG_fail;
25930 }
25931 resultobj = SWIG_Py_Void();
25932 return resultobj;
25933fail:
25934 return NULL;
25935}
25936
25937
25938SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25939 PyObject *resultobj = 0;
25940 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25941 wxColour *arg2 = 0 ;
25942 void *argp1 = 0 ;
25943 int res1 = 0 ;
25944 wxColour temp2 ;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 char * kwnames[] = {
25948 (char *) "self",(char *) "colBack", NULL
25949 };
25950
25951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
25952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25953 if (!SWIG_IsOK(res1)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25955 }
25956 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25957 {
25958 arg2 = &temp2;
25959 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25960 }
25961 {
25962 PyThreadState* __tstate = wxPyBeginAllowThreads();
25963 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
25964 wxPyEndAllowThreads(__tstate);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
25967 resultobj = SWIG_Py_Void();
25968 return resultobj;
25969fail:
25970 return NULL;
25971}
25972
25973
25974SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj = 0;
25976 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25977 wxFont *arg2 = 0 ;
25978 void *argp1 = 0 ;
25979 int res1 = 0 ;
25980 void *argp2 = 0 ;
25981 int res2 = 0 ;
25982 PyObject * obj0 = 0 ;
25983 PyObject * obj1 = 0 ;
25984 char * kwnames[] = {
25985 (char *) "self",(char *) "font", NULL
25986 };
25987
25988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
25989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25990 if (!SWIG_IsOK(res1)) {
25991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25992 }
25993 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25994 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
25995 if (!SWIG_IsOK(res2)) {
25996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25997 }
25998 if (!argp2) {
25999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26000 }
26001 arg2 = reinterpret_cast< wxFont * >(argp2);
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 (arg1)->SetFont((wxFont const &)*arg2);
26005 wxPyEndAllowThreads(__tstate);
26006 if (PyErr_Occurred()) SWIG_fail;
26007 }
26008 resultobj = SWIG_Py_Void();
26009 return resultobj;
26010fail:
26011 return NULL;
d55e5bfc
RD
26012}
26013
26014
554f62e9
RD
26015SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26016 PyObject *resultobj = 0;
26017 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26018 bool result;
26019 void *argp1 = 0 ;
26020 int res1 = 0 ;
26021 PyObject *swig_obj[1] ;
26022
26023 if (!args) SWIG_fail;
26024 swig_obj[0] = args;
26025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26026 if (!SWIG_IsOK(res1)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26028 }
26029 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26030 {
26031 PyThreadState* __tstate = wxPyBeginAllowThreads();
26032 result = (bool)(arg1)->HasTextColour();
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 {
26037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26038 }
26039 return resultobj;
26040fail:
26041 return NULL;
d55e5bfc
RD
26042}
26043
26044
554f62e9
RD
26045SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26046 PyObject *resultobj = 0;
26047 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26048 bool result;
26049 void *argp1 = 0 ;
26050 int res1 = 0 ;
26051 PyObject *swig_obj[1] ;
26052
26053 if (!args) SWIG_fail;
26054 swig_obj[0] = args;
26055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26056 if (!SWIG_IsOK(res1)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26058 }
26059 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 result = (bool)(arg1)->HasBackgroundColour();
26063 wxPyEndAllowThreads(__tstate);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 {
26067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26068 }
26069 return resultobj;
26070fail:
26071 return NULL;
d55e5bfc
RD
26072}
26073
26074
554f62e9
RD
26075SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26076 PyObject *resultobj = 0;
26077 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26078 bool result;
26079 void *argp1 = 0 ;
26080 int res1 = 0 ;
26081 PyObject *swig_obj[1] ;
26082
26083 if (!args) SWIG_fail;
26084 swig_obj[0] = args;
26085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26086 if (!SWIG_IsOK(res1)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26088 }
26089 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 result = (bool)(arg1)->HasFont();
26093 wxPyEndAllowThreads(__tstate);
26094 if (PyErr_Occurred()) SWIG_fail;
26095 }
26096 {
26097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26098 }
26099 return resultobj;
26100fail:
26101 return NULL;
d55e5bfc
RD
26102}
26103
26104
554f62e9
RD
26105SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26106 PyObject *resultobj = 0;
26107 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26108 wxColour result;
26109 void *argp1 = 0 ;
26110 int res1 = 0 ;
26111 PyObject *swig_obj[1] ;
26112
26113 if (!args) SWIG_fail;
26114 swig_obj[0] = args;
26115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26116 if (!SWIG_IsOK(res1)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26118 }
26119 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 result = (arg1)->GetTextColour();
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26127 return resultobj;
26128fail:
26129 return NULL;
d55e5bfc
RD
26130}
26131
26132
554f62e9
RD
26133SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26134 PyObject *resultobj = 0;
26135 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26136 wxColour result;
26137 void *argp1 = 0 ;
26138 int res1 = 0 ;
26139 PyObject *swig_obj[1] ;
26140
26141 if (!args) SWIG_fail;
26142 swig_obj[0] = args;
26143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26144 if (!SWIG_IsOK(res1)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26146 }
26147 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 result = (arg1)->GetBackgroundColour();
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26155 return resultobj;
26156fail:
26157 return NULL;
d55e5bfc
RD
26158}
26159
26160
554f62e9
RD
26161SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26162 PyObject *resultobj = 0;
26163 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26164 wxFont result;
26165 void *argp1 = 0 ;
26166 int res1 = 0 ;
26167 PyObject *swig_obj[1] ;
26168
26169 if (!args) SWIG_fail;
26170 swig_obj[0] = args;
26171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26172 if (!SWIG_IsOK(res1)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26174 }
26175 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (arg1)->GetFont();
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26183 return resultobj;
26184fail:
26185 return NULL;
26186}
26187
26188
26189SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26190 PyObject *resultobj = 0;
26191 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26192 wxListItemAttr *arg2 = 0 ;
26193 void *argp1 = 0 ;
26194 int res1 = 0 ;
26195 void *argp2 = 0 ;
26196 int res2 = 0 ;
26197 PyObject * obj0 = 0 ;
26198 PyObject * obj1 = 0 ;
26199 char * kwnames[] = {
26200 (char *) "self",(char *) "source", NULL
26201 };
26202
26203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26205 if (!SWIG_IsOK(res1)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26207 }
26208 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26209 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26210 if (!SWIG_IsOK(res2)) {
26211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26212 }
26213 if (!argp2) {
26214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26215 }
26216 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26220 wxPyEndAllowThreads(__tstate);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 resultobj = SWIG_Py_Void();
26224 return resultobj;
26225fail:
26226 return NULL;
d55e5bfc
RD
26227}
26228
26229
554f62e9
RD
26230SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26231 PyObject *resultobj = 0;
26232 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26233 void *argp1 = 0 ;
26234 int res1 = 0 ;
26235 PyObject *swig_obj[1] ;
26236
26237 if (!args) SWIG_fail;
26238 swig_obj[0] = args;
26239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26240 if (!SWIG_IsOK(res1)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26242 }
26243 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 wxListItemAttr_Destroy(arg1);
26247 wxPyEndAllowThreads(__tstate);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 resultobj = SWIG_Py_Void();
26251 return resultobj;
26252fail:
26253 return NULL;
f20a2e1f
RD
26254}
26255
26256
554f62e9
RD
26257SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26258 PyObject *obj;
26259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26260 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26261 return SWIG_Py_Void();
d55e5bfc 26262}
554f62e9
RD
26263
26264SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26265 return SWIG_Python_InitShadowInstance(args);
26266}
26267
26268SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26269 PyObject *resultobj = 0;
26270 wxListItem *result = 0 ;
26271
26272 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 result = (wxListItem *)new wxListItem();
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 {
26280 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW);
26281 }
26282 return resultobj;
26283fail:
26284 return NULL;
d55e5bfc
RD
26285}
26286
26287
554f62e9
RD
26288SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26289 PyObject *resultobj = 0;
26290 wxListItem *arg1 = (wxListItem *) 0 ;
26291 void *argp1 = 0 ;
26292 int res1 = 0 ;
26293 PyObject *swig_obj[1] ;
26294
26295 if (!args) SWIG_fail;
26296 swig_obj[0] = args;
26297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26298 if (!SWIG_IsOK(res1)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26300 }
26301 arg1 = reinterpret_cast< wxListItem * >(argp1);
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 delete arg1;
d55e5bfc 26305
554f62e9
RD
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 resultobj = SWIG_Py_Void();
26310 return resultobj;
26311fail:
26312 return NULL;
d55e5bfc
RD
26313}
26314
26315
554f62e9
RD
26316SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26317 PyObject *resultobj = 0;
26318 wxListItem *arg1 = (wxListItem *) 0 ;
26319 void *argp1 = 0 ;
26320 int res1 = 0 ;
26321 PyObject *swig_obj[1] ;
26322
26323 if (!args) SWIG_fail;
26324 swig_obj[0] = args;
26325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26326 if (!SWIG_IsOK(res1)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26328 }
26329 arg1 = reinterpret_cast< wxListItem * >(argp1);
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 (arg1)->Clear();
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 resultobj = SWIG_Py_Void();
26337 return resultobj;
26338fail:
26339 return NULL;
d55e5bfc
RD
26340}
26341
26342
554f62e9
RD
26343SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26344 PyObject *resultobj = 0;
26345 wxListItem *arg1 = (wxListItem *) 0 ;
26346 void *argp1 = 0 ;
26347 int res1 = 0 ;
26348 PyObject *swig_obj[1] ;
26349
26350 if (!args) SWIG_fail;
26351 swig_obj[0] = args;
26352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26353 if (!SWIG_IsOK(res1)) {
26354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26355 }
26356 arg1 = reinterpret_cast< wxListItem * >(argp1);
26357 {
26358 PyThreadState* __tstate = wxPyBeginAllowThreads();
26359 (arg1)->ClearAttributes();
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 resultobj = SWIG_Py_Void();
26364 return resultobj;
26365fail:
26366 return NULL;
26367}
26368
26369
26370SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj = 0;
26372 wxListItem *arg1 = (wxListItem *) 0 ;
26373 long arg2 ;
26374 void *argp1 = 0 ;
26375 int res1 = 0 ;
26376 long val2 ;
26377 int ecode2 = 0 ;
26378 PyObject * obj0 = 0 ;
26379 PyObject * obj1 = 0 ;
26380 char * kwnames[] = {
26381 (char *) "self",(char *) "mask", NULL
26382 };
26383
26384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26386 if (!SWIG_IsOK(res1)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26388 }
26389 arg1 = reinterpret_cast< wxListItem * >(argp1);
26390 ecode2 = SWIG_AsVal_long(obj1, &val2);
26391 if (!SWIG_IsOK(ecode2)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26393 }
26394 arg2 = static_cast< long >(val2);
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 (arg1)->SetMask(arg2);
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 resultobj = SWIG_Py_Void();
26402 return resultobj;
26403fail:
26404 return NULL;
26405}
26406
26407
26408SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj = 0;
26410 wxListItem *arg1 = (wxListItem *) 0 ;
26411 long arg2 ;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 long val2 ;
26415 int ecode2 = 0 ;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 char * kwnames[] = {
26419 (char *) "self",(char *) "id", NULL
26420 };
26421
26422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26424 if (!SWIG_IsOK(res1)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26426 }
26427 arg1 = reinterpret_cast< wxListItem * >(argp1);
26428 ecode2 = SWIG_AsVal_long(obj1, &val2);
26429 if (!SWIG_IsOK(ecode2)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26431 }
26432 arg2 = static_cast< long >(val2);
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 (arg1)->SetId(arg2);
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_Py_Void();
26440 return resultobj;
26441fail:
26442 return NULL;
26443}
26444
26445
26446SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj = 0;
26448 wxListItem *arg1 = (wxListItem *) 0 ;
26449 int arg2 ;
26450 void *argp1 = 0 ;
26451 int res1 = 0 ;
26452 int val2 ;
26453 int ecode2 = 0 ;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 char * kwnames[] = {
26457 (char *) "self",(char *) "col", NULL
26458 };
26459
26460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26462 if (!SWIG_IsOK(res1)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26464 }
26465 arg1 = reinterpret_cast< wxListItem * >(argp1);
26466 ecode2 = SWIG_AsVal_int(obj1, &val2);
26467 if (!SWIG_IsOK(ecode2)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26469 }
26470 arg2 = static_cast< int >(val2);
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 (arg1)->SetColumn(arg2);
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 resultobj = SWIG_Py_Void();
26478 return resultobj;
26479fail:
26480 return NULL;
26481}
26482
26483
26484SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj = 0;
26486 wxListItem *arg1 = (wxListItem *) 0 ;
26487 long arg2 ;
26488 void *argp1 = 0 ;
26489 int res1 = 0 ;
26490 long val2 ;
26491 int ecode2 = 0 ;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char * kwnames[] = {
26495 (char *) "self",(char *) "state", NULL
26496 };
26497
26498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26500 if (!SWIG_IsOK(res1)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26502 }
26503 arg1 = reinterpret_cast< wxListItem * >(argp1);
26504 ecode2 = SWIG_AsVal_long(obj1, &val2);
26505 if (!SWIG_IsOK(ecode2)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26507 }
26508 arg2 = static_cast< long >(val2);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 (arg1)->SetState(arg2);
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 resultobj = SWIG_Py_Void();
26516 return resultobj;
26517fail:
26518 return NULL;
26519}
26520
26521
26522SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26523 PyObject *resultobj = 0;
26524 wxListItem *arg1 = (wxListItem *) 0 ;
26525 long arg2 ;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 long val2 ;
26529 int ecode2 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char * kwnames[] = {
26533 (char *) "self",(char *) "stateMask", NULL
26534 };
26535
26536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26538 if (!SWIG_IsOK(res1)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26540 }
26541 arg1 = reinterpret_cast< wxListItem * >(argp1);
26542 ecode2 = SWIG_AsVal_long(obj1, &val2);
26543 if (!SWIG_IsOK(ecode2)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26545 }
26546 arg2 = static_cast< long >(val2);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->SetStateMask(arg2);
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555fail:
26556 return NULL;
26557}
26558
26559
26560SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj = 0;
26562 wxListItem *arg1 = (wxListItem *) 0 ;
26563 wxString *arg2 = 0 ;
26564 void *argp1 = 0 ;
26565 int res1 = 0 ;
26566 bool temp2 = false ;
26567 PyObject * obj0 = 0 ;
26568 PyObject * obj1 = 0 ;
26569 char * kwnames[] = {
26570 (char *) "self",(char *) "text", NULL
26571 };
26572
26573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26575 if (!SWIG_IsOK(res1)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26577 }
26578 arg1 = reinterpret_cast< wxListItem * >(argp1);
26579 {
26580 arg2 = wxString_in_helper(obj1);
26581 if (arg2 == NULL) SWIG_fail;
26582 temp2 = true;
26583 }
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 (arg1)->SetText((wxString const &)*arg2);
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 resultobj = SWIG_Py_Void();
26591 {
26592 if (temp2)
26593 delete arg2;
26594 }
26595 return resultobj;
26596fail:
26597 {
26598 if (temp2)
26599 delete arg2;
26600 }
26601 return NULL;
26602}
26603
26604
26605SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26606 PyObject *resultobj = 0;
26607 wxListItem *arg1 = (wxListItem *) 0 ;
26608 int arg2 ;
26609 void *argp1 = 0 ;
26610 int res1 = 0 ;
26611 int val2 ;
26612 int ecode2 = 0 ;
26613 PyObject * obj0 = 0 ;
26614 PyObject * obj1 = 0 ;
26615 char * kwnames[] = {
26616 (char *) "self",(char *) "image", NULL
26617 };
26618
26619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26621 if (!SWIG_IsOK(res1)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26623 }
26624 arg1 = reinterpret_cast< wxListItem * >(argp1);
26625 ecode2 = SWIG_AsVal_int(obj1, &val2);
26626 if (!SWIG_IsOK(ecode2)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26628 }
26629 arg2 = static_cast< int >(val2);
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 (arg1)->SetImage(arg2);
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 resultobj = SWIG_Py_Void();
26637 return resultobj;
26638fail:
26639 return NULL;
26640}
26641
26642
26643SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj = 0;
26645 wxListItem *arg1 = (wxListItem *) 0 ;
26646 long arg2 ;
26647 void *argp1 = 0 ;
26648 int res1 = 0 ;
26649 long val2 ;
26650 int ecode2 = 0 ;
26651 PyObject * obj0 = 0 ;
26652 PyObject * obj1 = 0 ;
26653 char * kwnames[] = {
26654 (char *) "self",(char *) "data", NULL
26655 };
26656
26657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26659 if (!SWIG_IsOK(res1)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26661 }
26662 arg1 = reinterpret_cast< wxListItem * >(argp1);
26663 ecode2 = SWIG_AsVal_long(obj1, &val2);
26664 if (!SWIG_IsOK(ecode2)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26666 }
26667 arg2 = static_cast< long >(val2);
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 (arg1)->SetData(arg2);
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 resultobj = SWIG_Py_Void();
26675 return resultobj;
26676fail:
26677 return NULL;
26678}
26679
26680
26681SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj = 0;
26683 wxListItem *arg1 = (wxListItem *) 0 ;
26684 int arg2 ;
26685 void *argp1 = 0 ;
26686 int res1 = 0 ;
26687 int val2 ;
26688 int ecode2 = 0 ;
26689 PyObject * obj0 = 0 ;
26690 PyObject * obj1 = 0 ;
26691 char * kwnames[] = {
26692 (char *) "self",(char *) "width", NULL
26693 };
26694
26695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26697 if (!SWIG_IsOK(res1)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26699 }
26700 arg1 = reinterpret_cast< wxListItem * >(argp1);
26701 ecode2 = SWIG_AsVal_int(obj1, &val2);
26702 if (!SWIG_IsOK(ecode2)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26704 }
26705 arg2 = static_cast< int >(val2);
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 (arg1)->SetWidth(arg2);
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 resultobj = SWIG_Py_Void();
26713 return resultobj;
26714fail:
26715 return NULL;
26716}
26717
26718
26719SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26720 PyObject *resultobj = 0;
26721 wxListItem *arg1 = (wxListItem *) 0 ;
26722 wxListColumnFormat arg2 ;
26723 void *argp1 = 0 ;
26724 int res1 = 0 ;
26725 int val2 ;
26726 int ecode2 = 0 ;
26727 PyObject * obj0 = 0 ;
26728 PyObject * obj1 = 0 ;
26729 char * kwnames[] = {
26730 (char *) "self",(char *) "align", NULL
26731 };
26732
26733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26735 if (!SWIG_IsOK(res1)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26737 }
26738 arg1 = reinterpret_cast< wxListItem * >(argp1);
26739 ecode2 = SWIG_AsVal_int(obj1, &val2);
26740 if (!SWIG_IsOK(ecode2)) {
26741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26742 }
26743 arg2 = static_cast< wxListColumnFormat >(val2);
26744 {
26745 PyThreadState* __tstate = wxPyBeginAllowThreads();
26746 (arg1)->SetAlign(arg2);
26747 wxPyEndAllowThreads(__tstate);
26748 if (PyErr_Occurred()) SWIG_fail;
26749 }
26750 resultobj = SWIG_Py_Void();
26751 return resultobj;
26752fail:
26753 return NULL;
26754}
26755
26756
26757SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26758 PyObject *resultobj = 0;
26759 wxListItem *arg1 = (wxListItem *) 0 ;
26760 wxColour *arg2 = 0 ;
26761 void *argp1 = 0 ;
26762 int res1 = 0 ;
26763 wxColour temp2 ;
26764 PyObject * obj0 = 0 ;
26765 PyObject * obj1 = 0 ;
26766 char * kwnames[] = {
26767 (char *) "self",(char *) "colText", NULL
26768 };
26769
26770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26772 if (!SWIG_IsOK(res1)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26774 }
26775 arg1 = reinterpret_cast< wxListItem * >(argp1);
26776 {
26777 arg2 = &temp2;
26778 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26779 }
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 (arg1)->SetTextColour((wxColour const &)*arg2);
26783 wxPyEndAllowThreads(__tstate);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 resultobj = SWIG_Py_Void();
26787 return resultobj;
26788fail:
26789 return NULL;
26790}
26791
26792
26793SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26794 PyObject *resultobj = 0;
26795 wxListItem *arg1 = (wxListItem *) 0 ;
26796 wxColour *arg2 = 0 ;
26797 void *argp1 = 0 ;
26798 int res1 = 0 ;
26799 wxColour temp2 ;
26800 PyObject * obj0 = 0 ;
26801 PyObject * obj1 = 0 ;
26802 char * kwnames[] = {
26803 (char *) "self",(char *) "colBack", NULL
26804 };
26805
26806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26808 if (!SWIG_IsOK(res1)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26810 }
26811 arg1 = reinterpret_cast< wxListItem * >(argp1);
26812 {
26813 arg2 = &temp2;
26814 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26815 }
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 resultobj = SWIG_Py_Void();
26823 return resultobj;
26824fail:
26825 return NULL;
26826}
26827
26828
26829SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26830 PyObject *resultobj = 0;
26831 wxListItem *arg1 = (wxListItem *) 0 ;
26832 wxFont *arg2 = 0 ;
26833 void *argp1 = 0 ;
26834 int res1 = 0 ;
26835 void *argp2 = 0 ;
26836 int res2 = 0 ;
26837 PyObject * obj0 = 0 ;
26838 PyObject * obj1 = 0 ;
26839 char * kwnames[] = {
26840 (char *) "self",(char *) "font", NULL
26841 };
26842
26843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26845 if (!SWIG_IsOK(res1)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26847 }
26848 arg1 = reinterpret_cast< wxListItem * >(argp1);
26849 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26850 if (!SWIG_IsOK(res2)) {
26851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26852 }
26853 if (!argp2) {
26854 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26855 }
26856 arg2 = reinterpret_cast< wxFont * >(argp2);
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 (arg1)->SetFont((wxFont const &)*arg2);
26860 wxPyEndAllowThreads(__tstate);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
26863 resultobj = SWIG_Py_Void();
26864 return resultobj;
26865fail:
26866 return NULL;
d55e5bfc
RD
26867}
26868
26869
554f62e9
RD
26870SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26871 PyObject *resultobj = 0;
26872 wxListItem *arg1 = (wxListItem *) 0 ;
26873 long result;
26874 void *argp1 = 0 ;
26875 int res1 = 0 ;
26876 PyObject *swig_obj[1] ;
26877
26878 if (!args) SWIG_fail;
26879 swig_obj[0] = args;
26880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26881 if (!SWIG_IsOK(res1)) {
26882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26883 }
26884 arg1 = reinterpret_cast< wxListItem * >(argp1);
26885 {
26886 PyThreadState* __tstate = wxPyBeginAllowThreads();
26887 result = (long)(arg1)->GetMask();
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 resultobj = SWIG_From_long(static_cast< long >(result));
26892 return resultobj;
26893fail:
26894 return NULL;
d55e5bfc
RD
26895}
26896
26897
554f62e9
RD
26898SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26899 PyObject *resultobj = 0;
26900 wxListItem *arg1 = (wxListItem *) 0 ;
26901 long result;
26902 void *argp1 = 0 ;
26903 int res1 = 0 ;
26904 PyObject *swig_obj[1] ;
26905
26906 if (!args) SWIG_fail;
26907 swig_obj[0] = args;
26908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26909 if (!SWIG_IsOK(res1)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26911 }
26912 arg1 = reinterpret_cast< wxListItem * >(argp1);
26913 {
26914 PyThreadState* __tstate = wxPyBeginAllowThreads();
26915 result = (long)(arg1)->GetId();
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 resultobj = SWIG_From_long(static_cast< long >(result));
26920 return resultobj;
26921fail:
26922 return NULL;
d55e5bfc
RD
26923}
26924
26925
554f62e9
RD
26926SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26927 PyObject *resultobj = 0;
26928 wxListItem *arg1 = (wxListItem *) 0 ;
26929 int result;
26930 void *argp1 = 0 ;
26931 int res1 = 0 ;
26932 PyObject *swig_obj[1] ;
26933
26934 if (!args) SWIG_fail;
26935 swig_obj[0] = args;
26936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26937 if (!SWIG_IsOK(res1)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26939 }
26940 arg1 = reinterpret_cast< wxListItem * >(argp1);
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 result = (int)(arg1)->GetColumn();
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 resultobj = SWIG_From_int(static_cast< int >(result));
26948 return resultobj;
26949fail:
26950 return NULL;
d55e5bfc
RD
26951}
26952
26953
554f62e9
RD
26954SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26955 PyObject *resultobj = 0;
26956 wxListItem *arg1 = (wxListItem *) 0 ;
26957 long result;
26958 void *argp1 = 0 ;
26959 int res1 = 0 ;
26960 PyObject *swig_obj[1] ;
26961
26962 if (!args) SWIG_fail;
26963 swig_obj[0] = args;
26964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26965 if (!SWIG_IsOK(res1)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26967 }
26968 arg1 = reinterpret_cast< wxListItem * >(argp1);
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (long)(arg1)->GetState();
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 resultobj = SWIG_From_long(static_cast< long >(result));
26976 return resultobj;
26977fail:
26978 return NULL;
d55e5bfc
RD
26979}
26980
26981
554f62e9
RD
26982SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26983 PyObject *resultobj = 0;
26984 wxListItem *arg1 = (wxListItem *) 0 ;
26985 wxString *result = 0 ;
26986 void *argp1 = 0 ;
26987 int res1 = 0 ;
26988 PyObject *swig_obj[1] ;
26989
26990 if (!args) SWIG_fail;
26991 swig_obj[0] = args;
26992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26993 if (!SWIG_IsOK(res1)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26995 }
26996 arg1 = reinterpret_cast< wxListItem * >(argp1);
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26999 {
554f62e9
RD
27000 wxString const &_result_ref = (arg1)->GetText();
27001 result = (wxString *) &_result_ref;
27002 }
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 {
d55e5bfc 27007#if wxUSE_UNICODE
554f62e9 27008 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 27009#else
554f62e9 27010 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 27011#endif
554f62e9
RD
27012 }
27013 return resultobj;
27014fail:
27015 return NULL;
d55e5bfc
RD
27016}
27017
27018
554f62e9
RD
27019SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27020 PyObject *resultobj = 0;
27021 wxListItem *arg1 = (wxListItem *) 0 ;
27022 int result;
27023 void *argp1 = 0 ;
27024 int res1 = 0 ;
27025 PyObject *swig_obj[1] ;
27026
27027 if (!args) SWIG_fail;
27028 swig_obj[0] = args;
27029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27030 if (!SWIG_IsOK(res1)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27032 }
27033 arg1 = reinterpret_cast< wxListItem * >(argp1);
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 result = (int)(arg1)->GetImage();
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 resultobj = SWIG_From_int(static_cast< int >(result));
27041 return resultobj;
27042fail:
27043 return NULL;
d55e5bfc
RD
27044}
27045
27046
554f62e9
RD
27047SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27048 PyObject *resultobj = 0;
27049 wxListItem *arg1 = (wxListItem *) 0 ;
27050 long result;
27051 void *argp1 = 0 ;
27052 int res1 = 0 ;
27053 PyObject *swig_obj[1] ;
27054
27055 if (!args) SWIG_fail;
27056 swig_obj[0] = args;
27057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27058 if (!SWIG_IsOK(res1)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27060 }
27061 arg1 = reinterpret_cast< wxListItem * >(argp1);
27062 {
27063 PyThreadState* __tstate = wxPyBeginAllowThreads();
27064 result = (long)(arg1)->GetData();
27065 wxPyEndAllowThreads(__tstate);
27066 if (PyErr_Occurred()) SWIG_fail;
27067 }
27068 resultobj = SWIG_From_long(static_cast< long >(result));
27069 return resultobj;
27070fail:
27071 return NULL;
8fb0e70a
RD
27072}
27073
27074
554f62e9
RD
27075SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27076 PyObject *resultobj = 0;
27077 wxListItem *arg1 = (wxListItem *) 0 ;
27078 int result;
27079 void *argp1 = 0 ;
27080 int res1 = 0 ;
27081 PyObject *swig_obj[1] ;
27082
27083 if (!args) SWIG_fail;
27084 swig_obj[0] = args;
27085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27086 if (!SWIG_IsOK(res1)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27088 }
27089 arg1 = reinterpret_cast< wxListItem * >(argp1);
27090 {
27091 PyThreadState* __tstate = wxPyBeginAllowThreads();
27092 result = (int)(arg1)->GetWidth();
27093 wxPyEndAllowThreads(__tstate);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 }
27096 resultobj = SWIG_From_int(static_cast< int >(result));
27097 return resultobj;
27098fail:
27099 return NULL;
d55e5bfc
RD
27100}
27101
27102
554f62e9
RD
27103SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27104 PyObject *resultobj = 0;
27105 wxListItem *arg1 = (wxListItem *) 0 ;
27106 wxListColumnFormat result;
27107 void *argp1 = 0 ;
27108 int res1 = 0 ;
27109 PyObject *swig_obj[1] ;
27110
27111 if (!args) SWIG_fail;
27112 swig_obj[0] = args;
27113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27114 if (!SWIG_IsOK(res1)) {
27115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27116 }
27117 arg1 = reinterpret_cast< wxListItem * >(argp1);
27118 {
27119 PyThreadState* __tstate = wxPyBeginAllowThreads();
27120 result = (wxListColumnFormat)(arg1)->GetAlign();
27121 wxPyEndAllowThreads(__tstate);
27122 if (PyErr_Occurred()) SWIG_fail;
27123 }
27124 resultobj = SWIG_From_int(static_cast< int >(result));
27125 return resultobj;
27126fail:
27127 return NULL;
d55e5bfc
RD
27128}
27129
27130
554f62e9
RD
27131SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27132 PyObject *resultobj = 0;
27133 wxListItem *arg1 = (wxListItem *) 0 ;
27134 wxListItemAttr *result = 0 ;
27135 void *argp1 = 0 ;
27136 int res1 = 0 ;
27137 PyObject *swig_obj[1] ;
27138
27139 if (!args) SWIG_fail;
27140 swig_obj[0] = args;
27141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27142 if (!SWIG_IsOK(res1)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27144 }
27145 arg1 = reinterpret_cast< wxListItem * >(argp1);
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 result = (wxListItemAttr *)(arg1)->GetAttributes();
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27153 return resultobj;
27154fail:
27155 return NULL;
d55e5bfc
RD
27156}
27157
27158
554f62e9
RD
27159SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27160 PyObject *resultobj = 0;
27161 wxListItem *arg1 = (wxListItem *) 0 ;
27162 bool result;
27163 void *argp1 = 0 ;
27164 int res1 = 0 ;
27165 PyObject *swig_obj[1] ;
27166
27167 if (!args) SWIG_fail;
27168 swig_obj[0] = args;
27169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27170 if (!SWIG_IsOK(res1)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27172 }
27173 arg1 = reinterpret_cast< wxListItem * >(argp1);
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 result = (bool)(arg1)->HasAttributes();
27177 wxPyEndAllowThreads(__tstate);
27178 if (PyErr_Occurred()) SWIG_fail;
27179 }
27180 {
27181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27182 }
27183 return resultobj;
27184fail:
27185 return NULL;
d55e5bfc
RD
27186}
27187
27188
554f62e9
RD
27189SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27190 PyObject *resultobj = 0;
27191 wxListItem *arg1 = (wxListItem *) 0 ;
27192 wxColour result;
27193 void *argp1 = 0 ;
27194 int res1 = 0 ;
27195 PyObject *swig_obj[1] ;
27196
27197 if (!args) SWIG_fail;
27198 swig_obj[0] = args;
27199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27200 if (!SWIG_IsOK(res1)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27202 }
27203 arg1 = reinterpret_cast< wxListItem * >(argp1);
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = ((wxListItem const *)arg1)->GetTextColour();
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27211 return resultobj;
27212fail:
27213 return NULL;
d55e5bfc
RD
27214}
27215
27216
554f62e9
RD
27217SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27218 PyObject *resultobj = 0;
27219 wxListItem *arg1 = (wxListItem *) 0 ;
27220 wxColour result;
27221 void *argp1 = 0 ;
27222 int res1 = 0 ;
27223 PyObject *swig_obj[1] ;
27224
27225 if (!args) SWIG_fail;
27226 swig_obj[0] = args;
27227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27228 if (!SWIG_IsOK(res1)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27230 }
27231 arg1 = reinterpret_cast< wxListItem * >(argp1);
27232 {
27233 PyThreadState* __tstate = wxPyBeginAllowThreads();
27234 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27239 return resultobj;
27240fail:
27241 return NULL;
d55e5bfc
RD
27242}
27243
27244
554f62e9
RD
27245SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27246 PyObject *resultobj = 0;
27247 wxListItem *arg1 = (wxListItem *) 0 ;
27248 wxFont result;
27249 void *argp1 = 0 ;
27250 int res1 = 0 ;
27251 PyObject *swig_obj[1] ;
27252
27253 if (!args) SWIG_fail;
27254 swig_obj[0] = args;
27255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27256 if (!SWIG_IsOK(res1)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27258 }
27259 arg1 = reinterpret_cast< wxListItem * >(argp1);
27260 {
27261 PyThreadState* __tstate = wxPyBeginAllowThreads();
27262 result = ((wxListItem const *)arg1)->GetFont();
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27267 return resultobj;
27268fail:
27269 return NULL;
27270}
27271
27272
27273SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27274 PyObject *resultobj = 0;
27275 wxListItem *arg1 = (wxListItem *) 0 ;
27276 long arg2 ;
27277 void *argp1 = 0 ;
27278 int res1 = 0 ;
27279 long val2 ;
27280 int ecode2 = 0 ;
27281 PyObject *swig_obj[2] ;
27282
27283 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27285 if (!SWIG_IsOK(res1)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27287 }
27288 arg1 = reinterpret_cast< wxListItem * >(argp1);
27289 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27290 if (!SWIG_IsOK(ecode2)) {
27291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27292 }
27293 arg2 = static_cast< long >(val2);
27294 if (arg1) (arg1)->m_mask = arg2;
27295
27296 resultobj = SWIG_Py_Void();
27297 return resultobj;
27298fail:
27299 return NULL;
d55e5bfc
RD
27300}
27301
27302
554f62e9
RD
27303SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27304 PyObject *resultobj = 0;
27305 wxListItem *arg1 = (wxListItem *) 0 ;
27306 long result;
27307 void *argp1 = 0 ;
27308 int res1 = 0 ;
27309 PyObject *swig_obj[1] ;
27310
27311 if (!args) SWIG_fail;
27312 swig_obj[0] = args;
27313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27314 if (!SWIG_IsOK(res1)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27316 }
27317 arg1 = reinterpret_cast< wxListItem * >(argp1);
27318 result = (long) ((arg1)->m_mask);
27319 resultobj = SWIG_From_long(static_cast< long >(result));
27320 return resultobj;
27321fail:
27322 return NULL;
27323}
27324
27325
27326SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27327 PyObject *resultobj = 0;
27328 wxListItem *arg1 = (wxListItem *) 0 ;
27329 long arg2 ;
27330 void *argp1 = 0 ;
27331 int res1 = 0 ;
27332 long val2 ;
27333 int ecode2 = 0 ;
27334 PyObject *swig_obj[2] ;
27335
27336 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27338 if (!SWIG_IsOK(res1)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27340 }
27341 arg1 = reinterpret_cast< wxListItem * >(argp1);
27342 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27343 if (!SWIG_IsOK(ecode2)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27345 }
27346 arg2 = static_cast< long >(val2);
27347 if (arg1) (arg1)->m_itemId = arg2;
27348
27349 resultobj = SWIG_Py_Void();
27350 return resultobj;
27351fail:
27352 return NULL;
d55e5bfc
RD
27353}
27354
27355
554f62e9
RD
27356SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27357 PyObject *resultobj = 0;
27358 wxListItem *arg1 = (wxListItem *) 0 ;
27359 long result;
27360 void *argp1 = 0 ;
27361 int res1 = 0 ;
27362 PyObject *swig_obj[1] ;
27363
27364 if (!args) SWIG_fail;
27365 swig_obj[0] = args;
27366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27367 if (!SWIG_IsOK(res1)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27369 }
27370 arg1 = reinterpret_cast< wxListItem * >(argp1);
27371 result = (long) ((arg1)->m_itemId);
27372 resultobj = SWIG_From_long(static_cast< long >(result));
27373 return resultobj;
27374fail:
27375 return NULL;
27376}
27377
27378
27379SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27380 PyObject *resultobj = 0;
27381 wxListItem *arg1 = (wxListItem *) 0 ;
27382 int arg2 ;
27383 void *argp1 = 0 ;
27384 int res1 = 0 ;
27385 int val2 ;
27386 int ecode2 = 0 ;
27387 PyObject *swig_obj[2] ;
27388
27389 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
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_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27393 }
27394 arg1 = reinterpret_cast< wxListItem * >(argp1);
27395 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27396 if (!SWIG_IsOK(ecode2)) {
27397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27398 }
27399 arg2 = static_cast< int >(val2);
27400 if (arg1) (arg1)->m_col = arg2;
27401
27402 resultobj = SWIG_Py_Void();
27403 return resultobj;
27404fail:
27405 return NULL;
d55e5bfc
RD
27406}
27407
27408
554f62e9
RD
27409SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27410 PyObject *resultobj = 0;
27411 wxListItem *arg1 = (wxListItem *) 0 ;
27412 int result;
27413 void *argp1 = 0 ;
27414 int res1 = 0 ;
27415 PyObject *swig_obj[1] ;
27416
27417 if (!args) SWIG_fail;
27418 swig_obj[0] = args;
27419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27420 if (!SWIG_IsOK(res1)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27422 }
27423 arg1 = reinterpret_cast< wxListItem * >(argp1);
27424 result = (int) ((arg1)->m_col);
27425 resultobj = SWIG_From_int(static_cast< int >(result));
27426 return resultobj;
27427fail:
27428 return NULL;
27429}
27430
27431
27432SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27433 PyObject *resultobj = 0;
27434 wxListItem *arg1 = (wxListItem *) 0 ;
27435 long arg2 ;
27436 void *argp1 = 0 ;
27437 int res1 = 0 ;
27438 long val2 ;
27439 int ecode2 = 0 ;
27440 PyObject *swig_obj[2] ;
27441
27442 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27444 if (!SWIG_IsOK(res1)) {
27445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27446 }
27447 arg1 = reinterpret_cast< wxListItem * >(argp1);
27448 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27449 if (!SWIG_IsOK(ecode2)) {
27450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27451 }
27452 arg2 = static_cast< long >(val2);
27453 if (arg1) (arg1)->m_state = arg2;
27454
27455 resultobj = SWIG_Py_Void();
27456 return resultobj;
27457fail:
27458 return NULL;
d55e5bfc
RD
27459}
27460
27461
554f62e9
RD
27462SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27463 PyObject *resultobj = 0;
27464 wxListItem *arg1 = (wxListItem *) 0 ;
27465 long result;
27466 void *argp1 = 0 ;
27467 int res1 = 0 ;
27468 PyObject *swig_obj[1] ;
27469
27470 if (!args) SWIG_fail;
27471 swig_obj[0] = args;
27472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27473 if (!SWIG_IsOK(res1)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27475 }
27476 arg1 = reinterpret_cast< wxListItem * >(argp1);
27477 result = (long) ((arg1)->m_state);
27478 resultobj = SWIG_From_long(static_cast< long >(result));
27479 return resultobj;
27480fail:
27481 return NULL;
27482}
27483
27484
27485SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27486 PyObject *resultobj = 0;
27487 wxListItem *arg1 = (wxListItem *) 0 ;
27488 long arg2 ;
27489 void *argp1 = 0 ;
27490 int res1 = 0 ;
27491 long val2 ;
27492 int ecode2 = 0 ;
27493 PyObject *swig_obj[2] ;
27494
27495 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27497 if (!SWIG_IsOK(res1)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27499 }
27500 arg1 = reinterpret_cast< wxListItem * >(argp1);
27501 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27502 if (!SWIG_IsOK(ecode2)) {
27503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27504 }
27505 arg2 = static_cast< long >(val2);
27506 if (arg1) (arg1)->m_stateMask = arg2;
27507
27508 resultobj = SWIG_Py_Void();
27509 return resultobj;
27510fail:
27511 return NULL;
7e08d4ef
RD
27512}
27513
27514
554f62e9
RD
27515SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27516 PyObject *resultobj = 0;
27517 wxListItem *arg1 = (wxListItem *) 0 ;
27518 long result;
27519 void *argp1 = 0 ;
27520 int res1 = 0 ;
27521 PyObject *swig_obj[1] ;
27522
27523 if (!args) SWIG_fail;
27524 swig_obj[0] = args;
27525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27526 if (!SWIG_IsOK(res1)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27528 }
27529 arg1 = reinterpret_cast< wxListItem * >(argp1);
27530 result = (long) ((arg1)->m_stateMask);
27531 resultobj = SWIG_From_long(static_cast< long >(result));
27532 return resultobj;
27533fail:
27534 return NULL;
27535}
27536
27537
27538SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27539 PyObject *resultobj = 0;
27540 wxListItem *arg1 = (wxListItem *) 0 ;
27541 wxString *arg2 = (wxString *) 0 ;
27542 void *argp1 = 0 ;
27543 int res1 = 0 ;
27544 bool temp2 = false ;
27545 PyObject *swig_obj[2] ;
27546
27547 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27549 if (!SWIG_IsOK(res1)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27551 }
27552 arg1 = reinterpret_cast< wxListItem * >(argp1);
27553 {
27554 arg2 = wxString_in_helper(swig_obj[1]);
27555 if (arg2 == NULL) SWIG_fail;
27556 temp2 = true;
27557 }
27558 if (arg1) (arg1)->m_text = *arg2;
27559
27560 resultobj = SWIG_Py_Void();
27561 {
27562 if (temp2)
27563 delete arg2;
27564 }
27565 return resultobj;
27566fail:
27567 {
27568 if (temp2)
27569 delete arg2;
27570 }
27571 return NULL;
7e08d4ef
RD
27572}
27573
27574
554f62e9
RD
27575SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27576 PyObject *resultobj = 0;
27577 wxListItem *arg1 = (wxListItem *) 0 ;
27578 wxString *result = 0 ;
27579 void *argp1 = 0 ;
27580 int res1 = 0 ;
27581 PyObject *swig_obj[1] ;
27582
27583 if (!args) SWIG_fail;
27584 swig_obj[0] = args;
27585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27586 if (!SWIG_IsOK(res1)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27588 }
27589 arg1 = reinterpret_cast< wxListItem * >(argp1);
27590 result = (wxString *)& ((arg1)->m_text);
27591 {
27592#if wxUSE_UNICODE
27593 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27594#else
27595 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27596#endif
27597 }
27598 return resultobj;
27599fail:
27600 return NULL;
7e08d4ef
RD
27601}
27602
27603
554f62e9
RD
27604SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27605 PyObject *resultobj = 0;
27606 wxListItem *arg1 = (wxListItem *) 0 ;
27607 int arg2 ;
27608 void *argp1 = 0 ;
27609 int res1 = 0 ;
27610 int val2 ;
27611 int ecode2 = 0 ;
27612 PyObject *swig_obj[2] ;
27613
27614 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27616 if (!SWIG_IsOK(res1)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27618 }
27619 arg1 = reinterpret_cast< wxListItem * >(argp1);
27620 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27621 if (!SWIG_IsOK(ecode2)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27623 }
27624 arg2 = static_cast< int >(val2);
27625 if (arg1) (arg1)->m_image = arg2;
27626
27627 resultobj = SWIG_Py_Void();
27628 return resultobj;
27629fail:
27630 return NULL;
7e08d4ef
RD
27631}
27632
27633
554f62e9
RD
27634SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27635 PyObject *resultobj = 0;
27636 wxListItem *arg1 = (wxListItem *) 0 ;
27637 int result;
27638 void *argp1 = 0 ;
27639 int res1 = 0 ;
27640 PyObject *swig_obj[1] ;
27641
27642 if (!args) SWIG_fail;
27643 swig_obj[0] = args;
27644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27645 if (!SWIG_IsOK(res1)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27647 }
27648 arg1 = reinterpret_cast< wxListItem * >(argp1);
27649 result = (int) ((arg1)->m_image);
27650 resultobj = SWIG_From_int(static_cast< int >(result));
27651 return resultobj;
27652fail:
27653 return NULL;
27654}
27655
27656
27657SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27658 PyObject *resultobj = 0;
27659 wxListItem *arg1 = (wxListItem *) 0 ;
27660 long arg2 ;
27661 void *argp1 = 0 ;
27662 int res1 = 0 ;
27663 long val2 ;
27664 int ecode2 = 0 ;
27665 PyObject *swig_obj[2] ;
27666
27667 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27669 if (!SWIG_IsOK(res1)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27671 }
27672 arg1 = reinterpret_cast< wxListItem * >(argp1);
27673 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27674 if (!SWIG_IsOK(ecode2)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27676 }
27677 arg2 = static_cast< long >(val2);
27678 if (arg1) (arg1)->m_data = arg2;
27679
27680 resultobj = SWIG_Py_Void();
27681 return resultobj;
27682fail:
27683 return NULL;
7e08d4ef
RD
27684}
27685
27686
554f62e9
RD
27687SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27688 PyObject *resultobj = 0;
27689 wxListItem *arg1 = (wxListItem *) 0 ;
27690 long result;
27691 void *argp1 = 0 ;
27692 int res1 = 0 ;
27693 PyObject *swig_obj[1] ;
27694
27695 if (!args) SWIG_fail;
27696 swig_obj[0] = args;
27697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27698 if (!SWIG_IsOK(res1)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27700 }
27701 arg1 = reinterpret_cast< wxListItem * >(argp1);
27702 result = (long) ((arg1)->m_data);
27703 resultobj = SWIG_From_long(static_cast< long >(result));
27704 return resultobj;
27705fail:
27706 return NULL;
27707}
27708
27709
27710SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27711 PyObject *resultobj = 0;
27712 wxListItem *arg1 = (wxListItem *) 0 ;
27713 int arg2 ;
27714 void *argp1 = 0 ;
27715 int res1 = 0 ;
27716 int val2 ;
27717 int ecode2 = 0 ;
27718 PyObject *swig_obj[2] ;
27719
27720 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27722 if (!SWIG_IsOK(res1)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27724 }
27725 arg1 = reinterpret_cast< wxListItem * >(argp1);
27726 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27727 if (!SWIG_IsOK(ecode2)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27729 }
27730 arg2 = static_cast< int >(val2);
27731 if (arg1) (arg1)->m_format = arg2;
27732
27733 resultobj = SWIG_Py_Void();
27734 return resultobj;
27735fail:
27736 return NULL;
d55e5bfc
RD
27737}
27738
27739
554f62e9
RD
27740SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27741 PyObject *resultobj = 0;
27742 wxListItem *arg1 = (wxListItem *) 0 ;
27743 int result;
27744 void *argp1 = 0 ;
27745 int res1 = 0 ;
27746 PyObject *swig_obj[1] ;
27747
27748 if (!args) SWIG_fail;
27749 swig_obj[0] = args;
27750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27751 if (!SWIG_IsOK(res1)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27753 }
27754 arg1 = reinterpret_cast< wxListItem * >(argp1);
27755 result = (int) ((arg1)->m_format);
27756 resultobj = SWIG_From_int(static_cast< int >(result));
27757 return resultobj;
27758fail:
27759 return NULL;
27760}
27761
27762
27763SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27764 PyObject *resultobj = 0;
27765 wxListItem *arg1 = (wxListItem *) 0 ;
27766 int arg2 ;
27767 void *argp1 = 0 ;
27768 int res1 = 0 ;
27769 int val2 ;
27770 int ecode2 = 0 ;
27771 PyObject *swig_obj[2] ;
27772
27773 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
27774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27775 if (!SWIG_IsOK(res1)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27777 }
27778 arg1 = reinterpret_cast< wxListItem * >(argp1);
27779 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27780 if (!SWIG_IsOK(ecode2)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27782 }
27783 arg2 = static_cast< int >(val2);
27784 if (arg1) (arg1)->m_width = arg2;
27785
27786 resultobj = SWIG_Py_Void();
27787 return resultobj;
27788fail:
27789 return NULL;
d55e5bfc
RD
27790}
27791
27792
554f62e9
RD
27793SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27794 PyObject *resultobj = 0;
27795 wxListItem *arg1 = (wxListItem *) 0 ;
27796 int result;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 PyObject *swig_obj[1] ;
27800
27801 if (!args) SWIG_fail;
27802 swig_obj[0] = args;
27803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27804 if (!SWIG_IsOK(res1)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27806 }
27807 arg1 = reinterpret_cast< wxListItem * >(argp1);
27808 result = (int) ((arg1)->m_width);
27809 resultobj = SWIG_From_int(static_cast< int >(result));
27810 return resultobj;
27811fail:
27812 return NULL;
27813}
27814
27815
27816SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27817 PyObject *obj;
27818 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27819 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
27820 return SWIG_Py_Void();
27821}
27822
27823SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27824 return SWIG_Python_InitShadowInstance(args);
27825}
27826
27827SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27828 PyObject *resultobj = 0;
27829 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27830 int arg2 = (int) 0 ;
27831 wxListEvent *result = 0 ;
27832 int val1 ;
27833 int ecode1 = 0 ;
27834 int val2 ;
27835 int ecode2 = 0 ;
27836 PyObject * obj0 = 0 ;
27837 PyObject * obj1 = 0 ;
27838 char * kwnames[] = {
27839 (char *) "commandType",(char *) "id", NULL
27840 };
27841
27842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
27843 if (obj0) {
27844 ecode1 = SWIG_AsVal_int(obj0, &val1);
27845 if (!SWIG_IsOK(ecode1)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27847 }
27848 arg1 = static_cast< wxEventType >(val1);
27849 }
27850 if (obj1) {
27851 ecode2 = SWIG_AsVal_int(obj1, &val2);
27852 if (!SWIG_IsOK(ecode2)) {
27853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27854 }
27855 arg2 = static_cast< int >(val2);
27856 }
27857 {
27858 PyThreadState* __tstate = wxPyBeginAllowThreads();
27859 result = (wxListEvent *)new wxListEvent(arg1,arg2);
27860 wxPyEndAllowThreads(__tstate);
27861 if (PyErr_Occurred()) SWIG_fail;
27862 }
27863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
27864 return resultobj;
27865fail:
27866 return NULL;
27867}
27868
27869
27870SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27871 PyObject *resultobj = 0;
27872 wxListEvent *arg1 = (wxListEvent *) 0 ;
27873 int arg2 ;
27874 void *argp1 = 0 ;
27875 int res1 = 0 ;
27876 int val2 ;
27877 int ecode2 = 0 ;
27878 PyObject *swig_obj[2] ;
27879
27880 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
27881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27882 if (!SWIG_IsOK(res1)) {
27883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27884 }
27885 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27886 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27887 if (!SWIG_IsOK(ecode2)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27889 }
27890 arg2 = static_cast< int >(val2);
27891 if (arg1) (arg1)->m_code = arg2;
27892
27893 resultobj = SWIG_Py_Void();
27894 return resultobj;
27895fail:
27896 return NULL;
d55e5bfc
RD
27897}
27898
27899
554f62e9
RD
27900SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27901 PyObject *resultobj = 0;
27902 wxListEvent *arg1 = (wxListEvent *) 0 ;
27903 int result;
27904 void *argp1 = 0 ;
27905 int res1 = 0 ;
27906 PyObject *swig_obj[1] ;
27907
27908 if (!args) SWIG_fail;
27909 swig_obj[0] = args;
27910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27911 if (!SWIG_IsOK(res1)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27913 }
27914 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27915 result = (int) ((arg1)->m_code);
27916 resultobj = SWIG_From_int(static_cast< int >(result));
27917 return resultobj;
27918fail:
27919 return NULL;
27920}
27921
27922
27923SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27924 PyObject *resultobj = 0;
27925 wxListEvent *arg1 = (wxListEvent *) 0 ;
27926 long arg2 ;
27927 void *argp1 = 0 ;
27928 int res1 = 0 ;
27929 long val2 ;
27930 int ecode2 = 0 ;
27931 PyObject *swig_obj[2] ;
27932
27933 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
27934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27935 if (!SWIG_IsOK(res1)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27937 }
27938 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27939 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27940 if (!SWIG_IsOK(ecode2)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27942 }
27943 arg2 = static_cast< long >(val2);
27944 if (arg1) (arg1)->m_oldItemIndex = arg2;
27945
27946 resultobj = SWIG_Py_Void();
27947 return resultobj;
27948fail:
27949 return NULL;
d55e5bfc
RD
27950}
27951
27952
554f62e9
RD
27953SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27954 PyObject *resultobj = 0;
27955 wxListEvent *arg1 = (wxListEvent *) 0 ;
27956 long result;
27957 void *argp1 = 0 ;
27958 int res1 = 0 ;
27959 PyObject *swig_obj[1] ;
27960
27961 if (!args) SWIG_fail;
27962 swig_obj[0] = args;
27963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27964 if (!SWIG_IsOK(res1)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27966 }
27967 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27968 result = (long) ((arg1)->m_oldItemIndex);
27969 resultobj = SWIG_From_long(static_cast< long >(result));
27970 return resultobj;
27971fail:
27972 return NULL;
27973}
27974
27975
27976SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27977 PyObject *resultobj = 0;
27978 wxListEvent *arg1 = (wxListEvent *) 0 ;
27979 long arg2 ;
27980 void *argp1 = 0 ;
27981 int res1 = 0 ;
27982 long val2 ;
27983 int ecode2 = 0 ;
27984 PyObject *swig_obj[2] ;
27985
27986 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
27987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27988 if (!SWIG_IsOK(res1)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27990 }
27991 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27992 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27993 if (!SWIG_IsOK(ecode2)) {
27994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27995 }
27996 arg2 = static_cast< long >(val2);
27997 if (arg1) (arg1)->m_itemIndex = arg2;
27998
27999 resultobj = SWIG_Py_Void();
28000 return resultobj;
28001fail:
28002 return NULL;
d55e5bfc
RD
28003}
28004
28005
554f62e9
RD
28006SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28007 PyObject *resultobj = 0;
28008 wxListEvent *arg1 = (wxListEvent *) 0 ;
28009 long result;
28010 void *argp1 = 0 ;
28011 int res1 = 0 ;
28012 PyObject *swig_obj[1] ;
28013
28014 if (!args) SWIG_fail;
28015 swig_obj[0] = args;
28016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28017 if (!SWIG_IsOK(res1)) {
28018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28019 }
28020 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28021 result = (long) ((arg1)->m_itemIndex);
28022 resultobj = SWIG_From_long(static_cast< long >(result));
28023 return resultobj;
28024fail:
28025 return NULL;
28026}
28027
28028
28029SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28030 PyObject *resultobj = 0;
28031 wxListEvent *arg1 = (wxListEvent *) 0 ;
28032 int arg2 ;
28033 void *argp1 = 0 ;
28034 int res1 = 0 ;
28035 int val2 ;
28036 int ecode2 = 0 ;
28037 PyObject *swig_obj[2] ;
28038
28039 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28041 if (!SWIG_IsOK(res1)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28043 }
28044 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28045 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28046 if (!SWIG_IsOK(ecode2)) {
28047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28048 }
28049 arg2 = static_cast< int >(val2);
28050 if (arg1) (arg1)->m_col = arg2;
28051
28052 resultobj = SWIG_Py_Void();
28053 return resultobj;
28054fail:
28055 return NULL;
d55e5bfc
RD
28056}
28057
28058
554f62e9
RD
28059SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28060 PyObject *resultobj = 0;
28061 wxListEvent *arg1 = (wxListEvent *) 0 ;
28062 int result;
28063 void *argp1 = 0 ;
28064 int res1 = 0 ;
28065 PyObject *swig_obj[1] ;
28066
28067 if (!args) SWIG_fail;
28068 swig_obj[0] = args;
28069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28070 if (!SWIG_IsOK(res1)) {
28071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28072 }
28073 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28074 result = (int) ((arg1)->m_col);
28075 resultobj = SWIG_From_int(static_cast< int >(result));
28076 return resultobj;
28077fail:
28078 return NULL;
28079}
28080
28081
28082SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28083 PyObject *resultobj = 0;
28084 wxListEvent *arg1 = (wxListEvent *) 0 ;
28085 wxPoint *arg2 = (wxPoint *) 0 ;
28086 void *argp1 = 0 ;
28087 int res1 = 0 ;
28088 void *argp2 = 0 ;
28089 int res2 = 0 ;
28090 PyObject *swig_obj[2] ;
28091
28092 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28094 if (!SWIG_IsOK(res1)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28096 }
28097 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28098 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28099 if (!SWIG_IsOK(res2)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28101 }
28102 arg2 = reinterpret_cast< wxPoint * >(argp2);
28103 if (arg1) (arg1)->m_pointDrag = *arg2;
28104
28105 resultobj = SWIG_Py_Void();
28106 return resultobj;
28107fail:
28108 return NULL;
d55e5bfc
RD
28109}
28110
28111
554f62e9
RD
28112SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28113 PyObject *resultobj = 0;
28114 wxListEvent *arg1 = (wxListEvent *) 0 ;
28115 wxPoint *result = 0 ;
28116 void *argp1 = 0 ;
28117 int res1 = 0 ;
28118 PyObject *swig_obj[1] ;
28119
28120 if (!args) SWIG_fail;
28121 swig_obj[0] = args;
28122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28123 if (!SWIG_IsOK(res1)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28125 }
28126 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28127 result = (wxPoint *)& ((arg1)->m_pointDrag);
28128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28129 return resultobj;
28130fail:
28131 return NULL;
28132}
28133
28134
28135SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28136 PyObject *resultobj = 0;
28137 wxListEvent *arg1 = (wxListEvent *) 0 ;
28138 wxListItem *result = 0 ;
28139 void *argp1 = 0 ;
28140 int res1 = 0 ;
28141 PyObject *swig_obj[1] ;
28142
28143 if (!args) SWIG_fail;
28144 swig_obj[0] = args;
28145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28146 if (!SWIG_IsOK(res1)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28148 }
28149 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28150 result = (wxListItem *)& ((arg1)->m_item);
28151 {
28152 resultobj = wxPyMake_wxObject(result, (bool)0);
28153 }
28154 return resultobj;
28155fail:
28156 return NULL;
f20a2e1f
RD
28157}
28158
28159
554f62e9
RD
28160SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28161 PyObject *resultobj = 0;
28162 wxListEvent *arg1 = (wxListEvent *) 0 ;
28163 int result;
28164 void *argp1 = 0 ;
28165 int res1 = 0 ;
28166 PyObject *swig_obj[1] ;
28167
28168 if (!args) SWIG_fail;
28169 swig_obj[0] = args;
28170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28171 if (!SWIG_IsOK(res1)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28173 }
28174 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28175 {
28176 PyThreadState* __tstate = wxPyBeginAllowThreads();
28177 result = (int)(arg1)->GetKeyCode();
28178 wxPyEndAllowThreads(__tstate);
28179 if (PyErr_Occurred()) SWIG_fail;
28180 }
28181 resultobj = SWIG_From_int(static_cast< int >(result));
28182 return resultobj;
28183fail:
28184 return NULL;
d55e5bfc
RD
28185}
28186
28187
554f62e9
RD
28188SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28189 PyObject *resultobj = 0;
28190 wxListEvent *arg1 = (wxListEvent *) 0 ;
28191 long result;
28192 void *argp1 = 0 ;
28193 int res1 = 0 ;
28194 PyObject *swig_obj[1] ;
28195
28196 if (!args) SWIG_fail;
28197 swig_obj[0] = args;
28198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28199 if (!SWIG_IsOK(res1)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28201 }
28202 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28203 {
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
28205 result = (long)(arg1)->GetIndex();
28206 wxPyEndAllowThreads(__tstate);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 resultobj = SWIG_From_long(static_cast< long >(result));
28210 return resultobj;
28211fail:
28212 return NULL;
d55e5bfc
RD
28213}
28214
28215
554f62e9
RD
28216SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28217 PyObject *resultobj = 0;
28218 wxListEvent *arg1 = (wxListEvent *) 0 ;
28219 int result;
28220 void *argp1 = 0 ;
28221 int res1 = 0 ;
28222 PyObject *swig_obj[1] ;
28223
28224 if (!args) SWIG_fail;
28225 swig_obj[0] = args;
28226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28227 if (!SWIG_IsOK(res1)) {
28228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28229 }
28230 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28231 {
28232 PyThreadState* __tstate = wxPyBeginAllowThreads();
28233 result = (int)(arg1)->GetColumn();
28234 wxPyEndAllowThreads(__tstate);
28235 if (PyErr_Occurred()) SWIG_fail;
28236 }
28237 resultobj = SWIG_From_int(static_cast< int >(result));
28238 return resultobj;
28239fail:
28240 return NULL;
d55e5bfc
RD
28241}
28242
28243
554f62e9
RD
28244SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28245 PyObject *resultobj = 0;
28246 wxListEvent *arg1 = (wxListEvent *) 0 ;
28247 wxPoint result;
28248 void *argp1 = 0 ;
28249 int res1 = 0 ;
28250 PyObject *swig_obj[1] ;
28251
28252 if (!args) SWIG_fail;
28253 swig_obj[0] = args;
28254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28255 if (!SWIG_IsOK(res1)) {
28256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28257 }
28258 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28259 {
28260 PyThreadState* __tstate = wxPyBeginAllowThreads();
28261 result = (arg1)->GetPoint();
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28266 return resultobj;
28267fail:
28268 return NULL;
d55e5bfc
RD
28269}
28270
28271
554f62e9
RD
28272SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28273 PyObject *resultobj = 0;
28274 wxListEvent *arg1 = (wxListEvent *) 0 ;
28275 wxString *result = 0 ;
28276 void *argp1 = 0 ;
28277 int res1 = 0 ;
28278 PyObject *swig_obj[1] ;
28279
28280 if (!args) SWIG_fail;
28281 swig_obj[0] = args;
28282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28283 if (!SWIG_IsOK(res1)) {
28284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28285 }
28286 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28287 {
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28289 {
554f62e9
RD
28290 wxString const &_result_ref = (arg1)->GetLabel();
28291 result = (wxString *) &_result_ref;
d55e5bfc 28292 }
554f62e9
RD
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 {
28297#if wxUSE_UNICODE
28298 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28299#else
28300 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28301#endif
28302 }
28303 return resultobj;
28304fail:
28305 return NULL;
d55e5bfc
RD
28306}
28307
28308
554f62e9
RD
28309SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28310 PyObject *resultobj = 0;
28311 wxListEvent *arg1 = (wxListEvent *) 0 ;
28312 wxString *result = 0 ;
28313 void *argp1 = 0 ;
28314 int res1 = 0 ;
28315 PyObject *swig_obj[1] ;
28316
28317 if (!args) SWIG_fail;
28318 swig_obj[0] = args;
28319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28320 if (!SWIG_IsOK(res1)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 }
28323 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28326 {
554f62e9
RD
28327 wxString const &_result_ref = (arg1)->GetText();
28328 result = (wxString *) &_result_ref;
d55e5bfc 28329 }
554f62e9
RD
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 {
28334#if wxUSE_UNICODE
28335 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28336#else
28337 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28338#endif
28339 }
28340 return resultobj;
28341fail:
28342 return NULL;
d55e5bfc
RD
28343}
28344
28345
554f62e9
RD
28346SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28347 PyObject *resultobj = 0;
28348 wxListEvent *arg1 = (wxListEvent *) 0 ;
28349 int result;
28350 void *argp1 = 0 ;
28351 int res1 = 0 ;
28352 PyObject *swig_obj[1] ;
28353
28354 if (!args) SWIG_fail;
28355 swig_obj[0] = args;
28356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28357 if (!SWIG_IsOK(res1)) {
28358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28359 }
28360 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28361 {
28362 PyThreadState* __tstate = wxPyBeginAllowThreads();
28363 result = (int)(arg1)->GetImage();
28364 wxPyEndAllowThreads(__tstate);
28365 if (PyErr_Occurred()) SWIG_fail;
28366 }
28367 resultobj = SWIG_From_int(static_cast< int >(result));
28368 return resultobj;
28369fail:
28370 return NULL;
d55e5bfc
RD
28371}
28372
28373
554f62e9
RD
28374SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28375 PyObject *resultobj = 0;
28376 wxListEvent *arg1 = (wxListEvent *) 0 ;
28377 long result;
28378 void *argp1 = 0 ;
28379 int res1 = 0 ;
28380 PyObject *swig_obj[1] ;
28381
28382 if (!args) SWIG_fail;
28383 swig_obj[0] = args;
28384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28385 if (!SWIG_IsOK(res1)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28387 }
28388 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 result = (long)(arg1)->GetData();
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 resultobj = SWIG_From_long(static_cast< long >(result));
28396 return resultobj;
28397fail:
28398 return NULL;
d55e5bfc
RD
28399}
28400
28401
554f62e9
RD
28402SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28403 PyObject *resultobj = 0;
28404 wxListEvent *arg1 = (wxListEvent *) 0 ;
28405 long result;
28406 void *argp1 = 0 ;
28407 int res1 = 0 ;
28408 PyObject *swig_obj[1] ;
28409
28410 if (!args) SWIG_fail;
28411 swig_obj[0] = args;
28412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28413 if (!SWIG_IsOK(res1)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28415 }
28416 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 result = (long)(arg1)->GetMask();
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 resultobj = SWIG_From_long(static_cast< long >(result));
28424 return resultobj;
28425fail:
28426 return NULL;
d55e5bfc
RD
28427}
28428
28429
554f62e9
RD
28430SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28431 PyObject *resultobj = 0;
28432 wxListEvent *arg1 = (wxListEvent *) 0 ;
28433 wxListItem *result = 0 ;
28434 void *argp1 = 0 ;
28435 int res1 = 0 ;
28436 PyObject *swig_obj[1] ;
28437
28438 if (!args) SWIG_fail;
28439 swig_obj[0] = args;
28440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28441 if (!SWIG_IsOK(res1)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28443 }
28444 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28445 {
28446 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28447 {
554f62e9
RD
28448 wxListItem const &_result_ref = (arg1)->GetItem();
28449 result = (wxListItem *) &_result_ref;
093d3ff1 28450 }
554f62e9
RD
28451 wxPyEndAllowThreads(__tstate);
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
28454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28455 return resultobj;
28456fail:
28457 return NULL;
d55e5bfc
RD
28458}
28459
28460
554f62e9
RD
28461SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28462 PyObject *resultobj = 0;
28463 wxListEvent *arg1 = (wxListEvent *) 0 ;
28464 long result;
28465 void *argp1 = 0 ;
28466 int res1 = 0 ;
28467 PyObject *swig_obj[1] ;
28468
28469 if (!args) SWIG_fail;
28470 swig_obj[0] = args;
28471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28472 if (!SWIG_IsOK(res1)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28474 }
28475 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28476 {
28477 PyThreadState* __tstate = wxPyBeginAllowThreads();
28478 result = (long)(arg1)->GetCacheFrom();
28479 wxPyEndAllowThreads(__tstate);
28480 if (PyErr_Occurred()) SWIG_fail;
28481 }
28482 resultobj = SWIG_From_long(static_cast< long >(result));
28483 return resultobj;
28484fail:
28485 return NULL;
d55e5bfc
RD
28486}
28487
28488
554f62e9
RD
28489SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28490 PyObject *resultobj = 0;
28491 wxListEvent *arg1 = (wxListEvent *) 0 ;
28492 long result;
28493 void *argp1 = 0 ;
28494 int res1 = 0 ;
28495 PyObject *swig_obj[1] ;
28496
28497 if (!args) SWIG_fail;
28498 swig_obj[0] = args;
28499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28500 if (!SWIG_IsOK(res1)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28502 }
28503 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28504 {
28505 PyThreadState* __tstate = wxPyBeginAllowThreads();
28506 result = (long)(arg1)->GetCacheTo();
28507 wxPyEndAllowThreads(__tstate);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
28510 resultobj = SWIG_From_long(static_cast< long >(result));
28511 return resultobj;
28512fail:
28513 return NULL;
091fdbfa
RD
28514}
28515
28516
554f62e9
RD
28517SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28518 PyObject *resultobj = 0;
28519 wxListEvent *arg1 = (wxListEvent *) 0 ;
28520 bool result;
28521 void *argp1 = 0 ;
28522 int res1 = 0 ;
28523 PyObject *swig_obj[1] ;
28524
28525 if (!args) SWIG_fail;
28526 swig_obj[0] = args;
28527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28528 if (!SWIG_IsOK(res1)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28530 }
28531 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28535 wxPyEndAllowThreads(__tstate);
28536 if (PyErr_Occurred()) SWIG_fail;
28537 }
28538 {
28539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28540 }
28541 return resultobj;
28542fail:
28543 return NULL;
28544}
28545
28546
28547SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28548 PyObject *resultobj = 0;
28549 wxListEvent *arg1 = (wxListEvent *) 0 ;
28550 bool arg2 ;
28551 void *argp1 = 0 ;
28552 int res1 = 0 ;
28553 bool val2 ;
28554 int ecode2 = 0 ;
28555 PyObject * obj0 = 0 ;
28556 PyObject * obj1 = 0 ;
28557 char * kwnames[] = {
28558 (char *) "self",(char *) "editCancelled", NULL
28559 };
28560
28561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28563 if (!SWIG_IsOK(res1)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28565 }
28566 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28567 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28568 if (!SWIG_IsOK(ecode2)) {
28569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28570 }
28571 arg2 = static_cast< bool >(val2);
28572 {
28573 PyThreadState* __tstate = wxPyBeginAllowThreads();
28574 (arg1)->SetEditCanceled(arg2);
28575 wxPyEndAllowThreads(__tstate);
28576 if (PyErr_Occurred()) SWIG_fail;
28577 }
28578 resultobj = SWIG_Py_Void();
28579 return resultobj;
28580fail:
28581 return NULL;
28582}
28583
28584
28585SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28586 PyObject *obj;
28587 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28588 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28589 return SWIG_Py_Void();
28590}
28591
28592SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28593 return SWIG_Python_InitShadowInstance(args);
28594}
28595
28596SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28597 PyObject *resultobj = 0;
28598 wxWindow *arg1 = (wxWindow *) 0 ;
28599 int arg2 = (int) -1 ;
28600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28602 wxSize const &arg4_defvalue = wxDefaultSize ;
28603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28604 long arg5 = (long) wxLC_ICON ;
28605 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28606 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28607 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28608 wxString *arg7 = (wxString *) &arg7_defvalue ;
28609 wxPyListCtrl *result = 0 ;
28610 void *argp1 = 0 ;
28611 int res1 = 0 ;
28612 int val2 ;
28613 int ecode2 = 0 ;
28614 wxPoint temp3 ;
28615 wxSize temp4 ;
28616 long val5 ;
28617 int ecode5 = 0 ;
28618 void *argp6 = 0 ;
28619 int res6 = 0 ;
28620 bool temp7 = false ;
28621 PyObject * obj0 = 0 ;
28622 PyObject * obj1 = 0 ;
28623 PyObject * obj2 = 0 ;
28624 PyObject * obj3 = 0 ;
28625 PyObject * obj4 = 0 ;
28626 PyObject * obj5 = 0 ;
28627 PyObject * obj6 = 0 ;
28628 char * kwnames[] = {
28629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28630 };
28631
28632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28634 if (!SWIG_IsOK(res1)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28636 }
28637 arg1 = reinterpret_cast< wxWindow * >(argp1);
28638 if (obj1) {
28639 ecode2 = SWIG_AsVal_int(obj1, &val2);
28640 if (!SWIG_IsOK(ecode2)) {
28641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28642 }
28643 arg2 = static_cast< int >(val2);
28644 }
28645 if (obj2) {
f20a2e1f 28646 {
554f62e9
RD
28647 arg3 = &temp3;
28648 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 28649 }
554f62e9
RD
28650 }
28651 if (obj3) {
d55e5bfc 28652 {
554f62e9
RD
28653 arg4 = &temp4;
28654 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28655 }
554f62e9
RD
28656 }
28657 if (obj4) {
28658 ecode5 = SWIG_AsVal_long(obj4, &val5);
28659 if (!SWIG_IsOK(ecode5)) {
28660 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28661 }
28662 arg5 = static_cast< long >(val5);
28663 }
28664 if (obj5) {
28665 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28666 if (!SWIG_IsOK(res6)) {
28667 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28668 }
554f62e9
RD
28669 if (!argp6) {
28670 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28671 }
554f62e9
RD
28672 arg6 = reinterpret_cast< wxValidator * >(argp6);
28673 }
28674 if (obj6) {
d55e5bfc 28675 {
554f62e9
RD
28676 arg7 = wxString_in_helper(obj6);
28677 if (arg7 == NULL) SWIG_fail;
28678 temp7 = true;
d55e5bfc 28679 }
554f62e9
RD
28680 }
28681 {
28682 if (!wxPyCheckForApp()) SWIG_fail;
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28685 wxPyEndAllowThreads(__tstate);
28686 if (PyErr_Occurred()) SWIG_fail;
28687 }
28688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28689 {
28690 if (temp7)
28691 delete arg7;
28692 }
28693 return resultobj;
28694fail:
28695 {
28696 if (temp7)
28697 delete arg7;
28698 }
28699 return NULL;
d55e5bfc
RD
28700}
28701
28702
554f62e9
RD
28703SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28704 PyObject *resultobj = 0;
28705 wxPyListCtrl *result = 0 ;
28706
28707 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28708 {
28709 if (!wxPyCheckForApp()) SWIG_fail;
28710 PyThreadState* __tstate = wxPyBeginAllowThreads();
28711 result = (wxPyListCtrl *)new wxPyListCtrl();
28712 wxPyEndAllowThreads(__tstate);
28713 if (PyErr_Occurred()) SWIG_fail;
28714 }
28715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28716 return resultobj;
28717fail:
28718 return NULL;
28719}
28720
28721
28722SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28723 PyObject *resultobj = 0;
28724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28725 wxWindow *arg2 = (wxWindow *) 0 ;
28726 int arg3 = (int) -1 ;
28727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28729 wxSize const &arg5_defvalue = wxDefaultSize ;
28730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28731 long arg6 = (long) wxLC_ICON ;
28732 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28733 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28734 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28735 wxString *arg8 = (wxString *) &arg8_defvalue ;
28736 bool result;
28737 void *argp1 = 0 ;
28738 int res1 = 0 ;
28739 void *argp2 = 0 ;
28740 int res2 = 0 ;
28741 int val3 ;
28742 int ecode3 = 0 ;
28743 wxPoint temp4 ;
28744 wxSize temp5 ;
28745 long val6 ;
28746 int ecode6 = 0 ;
28747 void *argp7 = 0 ;
28748 int res7 = 0 ;
28749 bool temp8 = false ;
28750 PyObject * obj0 = 0 ;
28751 PyObject * obj1 = 0 ;
28752 PyObject * obj2 = 0 ;
28753 PyObject * obj3 = 0 ;
28754 PyObject * obj4 = 0 ;
28755 PyObject * obj5 = 0 ;
28756 PyObject * obj6 = 0 ;
28757 PyObject * obj7 = 0 ;
28758 char * kwnames[] = {
28759 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28760 };
28761
28762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28764 if (!SWIG_IsOK(res1)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28766 }
28767 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28769 if (!SWIG_IsOK(res2)) {
28770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28771 }
28772 arg2 = reinterpret_cast< wxWindow * >(argp2);
28773 if (obj2) {
28774 ecode3 = SWIG_AsVal_int(obj2, &val3);
28775 if (!SWIG_IsOK(ecode3)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28777 }
28778 arg3 = static_cast< int >(val3);
28779 }
28780 if (obj3) {
d55e5bfc 28781 {
554f62e9
RD
28782 arg4 = &temp4;
28783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28784 }
554f62e9
RD
28785 }
28786 if (obj4) {
d55e5bfc 28787 {
554f62e9
RD
28788 arg5 = &temp5;
28789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28790 }
554f62e9
RD
28791 }
28792 if (obj5) {
28793 ecode6 = SWIG_AsVal_long(obj5, &val6);
28794 if (!SWIG_IsOK(ecode6)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28796 }
28797 arg6 = static_cast< long >(val6);
28798 }
28799 if (obj6) {
28800 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
28801 if (!SWIG_IsOK(res7)) {
28802 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 28803 }
554f62e9
RD
28804 if (!argp7) {
28805 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 28806 }
554f62e9
RD
28807 arg7 = reinterpret_cast< wxValidator * >(argp7);
28808 }
28809 if (obj7) {
d55e5bfc 28810 {
554f62e9
RD
28811 arg8 = wxString_in_helper(obj7);
28812 if (arg8 == NULL) SWIG_fail;
28813 temp8 = true;
d55e5bfc 28814 }
554f62e9
RD
28815 }
28816 {
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 {
28823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28824 }
28825 {
28826 if (temp8)
28827 delete arg8;
28828 }
28829 return resultobj;
28830fail:
28831 {
28832 if (temp8)
28833 delete arg8;
28834 }
28835 return NULL;
28836}
28837
28838
28839SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28840 PyObject *resultobj = 0;
28841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28842 PyObject *arg2 = (PyObject *) 0 ;
28843 PyObject *arg3 = (PyObject *) 0 ;
28844 void *argp1 = 0 ;
28845 int res1 = 0 ;
28846 PyObject * obj0 = 0 ;
28847 PyObject * obj1 = 0 ;
28848 PyObject * obj2 = 0 ;
28849 char * kwnames[] = {
28850 (char *) "self",(char *) "self",(char *) "_class", NULL
28851 };
28852
28853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28855 if (!SWIG_IsOK(res1)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28857 }
28858 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28859 arg2 = obj1;
28860 arg3 = obj2;
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 (arg1)->_setCallbackInfo(arg2,arg3);
28864 wxPyEndAllowThreads(__tstate);
28865 if (PyErr_Occurred()) SWIG_fail;
28866 }
28867 resultobj = SWIG_Py_Void();
28868 return resultobj;
28869fail:
28870 return NULL;
28871}
28872
28873
28874SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28875 PyObject *resultobj = 0;
28876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28877 int arg2 ;
28878 wxListItem *result = 0 ;
28879 void *argp1 = 0 ;
28880 int res1 = 0 ;
28881 int val2 ;
28882 int ecode2 = 0 ;
28883 PyObject * obj0 = 0 ;
28884 PyObject * obj1 = 0 ;
28885 char * kwnames[] = {
28886 (char *) "self",(char *) "col", NULL
28887 };
28888
28889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
28890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28891 if (!SWIG_IsOK(res1)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28893 }
28894 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28895 ecode2 = SWIG_AsVal_int(obj1, &val2);
28896 if (!SWIG_IsOK(ecode2)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28898 }
28899 arg2 = static_cast< int >(val2);
28900 {
28901 PyThreadState* __tstate = wxPyBeginAllowThreads();
28902 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
28903 wxPyEndAllowThreads(__tstate);
28904 if (PyErr_Occurred()) SWIG_fail;
28905 }
28906 {
28907 resultobj = wxPyMake_wxObject(result, (bool)0);
28908 }
28909 return resultobj;
28910fail:
28911 return NULL;
28912}
28913
28914
28915SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28916 PyObject *resultobj = 0;
28917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28918 int arg2 ;
28919 wxListItem *arg3 = 0 ;
28920 bool result;
28921 void *argp1 = 0 ;
28922 int res1 = 0 ;
28923 int val2 ;
28924 int ecode2 = 0 ;
28925 void *argp3 = 0 ;
28926 int res3 = 0 ;
28927 PyObject * obj0 = 0 ;
28928 PyObject * obj1 = 0 ;
28929 PyObject * obj2 = 0 ;
28930 char * kwnames[] = {
28931 (char *) "self",(char *) "col",(char *) "item", NULL
28932 };
28933
28934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28936 if (!SWIG_IsOK(res1)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28938 }
28939 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28940 ecode2 = SWIG_AsVal_int(obj1, &val2);
28941 if (!SWIG_IsOK(ecode2)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28943 }
28944 arg2 = static_cast< int >(val2);
28945 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
28946 if (!SWIG_IsOK(res3)) {
28947 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28948 }
28949 if (!argp3) {
28950 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28951 }
28952 arg3 = reinterpret_cast< wxListItem * >(argp3);
28953 {
28954 PyThreadState* __tstate = wxPyBeginAllowThreads();
28955 result = (bool)(arg1)->SetColumn(arg2,*arg3);
28956 wxPyEndAllowThreads(__tstate);
28957 if (PyErr_Occurred()) SWIG_fail;
28958 }
28959 {
28960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28961 }
28962 return resultobj;
28963fail:
28964 return NULL;
28965}
28966
28967
28968SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28969 PyObject *resultobj = 0;
28970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28971 int arg2 ;
28972 int result;
28973 void *argp1 = 0 ;
28974 int res1 = 0 ;
28975 int val2 ;
28976 int ecode2 = 0 ;
28977 PyObject * obj0 = 0 ;
28978 PyObject * obj1 = 0 ;
28979 char * kwnames[] = {
28980 (char *) "self",(char *) "col", NULL
28981 };
28982
28983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
28984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28985 if (!SWIG_IsOK(res1)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28987 }
28988 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28989 ecode2 = SWIG_AsVal_int(obj1, &val2);
28990 if (!SWIG_IsOK(ecode2)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28992 }
28993 arg2 = static_cast< int >(val2);
28994 {
28995 PyThreadState* __tstate = wxPyBeginAllowThreads();
28996 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
28997 wxPyEndAllowThreads(__tstate);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 }
29000 resultobj = SWIG_From_int(static_cast< int >(result));
29001 return resultobj;
29002fail:
29003 return NULL;
29004}
29005
29006
29007SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29008 PyObject *resultobj = 0;
29009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29010 int arg2 ;
29011 int arg3 ;
29012 bool result;
29013 void *argp1 = 0 ;
29014 int res1 = 0 ;
29015 int val2 ;
29016 int ecode2 = 0 ;
29017 int val3 ;
29018 int ecode3 = 0 ;
29019 PyObject * obj0 = 0 ;
29020 PyObject * obj1 = 0 ;
29021 PyObject * obj2 = 0 ;
29022 char * kwnames[] = {
29023 (char *) "self",(char *) "col",(char *) "width", NULL
29024 };
29025
29026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29028 if (!SWIG_IsOK(res1)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29030 }
29031 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29032 ecode2 = SWIG_AsVal_int(obj1, &val2);
29033 if (!SWIG_IsOK(ecode2)) {
29034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29035 }
29036 arg2 = static_cast< int >(val2);
29037 ecode3 = SWIG_AsVal_int(obj2, &val3);
29038 if (!SWIG_IsOK(ecode3)) {
29039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29040 }
29041 arg3 = static_cast< int >(val3);
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29045 wxPyEndAllowThreads(__tstate);
29046 if (PyErr_Occurred()) SWIG_fail;
29047 }
29048 {
29049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29050 }
29051 return resultobj;
29052fail:
29053 return NULL;
d55e5bfc
RD
29054}
29055
29056
554f62e9
RD
29057SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29058 PyObject *resultobj = 0;
29059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29060 int result;
29061 void *argp1 = 0 ;
29062 int res1 = 0 ;
29063 PyObject *swig_obj[1] ;
29064
29065 if (!args) SWIG_fail;
29066 swig_obj[0] = args;
29067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29068 if (!SWIG_IsOK(res1)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29070 }
29071 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29075 wxPyEndAllowThreads(__tstate);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 }
29078 resultobj = SWIG_From_int(static_cast< int >(result));
29079 return resultobj;
29080fail:
29081 return NULL;
7e08d4ef
RD
29082}
29083
29084
554f62e9
RD
29085SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29086 PyObject *resultobj = 0;
29087 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29088 wxRect result;
29089 void *argp1 = 0 ;
29090 int res1 = 0 ;
29091 PyObject *swig_obj[1] ;
29092
29093 if (!args) SWIG_fail;
29094 swig_obj[0] = args;
29095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29096 if (!SWIG_IsOK(res1)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29098 }
29099 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29107 return resultobj;
29108fail:
29109 return NULL;
7e08d4ef
RD
29110}
29111
29112
554f62e9
RD
29113SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29114 PyObject *resultobj = 0;
29115 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29116 wxTextCtrl *result = 0 ;
29117 void *argp1 = 0 ;
29118 int res1 = 0 ;
29119 PyObject *swig_obj[1] ;
29120
29121 if (!args) SWIG_fail;
29122 swig_obj[0] = args;
29123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29124 if (!SWIG_IsOK(res1)) {
29125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29126 }
29127 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29131 wxPyEndAllowThreads(__tstate);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 }
29134 {
29135 resultobj = wxPyMake_wxObject(result, 0);
29136 }
29137 return resultobj;
29138fail:
29139 return NULL;
29140}
29141
29142
29143SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29144 PyObject *resultobj = 0;
29145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29146 long arg2 ;
29147 int arg3 = (int) 0 ;
29148 wxListItem *result = 0 ;
29149 void *argp1 = 0 ;
29150 int res1 = 0 ;
29151 long val2 ;
29152 int ecode2 = 0 ;
29153 int val3 ;
29154 int ecode3 = 0 ;
29155 PyObject * obj0 = 0 ;
29156 PyObject * obj1 = 0 ;
29157 PyObject * obj2 = 0 ;
29158 char * kwnames[] = {
29159 (char *) "self",(char *) "itemId",(char *) "col", NULL
29160 };
29161
29162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29164 if (!SWIG_IsOK(res1)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29166 }
29167 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29168 ecode2 = SWIG_AsVal_long(obj1, &val2);
29169 if (!SWIG_IsOK(ecode2)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29171 }
29172 arg2 = static_cast< long >(val2);
29173 if (obj2) {
29174 ecode3 = SWIG_AsVal_int(obj2, &val3);
29175 if (!SWIG_IsOK(ecode3)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29177 }
29178 arg3 = static_cast< int >(val3);
29179 }
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 {
29187 resultobj = wxPyMake_wxObject(result, (bool)0);
29188 }
29189 return resultobj;
29190fail:
29191 return NULL;
29192}
29193
29194
29195SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29196 PyObject *resultobj = 0;
29197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29198 wxListItem *arg2 = 0 ;
29199 bool result;
29200 void *argp1 = 0 ;
29201 int res1 = 0 ;
29202 void *argp2 = 0 ;
29203 int res2 = 0 ;
29204 PyObject * obj0 = 0 ;
29205 PyObject * obj1 = 0 ;
29206 char * kwnames[] = {
29207 (char *) "self",(char *) "info", NULL
29208 };
29209
29210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29212 if (!SWIG_IsOK(res1)) {
29213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29214 }
29215 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29216 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29217 if (!SWIG_IsOK(res2)) {
29218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29219 }
29220 if (!argp2) {
29221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29222 }
29223 arg2 = reinterpret_cast< wxListItem * >(argp2);
29224 {
29225 PyThreadState* __tstate = wxPyBeginAllowThreads();
29226 result = (bool)(arg1)->SetItem(*arg2);
29227 wxPyEndAllowThreads(__tstate);
29228 if (PyErr_Occurred()) SWIG_fail;
29229 }
29230 {
29231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29232 }
29233 return resultobj;
29234fail:
29235 return NULL;
29236}
29237
29238
29239SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29240 PyObject *resultobj = 0;
29241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29242 long arg2 ;
29243 int arg3 ;
29244 wxString *arg4 = 0 ;
29245 int arg5 = (int) -1 ;
29246 long result;
29247 void *argp1 = 0 ;
29248 int res1 = 0 ;
29249 long val2 ;
29250 int ecode2 = 0 ;
29251 int val3 ;
29252 int ecode3 = 0 ;
29253 bool temp4 = false ;
29254 int val5 ;
29255 int ecode5 = 0 ;
29256 PyObject * obj0 = 0 ;
29257 PyObject * obj1 = 0 ;
29258 PyObject * obj2 = 0 ;
29259 PyObject * obj3 = 0 ;
29260 PyObject * obj4 = 0 ;
29261 char * kwnames[] = {
29262 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29263 };
29264
29265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29267 if (!SWIG_IsOK(res1)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29269 }
29270 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29271 ecode2 = SWIG_AsVal_long(obj1, &val2);
29272 if (!SWIG_IsOK(ecode2)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29274 }
29275 arg2 = static_cast< long >(val2);
29276 ecode3 = SWIG_AsVal_int(obj2, &val3);
29277 if (!SWIG_IsOK(ecode3)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29279 }
29280 arg3 = static_cast< int >(val3);
29281 {
29282 arg4 = wxString_in_helper(obj3);
29283 if (arg4 == NULL) SWIG_fail;
29284 temp4 = true;
29285 }
29286 if (obj4) {
29287 ecode5 = SWIG_AsVal_int(obj4, &val5);
29288 if (!SWIG_IsOK(ecode5)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29290 }
29291 arg5 = static_cast< int >(val5);
29292 }
29293 {
29294 PyThreadState* __tstate = wxPyBeginAllowThreads();
29295 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29296 wxPyEndAllowThreads(__tstate);
29297 if (PyErr_Occurred()) SWIG_fail;
29298 }
29299 resultobj = SWIG_From_long(static_cast< long >(result));
29300 {
29301 if (temp4)
29302 delete arg4;
29303 }
29304 return resultobj;
29305fail:
29306 {
29307 if (temp4)
29308 delete arg4;
29309 }
29310 return NULL;
29311}
29312
29313
29314SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29315 PyObject *resultobj = 0;
29316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29317 long arg2 ;
29318 long arg3 ;
29319 int result;
29320 void *argp1 = 0 ;
29321 int res1 = 0 ;
29322 long val2 ;
29323 int ecode2 = 0 ;
29324 long val3 ;
29325 int ecode3 = 0 ;
29326 PyObject * obj0 = 0 ;
29327 PyObject * obj1 = 0 ;
29328 PyObject * obj2 = 0 ;
29329 char * kwnames[] = {
29330 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29331 };
29332
29333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29335 if (!SWIG_IsOK(res1)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29337 }
29338 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29339 ecode2 = SWIG_AsVal_long(obj1, &val2);
29340 if (!SWIG_IsOK(ecode2)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29342 }
29343 arg2 = static_cast< long >(val2);
29344 ecode3 = SWIG_AsVal_long(obj2, &val3);
29345 if (!SWIG_IsOK(ecode3)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29347 }
29348 arg3 = static_cast< long >(val3);
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29352 wxPyEndAllowThreads(__tstate);
29353 if (PyErr_Occurred()) SWIG_fail;
29354 }
29355 resultobj = SWIG_From_int(static_cast< int >(result));
29356 return resultobj;
29357fail:
29358 return NULL;
29359}
29360
29361
29362SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29363 PyObject *resultobj = 0;
29364 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29365 long arg2 ;
29366 long arg3 ;
29367 long arg4 ;
29368 bool result;
29369 void *argp1 = 0 ;
29370 int res1 = 0 ;
29371 long val2 ;
29372 int ecode2 = 0 ;
29373 long val3 ;
29374 int ecode3 = 0 ;
29375 long val4 ;
29376 int ecode4 = 0 ;
29377 PyObject * obj0 = 0 ;
29378 PyObject * obj1 = 0 ;
29379 PyObject * obj2 = 0 ;
29380 PyObject * obj3 = 0 ;
29381 char * kwnames[] = {
29382 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29383 };
29384
29385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29387 if (!SWIG_IsOK(res1)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29389 }
29390 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29391 ecode2 = SWIG_AsVal_long(obj1, &val2);
29392 if (!SWIG_IsOK(ecode2)) {
29393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29394 }
29395 arg2 = static_cast< long >(val2);
29396 ecode3 = SWIG_AsVal_long(obj2, &val3);
29397 if (!SWIG_IsOK(ecode3)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29399 }
29400 arg3 = static_cast< long >(val3);
29401 ecode4 = SWIG_AsVal_long(obj3, &val4);
29402 if (!SWIG_IsOK(ecode4)) {
29403 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29404 }
29405 arg4 = static_cast< long >(val4);
29406 {
29407 PyThreadState* __tstate = wxPyBeginAllowThreads();
29408 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29409 wxPyEndAllowThreads(__tstate);
29410 if (PyErr_Occurred()) SWIG_fail;
29411 }
29412 {
29413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29414 }
29415 return resultobj;
29416fail:
29417 return NULL;
29418}
29419
29420
29421SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29422 PyObject *resultobj = 0;
29423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29424 long arg2 ;
29425 int arg3 ;
29426 int arg4 = (int) -1 ;
29427 bool result;
29428 void *argp1 = 0 ;
29429 int res1 = 0 ;
29430 long val2 ;
29431 int ecode2 = 0 ;
29432 int val3 ;
29433 int ecode3 = 0 ;
29434 int val4 ;
29435 int ecode4 = 0 ;
29436 PyObject * obj0 = 0 ;
29437 PyObject * obj1 = 0 ;
29438 PyObject * obj2 = 0 ;
29439 PyObject * obj3 = 0 ;
29440 char * kwnames[] = {
29441 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29442 };
29443
29444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29446 if (!SWIG_IsOK(res1)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29448 }
29449 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29450 ecode2 = SWIG_AsVal_long(obj1, &val2);
29451 if (!SWIG_IsOK(ecode2)) {
29452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29453 }
29454 arg2 = static_cast< long >(val2);
29455 ecode3 = SWIG_AsVal_int(obj2, &val3);
29456 if (!SWIG_IsOK(ecode3)) {
29457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29458 }
29459 arg3 = static_cast< int >(val3);
29460 if (obj3) {
29461 ecode4 = SWIG_AsVal_int(obj3, &val4);
29462 if (!SWIG_IsOK(ecode4)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29464 }
29465 arg4 = static_cast< int >(val4);
29466 }
29467 {
29468 PyThreadState* __tstate = wxPyBeginAllowThreads();
29469 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29470 wxPyEndAllowThreads(__tstate);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 }
29473 {
29474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29475 }
29476 return resultobj;
29477fail:
29478 return NULL;
29479}
29480
29481
29482SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29483 PyObject *resultobj = 0;
29484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29485 long arg2 ;
29486 long arg3 ;
29487 int arg4 ;
29488 bool result;
29489 void *argp1 = 0 ;
29490 int res1 = 0 ;
29491 long val2 ;
29492 int ecode2 = 0 ;
29493 long val3 ;
29494 int ecode3 = 0 ;
29495 int val4 ;
29496 int ecode4 = 0 ;
29497 PyObject * obj0 = 0 ;
29498 PyObject * obj1 = 0 ;
29499 PyObject * obj2 = 0 ;
29500 PyObject * obj3 = 0 ;
29501 char * kwnames[] = {
29502 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29503 };
29504
29505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29507 if (!SWIG_IsOK(res1)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29509 }
29510 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29511 ecode2 = SWIG_AsVal_long(obj1, &val2);
29512 if (!SWIG_IsOK(ecode2)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29514 }
29515 arg2 = static_cast< long >(val2);
29516 ecode3 = SWIG_AsVal_long(obj2, &val3);
29517 if (!SWIG_IsOK(ecode3)) {
29518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29519 }
29520 arg3 = static_cast< long >(val3);
29521 ecode4 = SWIG_AsVal_int(obj3, &val4);
29522 if (!SWIG_IsOK(ecode4)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29524 }
29525 arg4 = static_cast< int >(val4);
29526 {
29527 PyThreadState* __tstate = wxPyBeginAllowThreads();
29528 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29529 wxPyEndAllowThreads(__tstate);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 }
29532 {
29533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29534 }
29535 return resultobj;
29536fail:
29537 return NULL;
29538}
29539
29540
29541SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj = 0;
29543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29544 long arg2 ;
29545 wxString result;
29546 void *argp1 = 0 ;
29547 int res1 = 0 ;
29548 long val2 ;
29549 int ecode2 = 0 ;
29550 PyObject * obj0 = 0 ;
29551 PyObject * obj1 = 0 ;
29552 char * kwnames[] = {
29553 (char *) "self",(char *) "item", NULL
29554 };
29555
29556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29558 if (!SWIG_IsOK(res1)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29560 }
29561 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29562 ecode2 = SWIG_AsVal_long(obj1, &val2);
29563 if (!SWIG_IsOK(ecode2)) {
29564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29565 }
29566 arg2 = static_cast< long >(val2);
29567 {
29568 PyThreadState* __tstate = wxPyBeginAllowThreads();
29569 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 {
29574#if wxUSE_UNICODE
29575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29576#else
29577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29578#endif
29579 }
29580 return resultobj;
29581fail:
29582 return NULL;
29583}
29584
29585
29586SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29587 PyObject *resultobj = 0;
29588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29589 long arg2 ;
29590 wxString *arg3 = 0 ;
29591 void *argp1 = 0 ;
29592 int res1 = 0 ;
29593 long val2 ;
29594 int ecode2 = 0 ;
29595 bool temp3 = false ;
29596 PyObject * obj0 = 0 ;
29597 PyObject * obj1 = 0 ;
29598 PyObject * obj2 = 0 ;
29599 char * kwnames[] = {
29600 (char *) "self",(char *) "item",(char *) "str", NULL
29601 };
29602
29603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29605 if (!SWIG_IsOK(res1)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29607 }
29608 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29609 ecode2 = SWIG_AsVal_long(obj1, &val2);
29610 if (!SWIG_IsOK(ecode2)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29612 }
29613 arg2 = static_cast< long >(val2);
29614 {
29615 arg3 = wxString_in_helper(obj2);
29616 if (arg3 == NULL) SWIG_fail;
29617 temp3 = true;
29618 }
29619 {
29620 PyThreadState* __tstate = wxPyBeginAllowThreads();
29621 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29622 wxPyEndAllowThreads(__tstate);
29623 if (PyErr_Occurred()) SWIG_fail;
29624 }
29625 resultobj = SWIG_Py_Void();
29626 {
29627 if (temp3)
29628 delete arg3;
29629 }
29630 return resultobj;
29631fail:
29632 {
29633 if (temp3)
29634 delete arg3;
29635 }
29636 return NULL;
29637}
29638
29639
29640SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29641 PyObject *resultobj = 0;
29642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29643 long arg2 ;
29644 long result;
29645 void *argp1 = 0 ;
29646 int res1 = 0 ;
29647 long val2 ;
29648 int ecode2 = 0 ;
29649 PyObject * obj0 = 0 ;
29650 PyObject * obj1 = 0 ;
29651 char * kwnames[] = {
29652 (char *) "self",(char *) "item", NULL
29653 };
29654
29655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29657 if (!SWIG_IsOK(res1)) {
29658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29659 }
29660 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29661 ecode2 = SWIG_AsVal_long(obj1, &val2);
29662 if (!SWIG_IsOK(ecode2)) {
29663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29664 }
29665 arg2 = static_cast< long >(val2);
29666 {
29667 PyThreadState* __tstate = wxPyBeginAllowThreads();
29668 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 resultobj = SWIG_From_long(static_cast< long >(result));
29673 return resultobj;
29674fail:
29675 return NULL;
29676}
29677
29678
29679SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29680 PyObject *resultobj = 0;
29681 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29682 long arg2 ;
29683 long arg3 ;
29684 bool result;
29685 void *argp1 = 0 ;
29686 int res1 = 0 ;
29687 long val2 ;
29688 int ecode2 = 0 ;
29689 long val3 ;
29690 int ecode3 = 0 ;
29691 PyObject * obj0 = 0 ;
29692 PyObject * obj1 = 0 ;
29693 PyObject * obj2 = 0 ;
29694 char * kwnames[] = {
29695 (char *) "self",(char *) "item",(char *) "data", NULL
29696 };
29697
29698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29700 if (!SWIG_IsOK(res1)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29702 }
29703 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29704 ecode2 = SWIG_AsVal_long(obj1, &val2);
29705 if (!SWIG_IsOK(ecode2)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29707 }
29708 arg2 = static_cast< long >(val2);
29709 ecode3 = SWIG_AsVal_long(obj2, &val3);
29710 if (!SWIG_IsOK(ecode3)) {
29711 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29712 }
29713 arg3 = static_cast< long >(val3);
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 result = (bool)(arg1)->SetItemData(arg2,arg3);
29717 wxPyEndAllowThreads(__tstate);
29718 if (PyErr_Occurred()) SWIG_fail;
29719 }
29720 {
29721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29722 }
29723 return resultobj;
29724fail:
29725 return NULL;
29726}
29727
29728
29729SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29730 PyObject *resultobj = 0;
29731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29732 long arg2 ;
29733 wxPoint result;
29734 void *argp1 = 0 ;
29735 int res1 = 0 ;
29736 long val2 ;
29737 int ecode2 = 0 ;
29738 PyObject * obj0 = 0 ;
29739 PyObject * obj1 = 0 ;
29740 char * kwnames[] = {
29741 (char *) "self",(char *) "item", NULL
29742 };
29743
29744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29746 if (!SWIG_IsOK(res1)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29748 }
29749 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29750 ecode2 = SWIG_AsVal_long(obj1, &val2);
29751 if (!SWIG_IsOK(ecode2)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29753 }
29754 arg2 = static_cast< long >(val2);
29755 {
29756 PyThreadState* __tstate = wxPyBeginAllowThreads();
29757 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29758 wxPyEndAllowThreads(__tstate);
29759 if (PyErr_Occurred()) SWIG_fail;
29760 }
29761 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29762 return resultobj;
29763fail:
29764 return NULL;
29765}
29766
29767
29768SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29769 PyObject *resultobj = 0;
29770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29771 long arg2 ;
29772 int arg3 = (int) wxLIST_RECT_BOUNDS ;
29773 wxRect result;
29774 void *argp1 = 0 ;
29775 int res1 = 0 ;
29776 long val2 ;
29777 int ecode2 = 0 ;
29778 int val3 ;
29779 int ecode3 = 0 ;
29780 PyObject * obj0 = 0 ;
29781 PyObject * obj1 = 0 ;
29782 PyObject * obj2 = 0 ;
29783 char * kwnames[] = {
29784 (char *) "self",(char *) "item",(char *) "code", NULL
29785 };
29786
29787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29789 if (!SWIG_IsOK(res1)) {
29790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29791 }
29792 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29793 ecode2 = SWIG_AsVal_long(obj1, &val2);
29794 if (!SWIG_IsOK(ecode2)) {
29795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29796 }
29797 arg2 = static_cast< long >(val2);
29798 if (obj2) {
29799 ecode3 = SWIG_AsVal_int(obj2, &val3);
29800 if (!SWIG_IsOK(ecode3)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29802 }
29803 arg3 = static_cast< int >(val3);
29804 }
29805 {
29806 PyThreadState* __tstate = wxPyBeginAllowThreads();
29807 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
29808 wxPyEndAllowThreads(__tstate);
29809 if (PyErr_Occurred()) SWIG_fail;
29810 }
29811 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29812 return resultobj;
29813fail:
29814 return NULL;
29815}
29816
29817
29818SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29819 PyObject *resultobj = 0;
29820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29821 long arg2 ;
29822 wxPoint *arg3 = 0 ;
29823 bool result;
29824 void *argp1 = 0 ;
29825 int res1 = 0 ;
29826 long val2 ;
29827 int ecode2 = 0 ;
29828 wxPoint temp3 ;
29829 PyObject * obj0 = 0 ;
29830 PyObject * obj1 = 0 ;
29831 PyObject * obj2 = 0 ;
29832 char * kwnames[] = {
29833 (char *) "self",(char *) "item",(char *) "pos", NULL
29834 };
29835
29836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29838 if (!SWIG_IsOK(res1)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29840 }
29841 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29842 ecode2 = SWIG_AsVal_long(obj1, &val2);
29843 if (!SWIG_IsOK(ecode2)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29845 }
29846 arg2 = static_cast< long >(val2);
29847 {
29848 arg3 = &temp3;
29849 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29850 }
29851 {
29852 PyThreadState* __tstate = wxPyBeginAllowThreads();
29853 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 {
29858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29859 }
29860 return resultobj;
29861fail:
29862 return NULL;
7e08d4ef
RD
29863}
29864
29865
554f62e9
RD
29866SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29867 PyObject *resultobj = 0;
29868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29869 int result;
29870 void *argp1 = 0 ;
29871 int res1 = 0 ;
29872 PyObject *swig_obj[1] ;
29873
29874 if (!args) SWIG_fail;
29875 swig_obj[0] = args;
29876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29877 if (!SWIG_IsOK(res1)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29879 }
29880 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29881 {
29882 PyThreadState* __tstate = wxPyBeginAllowThreads();
29883 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
29884 wxPyEndAllowThreads(__tstate);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 resultobj = SWIG_From_int(static_cast< int >(result));
29888 return resultobj;
29889fail:
29890 return NULL;
7e08d4ef
RD
29891}
29892
29893
554f62e9
RD
29894SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29895 PyObject *resultobj = 0;
29896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29897 int result;
29898 void *argp1 = 0 ;
29899 int res1 = 0 ;
29900 PyObject *swig_obj[1] ;
29901
29902 if (!args) SWIG_fail;
29903 swig_obj[0] = args;
29904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29905 if (!SWIG_IsOK(res1)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29907 }
29908 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29909 {
29910 PyThreadState* __tstate = wxPyBeginAllowThreads();
29911 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 resultobj = SWIG_From_int(static_cast< int >(result));
29916 return resultobj;
29917fail:
29918 return NULL;
7e08d4ef
RD
29919}
29920
29921
554f62e9
RD
29922SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29923 PyObject *resultobj = 0;
29924 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29925 wxSize result;
29926 void *argp1 = 0 ;
29927 int res1 = 0 ;
29928 PyObject *swig_obj[1] ;
29929
29930 if (!args) SWIG_fail;
29931 swig_obj[0] = args;
29932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29933 if (!SWIG_IsOK(res1)) {
29934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29935 }
29936 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29937 {
29938 PyThreadState* __tstate = wxPyBeginAllowThreads();
29939 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
29940 wxPyEndAllowThreads(__tstate);
29941 if (PyErr_Occurred()) SWIG_fail;
29942 }
29943 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
29944 return resultobj;
29945fail:
29946 return NULL;
7e08d4ef
RD
29947}
29948
29949
554f62e9
RD
29950SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29951 PyObject *resultobj = 0;
29952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29953 int result;
29954 void *argp1 = 0 ;
29955 int res1 = 0 ;
29956 PyObject *swig_obj[1] ;
29957
29958 if (!args) SWIG_fail;
29959 swig_obj[0] = args;
29960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29961 if (!SWIG_IsOK(res1)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29963 }
29964 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
29968 wxPyEndAllowThreads(__tstate);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 }
29971 resultobj = SWIG_From_int(static_cast< int >(result));
29972 return resultobj;
29973fail:
29974 return NULL;
7e08d4ef
RD
29975}
29976
29977
554f62e9
RD
29978SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29979 PyObject *resultobj = 0;
29980 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29981 wxColour result;
29982 void *argp1 = 0 ;
29983 int res1 = 0 ;
29984 PyObject *swig_obj[1] ;
29985
29986 if (!args) SWIG_fail;
29987 swig_obj[0] = args;
29988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29989 if (!SWIG_IsOK(res1)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29991 }
29992 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30000 return resultobj;
30001fail:
30002 return NULL;
30003}
30004
30005
30006SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30007 PyObject *resultobj = 0;
30008 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30009 wxColour *arg2 = 0 ;
30010 void *argp1 = 0 ;
30011 int res1 = 0 ;
30012 wxColour temp2 ;
30013 PyObject * obj0 = 0 ;
30014 PyObject * obj1 = 0 ;
30015 char * kwnames[] = {
30016 (char *) "self",(char *) "col", NULL
30017 };
30018
30019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30021 if (!SWIG_IsOK(res1)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30023 }
30024 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30025 {
30026 arg2 = &temp2;
30027 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30028 }
30029 {
30030 PyThreadState* __tstate = wxPyBeginAllowThreads();
30031 (arg1)->SetTextColour((wxColour const &)*arg2);
30032 wxPyEndAllowThreads(__tstate);
30033 if (PyErr_Occurred()) SWIG_fail;
30034 }
30035 resultobj = SWIG_Py_Void();
30036 return resultobj;
30037fail:
30038 return NULL;
7e08d4ef
RD
30039}
30040
30041
554f62e9
RD
30042SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30043 PyObject *resultobj = 0;
30044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30045 long result;
30046 void *argp1 = 0 ;
30047 int res1 = 0 ;
30048 PyObject *swig_obj[1] ;
30049
30050 if (!args) SWIG_fail;
30051 swig_obj[0] = args;
30052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30053 if (!SWIG_IsOK(res1)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30055 }
30056 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30057 {
30058 PyThreadState* __tstate = wxPyBeginAllowThreads();
30059 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30060 wxPyEndAllowThreads(__tstate);
30061 if (PyErr_Occurred()) SWIG_fail;
30062 }
30063 resultobj = SWIG_From_long(static_cast< long >(result));
30064 return resultobj;
30065fail:
30066 return NULL;
30067}
30068
30069
30070SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30071 PyObject *resultobj = 0;
30072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30073 long arg2 ;
30074 bool arg3 = (bool) true ;
30075 void *argp1 = 0 ;
30076 int res1 = 0 ;
30077 long val2 ;
30078 int ecode2 = 0 ;
30079 bool val3 ;
30080 int ecode3 = 0 ;
30081 PyObject * obj0 = 0 ;
30082 PyObject * obj1 = 0 ;
30083 PyObject * obj2 = 0 ;
30084 char * kwnames[] = {
30085 (char *) "self",(char *) "style",(char *) "add", NULL
30086 };
30087
30088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30090 if (!SWIG_IsOK(res1)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30092 }
30093 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30094 ecode2 = SWIG_AsVal_long(obj1, &val2);
30095 if (!SWIG_IsOK(ecode2)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30097 }
30098 arg2 = static_cast< long >(val2);
30099 if (obj2) {
30100 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30101 if (!SWIG_IsOK(ecode3)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30103 }
30104 arg3 = static_cast< bool >(val3);
30105 }
30106 {
30107 PyThreadState* __tstate = wxPyBeginAllowThreads();
30108 (arg1)->SetSingleStyle(arg2,arg3);
30109 wxPyEndAllowThreads(__tstate);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 }
30112 resultobj = SWIG_Py_Void();
30113 return resultobj;
30114fail:
30115 return NULL;
30116}
30117
30118
30119SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30120 PyObject *resultobj = 0;
30121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30122 long arg2 ;
30123 int arg3 = (int) wxLIST_NEXT_ALL ;
30124 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30125 long result;
30126 void *argp1 = 0 ;
30127 int res1 = 0 ;
30128 long val2 ;
30129 int ecode2 = 0 ;
30130 int val3 ;
30131 int ecode3 = 0 ;
30132 int val4 ;
30133 int ecode4 = 0 ;
30134 PyObject * obj0 = 0 ;
30135 PyObject * obj1 = 0 ;
30136 PyObject * obj2 = 0 ;
30137 PyObject * obj3 = 0 ;
30138 char * kwnames[] = {
30139 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30140 };
30141
30142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30144 if (!SWIG_IsOK(res1)) {
30145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30146 }
30147 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30148 ecode2 = SWIG_AsVal_long(obj1, &val2);
30149 if (!SWIG_IsOK(ecode2)) {
30150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30151 }
30152 arg2 = static_cast< long >(val2);
30153 if (obj2) {
30154 ecode3 = SWIG_AsVal_int(obj2, &val3);
30155 if (!SWIG_IsOK(ecode3)) {
30156 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30157 }
30158 arg3 = static_cast< int >(val3);
30159 }
30160 if (obj3) {
30161 ecode4 = SWIG_AsVal_int(obj3, &val4);
30162 if (!SWIG_IsOK(ecode4)) {
30163 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30164 }
30165 arg4 = static_cast< int >(val4);
30166 }
30167 {
30168 PyThreadState* __tstate = wxPyBeginAllowThreads();
30169 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
30173 resultobj = SWIG_From_long(static_cast< long >(result));
30174 return resultobj;
30175fail:
30176 return NULL;
30177}
30178
30179
30180SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30181 PyObject *resultobj = 0;
30182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30183 int arg2 ;
30184 wxImageList *result = 0 ;
30185 void *argp1 = 0 ;
30186 int res1 = 0 ;
30187 int val2 ;
30188 int ecode2 = 0 ;
30189 PyObject * obj0 = 0 ;
30190 PyObject * obj1 = 0 ;
30191 char * kwnames[] = {
30192 (char *) "self",(char *) "which", NULL
30193 };
30194
30195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30197 if (!SWIG_IsOK(res1)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30199 }
30200 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30201 ecode2 = SWIG_AsVal_int(obj1, &val2);
30202 if (!SWIG_IsOK(ecode2)) {
30203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30204 }
30205 arg2 = static_cast< int >(val2);
30206 {
30207 PyThreadState* __tstate = wxPyBeginAllowThreads();
30208 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30209 wxPyEndAllowThreads(__tstate);
30210 if (PyErr_Occurred()) SWIG_fail;
30211 }
30212 {
30213 resultobj = wxPyMake_wxObject(result, (bool)0);
30214 }
30215 return resultobj;
30216fail:
30217 return NULL;
30218}
30219
30220
30221SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30222 PyObject *resultobj = 0;
30223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30224 wxImageList *arg2 = (wxImageList *) 0 ;
30225 int arg3 ;
30226 void *argp1 = 0 ;
30227 int res1 = 0 ;
30228 void *argp2 = 0 ;
30229 int res2 = 0 ;
30230 int val3 ;
30231 int ecode3 = 0 ;
30232 PyObject * obj0 = 0 ;
30233 PyObject * obj1 = 0 ;
30234 PyObject * obj2 = 0 ;
30235 char * kwnames[] = {
30236 (char *) "self",(char *) "imageList",(char *) "which", NULL
30237 };
30238
30239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30241 if (!SWIG_IsOK(res1)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30243 }
30244 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30246 if (!SWIG_IsOK(res2)) {
30247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30248 }
30249 arg2 = reinterpret_cast< wxImageList * >(argp2);
30250 ecode3 = SWIG_AsVal_int(obj2, &val3);
30251 if (!SWIG_IsOK(ecode3)) {
30252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30253 }
30254 arg3 = static_cast< int >(val3);
30255 {
30256 PyThreadState* __tstate = wxPyBeginAllowThreads();
30257 (arg1)->SetImageList(arg2,arg3);
30258 wxPyEndAllowThreads(__tstate);
30259 if (PyErr_Occurred()) SWIG_fail;
30260 }
30261 resultobj = SWIG_Py_Void();
30262 return resultobj;
30263fail:
30264 return NULL;
30265}
30266
30267
30268SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30269 PyObject *resultobj = 0;
30270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30271 wxImageList *arg2 = (wxImageList *) 0 ;
30272 int arg3 ;
30273 void *argp1 = 0 ;
30274 int res1 = 0 ;
30275 int res2 = 0 ;
30276 int val3 ;
30277 int ecode3 = 0 ;
30278 PyObject * obj0 = 0 ;
30279 PyObject * obj1 = 0 ;
30280 PyObject * obj2 = 0 ;
30281 char * kwnames[] = {
30282 (char *) "self",(char *) "imageList",(char *) "which", NULL
30283 };
30284
30285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30287 if (!SWIG_IsOK(res1)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30289 }
30290 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30291 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30292 if (!SWIG_IsOK(res2)) {
30293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30294 }
30295 ecode3 = SWIG_AsVal_int(obj2, &val3);
30296 if (!SWIG_IsOK(ecode3)) {
30297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30298 }
30299 arg3 = static_cast< int >(val3);
30300 {
30301 PyThreadState* __tstate = wxPyBeginAllowThreads();
30302 (arg1)->AssignImageList(arg2,arg3);
30303 wxPyEndAllowThreads(__tstate);
30304 if (PyErr_Occurred()) SWIG_fail;
30305 }
30306 resultobj = SWIG_Py_Void();
30307 return resultobj;
30308fail:
30309 return NULL;
7e08d4ef
RD
30310}
30311
30312
554f62e9
RD
30313SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30314 PyObject *resultobj = 0;
30315 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30316 bool result;
30317 void *argp1 = 0 ;
30318 int res1 = 0 ;
30319 PyObject *swig_obj[1] ;
30320
30321 if (!args) SWIG_fail;
30322 swig_obj[0] = args;
30323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30324 if (!SWIG_IsOK(res1)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30326 }
30327 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30328 {
30329 PyThreadState* __tstate = wxPyBeginAllowThreads();
30330 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30331 wxPyEndAllowThreads(__tstate);
30332 if (PyErr_Occurred()) SWIG_fail;
30333 }
30334 {
30335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30336 }
30337 return resultobj;
30338fail:
30339 return NULL;
7e08d4ef
RD
30340}
30341
30342
554f62e9
RD
30343SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30344 PyObject *resultobj = 0;
30345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30346 bool result;
30347 void *argp1 = 0 ;
30348 int res1 = 0 ;
30349 PyObject *swig_obj[1] ;
30350
30351 if (!args) SWIG_fail;
30352 swig_obj[0] = args;
30353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30354 if (!SWIG_IsOK(res1)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30356 }
30357 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30358 {
30359 PyThreadState* __tstate = wxPyBeginAllowThreads();
30360 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
30364 {
30365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30366 }
30367 return resultobj;
30368fail:
30369 return NULL;
30370}
30371
30372
30373SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30374 PyObject *resultobj = 0;
30375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30376 long arg2 ;
30377 void *argp1 = 0 ;
30378 int res1 = 0 ;
30379 long val2 ;
30380 int ecode2 = 0 ;
30381 PyObject * obj0 = 0 ;
30382 PyObject * obj1 = 0 ;
30383 char * kwnames[] = {
30384 (char *) "self",(char *) "item", NULL
30385 };
30386
30387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30389 if (!SWIG_IsOK(res1)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30391 }
30392 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30393 ecode2 = SWIG_AsVal_long(obj1, &val2);
30394 if (!SWIG_IsOK(ecode2)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30396 }
30397 arg2 = static_cast< long >(val2);
30398 {
30399 PyThreadState* __tstate = wxPyBeginAllowThreads();
30400 (arg1)->RefreshItem(arg2);
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 resultobj = SWIG_Py_Void();
30405 return resultobj;
30406fail:
30407 return NULL;
30408}
30409
30410
30411SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30412 PyObject *resultobj = 0;
30413 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30414 long arg2 ;
30415 long arg3 ;
30416 void *argp1 = 0 ;
30417 int res1 = 0 ;
30418 long val2 ;
30419 int ecode2 = 0 ;
30420 long val3 ;
30421 int ecode3 = 0 ;
30422 PyObject * obj0 = 0 ;
30423 PyObject * obj1 = 0 ;
30424 PyObject * obj2 = 0 ;
30425 char * kwnames[] = {
30426 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30427 };
30428
30429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30431 if (!SWIG_IsOK(res1)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30433 }
30434 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30435 ecode2 = SWIG_AsVal_long(obj1, &val2);
30436 if (!SWIG_IsOK(ecode2)) {
30437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30438 }
30439 arg2 = static_cast< long >(val2);
30440 ecode3 = SWIG_AsVal_long(obj2, &val3);
30441 if (!SWIG_IsOK(ecode3)) {
30442 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30443 }
30444 arg3 = static_cast< long >(val3);
30445 {
30446 PyThreadState* __tstate = wxPyBeginAllowThreads();
30447 (arg1)->RefreshItems(arg2,arg3);
30448 wxPyEndAllowThreads(__tstate);
30449 if (PyErr_Occurred()) SWIG_fail;
30450 }
30451 resultobj = SWIG_Py_Void();
30452 return resultobj;
30453fail:
30454 return NULL;
30455}
30456
30457
30458SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30459 PyObject *resultobj = 0;
30460 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30461 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30462 bool result;
30463 void *argp1 = 0 ;
30464 int res1 = 0 ;
30465 int val2 ;
30466 int ecode2 = 0 ;
30467 PyObject * obj0 = 0 ;
30468 PyObject * obj1 = 0 ;
30469 char * kwnames[] = {
30470 (char *) "self",(char *) "flag", NULL
30471 };
30472
30473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30475 if (!SWIG_IsOK(res1)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30477 }
30478 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30479 if (obj1) {
30480 ecode2 = SWIG_AsVal_int(obj1, &val2);
30481 if (!SWIG_IsOK(ecode2)) {
30482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30483 }
30484 arg2 = static_cast< int >(val2);
30485 }
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
30488 result = (bool)(arg1)->Arrange(arg2);
30489 wxPyEndAllowThreads(__tstate);
30490 if (PyErr_Occurred()) SWIG_fail;
30491 }
30492 {
30493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30494 }
30495 return resultobj;
30496fail:
30497 return NULL;
30498}
30499
30500
30501SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30502 PyObject *resultobj = 0;
30503 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30504 long arg2 ;
30505 bool result;
30506 void *argp1 = 0 ;
30507 int res1 = 0 ;
30508 long val2 ;
30509 int ecode2 = 0 ;
30510 PyObject * obj0 = 0 ;
30511 PyObject * obj1 = 0 ;
30512 char * kwnames[] = {
30513 (char *) "self",(char *) "item", NULL
30514 };
30515
30516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30518 if (!SWIG_IsOK(res1)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30520 }
30521 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30522 ecode2 = SWIG_AsVal_long(obj1, &val2);
30523 if (!SWIG_IsOK(ecode2)) {
30524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30525 }
30526 arg2 = static_cast< long >(val2);
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 result = (bool)(arg1)->DeleteItem(arg2);
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 {
30534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30535 }
30536 return resultobj;
30537fail:
30538 return NULL;
7e08d4ef
RD
30539}
30540
30541
554f62e9
RD
30542SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30543 PyObject *resultobj = 0;
30544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30545 bool result;
30546 void *argp1 = 0 ;
30547 int res1 = 0 ;
30548 PyObject *swig_obj[1] ;
30549
30550 if (!args) SWIG_fail;
30551 swig_obj[0] = args;
30552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30553 if (!SWIG_IsOK(res1)) {
30554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30555 }
30556 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30557 {
30558 PyThreadState* __tstate = wxPyBeginAllowThreads();
30559 result = (bool)(arg1)->DeleteAllItems();
30560 wxPyEndAllowThreads(__tstate);
30561 if (PyErr_Occurred()) SWIG_fail;
30562 }
30563 {
30564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30565 }
30566 return resultobj;
30567fail:
30568 return NULL;
30569}
30570
30571
30572SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30573 PyObject *resultobj = 0;
30574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30575 int arg2 ;
30576 bool result;
30577 void *argp1 = 0 ;
30578 int res1 = 0 ;
30579 int val2 ;
30580 int ecode2 = 0 ;
30581 PyObject * obj0 = 0 ;
30582 PyObject * obj1 = 0 ;
30583 char * kwnames[] = {
30584 (char *) "self",(char *) "col", NULL
30585 };
30586
30587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30589 if (!SWIG_IsOK(res1)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30591 }
30592 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30593 ecode2 = SWIG_AsVal_int(obj1, &val2);
30594 if (!SWIG_IsOK(ecode2)) {
30595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30596 }
30597 arg2 = static_cast< int >(val2);
30598 {
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 result = (bool)(arg1)->DeleteColumn(arg2);
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 {
30605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30606 }
30607 return resultobj;
30608fail:
30609 return NULL;
7e08d4ef
RD
30610}
30611
30612
554f62e9
RD
30613SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30614 PyObject *resultobj = 0;
30615 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30616 bool result;
30617 void *argp1 = 0 ;
30618 int res1 = 0 ;
30619 PyObject *swig_obj[1] ;
30620
30621 if (!args) SWIG_fail;
30622 swig_obj[0] = args;
30623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30624 if (!SWIG_IsOK(res1)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30626 }
30627 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 result = (bool)(arg1)->DeleteAllColumns();
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 {
30635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30636 }
30637 return resultobj;
30638fail:
30639 return NULL;
7e08d4ef
RD
30640}
30641
30642
554f62e9
RD
30643SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30644 PyObject *resultobj = 0;
30645 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30646 void *argp1 = 0 ;
30647 int res1 = 0 ;
30648 PyObject *swig_obj[1] ;
30649
30650 if (!args) SWIG_fail;
30651 swig_obj[0] = args;
30652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30653 if (!SWIG_IsOK(res1)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30655 }
30656 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30657 {
30658 PyThreadState* __tstate = wxPyBeginAllowThreads();
30659 (arg1)->ClearAll();
30660 wxPyEndAllowThreads(__tstate);
30661 if (PyErr_Occurred()) SWIG_fail;
30662 }
30663 resultobj = SWIG_Py_Void();
30664 return resultobj;
30665fail:
30666 return NULL;
30667}
30668
30669
30670SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30671 PyObject *resultobj = 0;
30672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30673 long arg2 ;
30674 wxTextCtrl *result = 0 ;
30675 void *argp1 = 0 ;
30676 int res1 = 0 ;
30677 long val2 ;
30678 int ecode2 = 0 ;
30679 PyObject * obj0 = 0 ;
30680 PyObject * obj1 = 0 ;
30681 char * kwnames[] = {
30682 (char *) "self",(char *) "item", NULL
30683 };
30684
30685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30687 if (!SWIG_IsOK(res1)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30689 }
30690 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30691 ecode2 = SWIG_AsVal_long(obj1, &val2);
30692 if (!SWIG_IsOK(ecode2)) {
30693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30694 }
30695 arg2 = static_cast< long >(val2);
30696 {
30697 PyThreadState* __tstate = wxPyBeginAllowThreads();
30698 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
30699 wxPyEndAllowThreads(__tstate);
30700 if (PyErr_Occurred()) SWIG_fail;
30701 }
30702 {
30703 resultobj = wxPyMake_wxObject(result, 0);
30704 }
30705 return resultobj;
30706fail:
30707 return NULL;
30708}
30709
30710
30711SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30712 PyObject *resultobj = 0;
30713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30714 bool arg2 ;
30715 bool result;
30716 void *argp1 = 0 ;
30717 int res1 = 0 ;
30718 bool val2 ;
30719 int ecode2 = 0 ;
30720 PyObject * obj0 = 0 ;
30721 PyObject * obj1 = 0 ;
30722 char * kwnames[] = {
30723 (char *) "self",(char *) "cancel", NULL
30724 };
30725
30726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30728 if (!SWIG_IsOK(res1)) {
30729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30730 }
30731 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30732 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30733 if (!SWIG_IsOK(ecode2)) {
30734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30735 }
30736 arg2 = static_cast< bool >(val2);
30737 {
30738 PyThreadState* __tstate = wxPyBeginAllowThreads();
30739 result = (bool)(arg1)->EndEditLabel(arg2);
30740 wxPyEndAllowThreads(__tstate);
30741 if (PyErr_Occurred()) SWIG_fail;
30742 }
30743 {
30744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30745 }
30746 return resultobj;
30747fail:
30748 return NULL;
30749}
30750
30751
30752SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30753 PyObject *resultobj = 0;
30754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30755 long arg2 ;
30756 bool result;
30757 void *argp1 = 0 ;
30758 int res1 = 0 ;
30759 long val2 ;
30760 int ecode2 = 0 ;
30761 PyObject * obj0 = 0 ;
30762 PyObject * obj1 = 0 ;
30763 char * kwnames[] = {
30764 (char *) "self",(char *) "item", NULL
30765 };
30766
30767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
30768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30769 if (!SWIG_IsOK(res1)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30771 }
30772 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30773 ecode2 = SWIG_AsVal_long(obj1, &val2);
30774 if (!SWIG_IsOK(ecode2)) {
30775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30776 }
30777 arg2 = static_cast< long >(val2);
30778 {
30779 PyThreadState* __tstate = wxPyBeginAllowThreads();
30780 result = (bool)(arg1)->EnsureVisible(arg2);
30781 wxPyEndAllowThreads(__tstate);
30782 if (PyErr_Occurred()) SWIG_fail;
30783 }
30784 {
30785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30786 }
30787 return resultobj;
30788fail:
30789 return NULL;
30790}
30791
30792
30793SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30794 PyObject *resultobj = 0;
30795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30796 long arg2 ;
30797 wxString *arg3 = 0 ;
30798 bool arg4 = (bool) false ;
30799 long result;
30800 void *argp1 = 0 ;
30801 int res1 = 0 ;
30802 long val2 ;
30803 int ecode2 = 0 ;
30804 bool temp3 = false ;
30805 bool val4 ;
30806 int ecode4 = 0 ;
30807 PyObject * obj0 = 0 ;
30808 PyObject * obj1 = 0 ;
30809 PyObject * obj2 = 0 ;
30810 PyObject * obj3 = 0 ;
30811 char * kwnames[] = {
30812 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30813 };
30814
30815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30817 if (!SWIG_IsOK(res1)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30819 }
30820 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30821 ecode2 = SWIG_AsVal_long(obj1, &val2);
30822 if (!SWIG_IsOK(ecode2)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30824 }
30825 arg2 = static_cast< long >(val2);
30826 {
30827 arg3 = wxString_in_helper(obj2);
30828 if (arg3 == NULL) SWIG_fail;
30829 temp3 = true;
30830 }
30831 if (obj3) {
30832 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30833 if (!SWIG_IsOK(ecode4)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30835 }
30836 arg4 = static_cast< bool >(val4);
30837 }
30838 {
30839 PyThreadState* __tstate = wxPyBeginAllowThreads();
30840 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
30841 wxPyEndAllowThreads(__tstate);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
30844 resultobj = SWIG_From_long(static_cast< long >(result));
30845 {
30846 if (temp3)
30847 delete arg3;
30848 }
30849 return resultobj;
30850fail:
30851 {
30852 if (temp3)
30853 delete arg3;
30854 }
30855 return NULL;
30856}
30857
30858
30859SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30860 PyObject *resultobj = 0;
30861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30862 long arg2 ;
30863 long arg3 ;
30864 long result;
30865 void *argp1 = 0 ;
30866 int res1 = 0 ;
30867 long val2 ;
30868 int ecode2 = 0 ;
30869 long val3 ;
30870 int ecode3 = 0 ;
30871 PyObject * obj0 = 0 ;
30872 PyObject * obj1 = 0 ;
30873 PyObject * obj2 = 0 ;
30874 char * kwnames[] = {
30875 (char *) "self",(char *) "start",(char *) "data", NULL
30876 };
30877
30878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30880 if (!SWIG_IsOK(res1)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30882 }
30883 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30884 ecode2 = SWIG_AsVal_long(obj1, &val2);
30885 if (!SWIG_IsOK(ecode2)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30887 }
30888 arg2 = static_cast< long >(val2);
30889 ecode3 = SWIG_AsVal_long(obj2, &val3);
30890 if (!SWIG_IsOK(ecode3)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30892 }
30893 arg3 = static_cast< long >(val3);
30894 {
30895 PyThreadState* __tstate = wxPyBeginAllowThreads();
30896 result = (long)(arg1)->FindItem(arg2,arg3);
30897 wxPyEndAllowThreads(__tstate);
30898 if (PyErr_Occurred()) SWIG_fail;
30899 }
30900 resultobj = SWIG_From_long(static_cast< long >(result));
30901 return resultobj;
30902fail:
30903 return NULL;
30904}
30905
30906
30907SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30908 PyObject *resultobj = 0;
30909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30910 long arg2 ;
30911 wxPoint *arg3 = 0 ;
30912 int arg4 ;
30913 long result;
30914 void *argp1 = 0 ;
30915 int res1 = 0 ;
30916 long val2 ;
30917 int ecode2 = 0 ;
30918 wxPoint temp3 ;
30919 int val4 ;
30920 int ecode4 = 0 ;
30921 PyObject * obj0 = 0 ;
30922 PyObject * obj1 = 0 ;
30923 PyObject * obj2 = 0 ;
30924 PyObject * obj3 = 0 ;
30925 char * kwnames[] = {
30926 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30927 };
30928
30929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30931 if (!SWIG_IsOK(res1)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30933 }
30934 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30935 ecode2 = SWIG_AsVal_long(obj1, &val2);
30936 if (!SWIG_IsOK(ecode2)) {
30937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30938 }
30939 arg2 = static_cast< long >(val2);
30940 {
30941 arg3 = &temp3;
30942 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30943 }
30944 ecode4 = SWIG_AsVal_int(obj3, &val4);
30945 if (!SWIG_IsOK(ecode4)) {
30946 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30947 }
30948 arg4 = static_cast< int >(val4);
30949 {
30950 PyThreadState* __tstate = wxPyBeginAllowThreads();
30951 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 resultobj = SWIG_From_long(static_cast< long >(result));
30956 return resultobj;
30957fail:
30958 return NULL;
30959}
30960
30961
30962SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30963 PyObject *resultobj = 0;
30964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30965 wxPoint *arg2 = 0 ;
30966 int *arg3 = 0 ;
30967 long result;
30968 void *argp1 = 0 ;
30969 int res1 = 0 ;
30970 wxPoint temp2 ;
30971 int temp3 ;
30972 int res3 = SWIG_TMPOBJ ;
30973 PyObject * obj0 = 0 ;
30974 PyObject * obj1 = 0 ;
30975 char * kwnames[] = {
30976 (char *) "self",(char *) "point", NULL
30977 };
30978
30979 arg3 = &temp3;
30980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
30981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30982 if (!SWIG_IsOK(res1)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30984 }
30985 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30986 {
30987 arg2 = &temp2;
30988 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30989 }
30990 {
30991 PyThreadState* __tstate = wxPyBeginAllowThreads();
30992 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30993 wxPyEndAllowThreads(__tstate);
30994 if (PyErr_Occurred()) SWIG_fail;
30995 }
30996 resultobj = SWIG_From_long(static_cast< long >(result));
30997 if (SWIG_IsTmpObj(res3)) {
30998 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30999 } else {
31000 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31001 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31002 }
31003 return resultobj;
31004fail:
31005 return NULL;
31006}
31007
31008
704eda0c
RD
31009SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31010 PyObject *resultobj = 0;
31011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31012 wxPoint *arg2 = 0 ;
31013 int *arg3 = 0 ;
31014 long *arg4 = (long *) 0 ;
31015 long result;
31016 void *argp1 = 0 ;
31017 int res1 = 0 ;
31018 wxPoint temp2 ;
31019 int temp3 ;
31020 int res3 = SWIG_TMPOBJ ;
31021 long temp4 ;
31022 int res4 = SWIG_TMPOBJ ;
31023 PyObject * obj0 = 0 ;
31024 PyObject * obj1 = 0 ;
31025 char * kwnames[] = {
31026 (char *) "self",(char *) "point", NULL
31027 };
31028
31029 arg3 = &temp3;
31030 arg4 = &temp4;
31031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",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_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31035 }
31036 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31037 {
31038 arg2 = &temp2;
31039 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31040 }
31041 {
31042 PyThreadState* __tstate = wxPyBeginAllowThreads();
31043 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31044 wxPyEndAllowThreads(__tstate);
31045 if (PyErr_Occurred()) SWIG_fail;
31046 }
31047 resultobj = SWIG_From_long(static_cast< long >(result));
31048 if (SWIG_IsTmpObj(res3)) {
31049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31050 } else {
31051 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31053 }
31054 if (SWIG_IsTmpObj(res4)) {
31055 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31056 } else {
31057 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31058 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31059 }
31060 return resultobj;
31061fail:
31062 return NULL;
31063}
31064
31065
554f62e9
RD
31066SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31067 PyObject *resultobj = 0;
31068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31069 wxListItem *arg2 = 0 ;
31070 long result;
31071 void *argp1 = 0 ;
31072 int res1 = 0 ;
31073 void *argp2 = 0 ;
31074 int res2 = 0 ;
31075 PyObject * obj0 = 0 ;
31076 PyObject * obj1 = 0 ;
31077 char * kwnames[] = {
31078 (char *) "self",(char *) "info", NULL
31079 };
31080
31081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31083 if (!SWIG_IsOK(res1)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31085 }
31086 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31087 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31088 if (!SWIG_IsOK(res2)) {
31089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31090 }
31091 if (!argp2) {
31092 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31093 }
31094 arg2 = reinterpret_cast< wxListItem * >(argp2);
31095 {
31096 PyThreadState* __tstate = wxPyBeginAllowThreads();
31097 result = (long)(arg1)->InsertItem(*arg2);
31098 wxPyEndAllowThreads(__tstate);
31099 if (PyErr_Occurred()) SWIG_fail;
31100 }
31101 resultobj = SWIG_From_long(static_cast< long >(result));
31102 return resultobj;
31103fail:
31104 return NULL;
31105}
31106
31107
31108SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj = 0;
31110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31111 long arg2 ;
31112 wxString *arg3 = 0 ;
31113 int arg4 = (int) -1 ;
31114 long result;
31115 void *argp1 = 0 ;
31116 int res1 = 0 ;
31117 long val2 ;
31118 int ecode2 = 0 ;
31119 bool temp3 = false ;
31120 int val4 ;
31121 int ecode4 = 0 ;
31122 PyObject * obj0 = 0 ;
31123 PyObject * obj1 = 0 ;
31124 PyObject * obj2 = 0 ;
31125 PyObject * obj3 = 0 ;
31126 char * kwnames[] = {
31127 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31128 };
31129
31130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31132 if (!SWIG_IsOK(res1)) {
31133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31134 }
31135 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31136 ecode2 = SWIG_AsVal_long(obj1, &val2);
31137 if (!SWIG_IsOK(ecode2)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31139 }
31140 arg2 = static_cast< long >(val2);
31141 {
31142 arg3 = wxString_in_helper(obj2);
31143 if (arg3 == NULL) SWIG_fail;
31144 temp3 = true;
31145 }
31146 if (obj3) {
31147 ecode4 = SWIG_AsVal_int(obj3, &val4);
31148 if (!SWIG_IsOK(ecode4)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31150 }
31151 arg4 = static_cast< int >(val4);
31152 }
31153 {
31154 PyThreadState* __tstate = wxPyBeginAllowThreads();
31155 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31156 wxPyEndAllowThreads(__tstate);
31157 if (PyErr_Occurred()) SWIG_fail;
31158 }
31159 resultobj = SWIG_From_long(static_cast< long >(result));
31160 {
31161 if (temp3)
31162 delete arg3;
31163 }
31164 return resultobj;
31165fail:
31166 {
31167 if (temp3)
31168 delete arg3;
31169 }
31170 return NULL;
31171}
31172
31173
31174SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31175 PyObject *resultobj = 0;
31176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31177 long arg2 ;
31178 int arg3 ;
31179 long result;
31180 void *argp1 = 0 ;
31181 int res1 = 0 ;
31182 long val2 ;
31183 int ecode2 = 0 ;
31184 int val3 ;
31185 int ecode3 = 0 ;
31186 PyObject * obj0 = 0 ;
31187 PyObject * obj1 = 0 ;
31188 PyObject * obj2 = 0 ;
31189 char * kwnames[] = {
31190 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31191 };
31192
31193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31195 if (!SWIG_IsOK(res1)) {
31196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31197 }
31198 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31199 ecode2 = SWIG_AsVal_long(obj1, &val2);
31200 if (!SWIG_IsOK(ecode2)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31202 }
31203 arg2 = static_cast< long >(val2);
31204 ecode3 = SWIG_AsVal_int(obj2, &val3);
31205 if (!SWIG_IsOK(ecode3)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31207 }
31208 arg3 = static_cast< int >(val3);
31209 {
31210 PyThreadState* __tstate = wxPyBeginAllowThreads();
31211 result = (long)(arg1)->InsertItem(arg2,arg3);
31212 wxPyEndAllowThreads(__tstate);
31213 if (PyErr_Occurred()) SWIG_fail;
31214 }
31215 resultobj = SWIG_From_long(static_cast< long >(result));
31216 return resultobj;
31217fail:
31218 return NULL;
31219}
31220
31221
31222SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31223 PyObject *resultobj = 0;
31224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31225 long arg2 ;
31226 wxString *arg3 = 0 ;
31227 int arg4 ;
31228 long result;
31229 void *argp1 = 0 ;
31230 int res1 = 0 ;
31231 long val2 ;
31232 int ecode2 = 0 ;
31233 bool temp3 = false ;
31234 int val4 ;
31235 int ecode4 = 0 ;
31236 PyObject * obj0 = 0 ;
31237 PyObject * obj1 = 0 ;
31238 PyObject * obj2 = 0 ;
31239 PyObject * obj3 = 0 ;
31240 char * kwnames[] = {
31241 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31242 };
31243
31244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31246 if (!SWIG_IsOK(res1)) {
31247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31248 }
31249 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31250 ecode2 = SWIG_AsVal_long(obj1, &val2);
31251 if (!SWIG_IsOK(ecode2)) {
31252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31253 }
31254 arg2 = static_cast< long >(val2);
31255 {
31256 arg3 = wxString_in_helper(obj2);
31257 if (arg3 == NULL) SWIG_fail;
31258 temp3 = true;
31259 }
31260 ecode4 = SWIG_AsVal_int(obj3, &val4);
31261 if (!SWIG_IsOK(ecode4)) {
31262 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31263 }
31264 arg4 = static_cast< int >(val4);
31265 {
31266 PyThreadState* __tstate = wxPyBeginAllowThreads();
31267 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 resultobj = SWIG_From_long(static_cast< long >(result));
31272 {
31273 if (temp3)
31274 delete arg3;
31275 }
31276 return resultobj;
31277fail:
31278 {
31279 if (temp3)
31280 delete arg3;
31281 }
31282 return NULL;
31283}
31284
31285
31286SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31287 PyObject *resultobj = 0;
31288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31289 long arg2 ;
31290 wxListItem *arg3 = 0 ;
31291 long result;
31292 void *argp1 = 0 ;
31293 int res1 = 0 ;
31294 long val2 ;
31295 int ecode2 = 0 ;
31296 void *argp3 = 0 ;
31297 int res3 = 0 ;
31298 PyObject * obj0 = 0 ;
31299 PyObject * obj1 = 0 ;
31300 PyObject * obj2 = 0 ;
31301 char * kwnames[] = {
31302 (char *) "self",(char *) "col",(char *) "info", NULL
31303 };
31304
31305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31307 if (!SWIG_IsOK(res1)) {
31308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31309 }
31310 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31311 ecode2 = SWIG_AsVal_long(obj1, &val2);
31312 if (!SWIG_IsOK(ecode2)) {
31313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31314 }
31315 arg2 = static_cast< long >(val2);
31316 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31317 if (!SWIG_IsOK(res3)) {
31318 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31319 }
31320 if (!argp3) {
31321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31322 }
31323 arg3 = reinterpret_cast< wxListItem * >(argp3);
31324 {
31325 PyThreadState* __tstate = wxPyBeginAllowThreads();
31326 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 resultobj = SWIG_From_long(static_cast< long >(result));
31331 return resultobj;
31332fail:
31333 return NULL;
31334}
31335
31336
31337SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31338 PyObject *resultobj = 0;
31339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31340 long arg2 ;
31341 wxString *arg3 = 0 ;
31342 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31343 int arg5 = (int) -1 ;
31344 long result;
31345 void *argp1 = 0 ;
31346 int res1 = 0 ;
31347 long val2 ;
31348 int ecode2 = 0 ;
31349 bool temp3 = false ;
31350 int val4 ;
31351 int ecode4 = 0 ;
31352 int val5 ;
31353 int ecode5 = 0 ;
31354 PyObject * obj0 = 0 ;
31355 PyObject * obj1 = 0 ;
31356 PyObject * obj2 = 0 ;
31357 PyObject * obj3 = 0 ;
31358 PyObject * obj4 = 0 ;
31359 char * kwnames[] = {
31360 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31361 };
31362
31363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31365 if (!SWIG_IsOK(res1)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31367 }
31368 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31369 ecode2 = SWIG_AsVal_long(obj1, &val2);
31370 if (!SWIG_IsOK(ecode2)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31372 }
31373 arg2 = static_cast< long >(val2);
31374 {
31375 arg3 = wxString_in_helper(obj2);
31376 if (arg3 == NULL) SWIG_fail;
31377 temp3 = true;
31378 }
31379 if (obj3) {
31380 ecode4 = SWIG_AsVal_int(obj3, &val4);
31381 if (!SWIG_IsOK(ecode4)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31383 }
31384 arg4 = static_cast< int >(val4);
31385 }
31386 if (obj4) {
31387 ecode5 = SWIG_AsVal_int(obj4, &val5);
31388 if (!SWIG_IsOK(ecode5)) {
31389 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31390 }
31391 arg5 = static_cast< int >(val5);
31392 }
31393 {
31394 PyThreadState* __tstate = wxPyBeginAllowThreads();
31395 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31396 wxPyEndAllowThreads(__tstate);
31397 if (PyErr_Occurred()) SWIG_fail;
31398 }
31399 resultobj = SWIG_From_long(static_cast< long >(result));
31400 {
31401 if (temp3)
31402 delete arg3;
31403 }
31404 return resultobj;
31405fail:
31406 {
31407 if (temp3)
31408 delete arg3;
31409 }
31410 return NULL;
31411}
31412
31413
31414SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31415 PyObject *resultobj = 0;
31416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31417 long arg2 ;
31418 void *argp1 = 0 ;
31419 int res1 = 0 ;
31420 long val2 ;
31421 int ecode2 = 0 ;
31422 PyObject * obj0 = 0 ;
31423 PyObject * obj1 = 0 ;
31424 char * kwnames[] = {
31425 (char *) "self",(char *) "count", NULL
31426 };
31427
31428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31430 if (!SWIG_IsOK(res1)) {
31431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31432 }
31433 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31434 ecode2 = SWIG_AsVal_long(obj1, &val2);
31435 if (!SWIG_IsOK(ecode2)) {
31436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31437 }
31438 arg2 = static_cast< long >(val2);
31439 {
31440 PyThreadState* __tstate = wxPyBeginAllowThreads();
31441 (arg1)->SetItemCount(arg2);
31442 wxPyEndAllowThreads(__tstate);
31443 if (PyErr_Occurred()) SWIG_fail;
31444 }
31445 resultobj = SWIG_Py_Void();
31446 return resultobj;
31447fail:
31448 return NULL;
31449}
31450
31451
31452SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31453 PyObject *resultobj = 0;
31454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31455 int arg2 ;
31456 int arg3 ;
31457 bool result;
31458 void *argp1 = 0 ;
31459 int res1 = 0 ;
31460 int val2 ;
31461 int ecode2 = 0 ;
31462 int val3 ;
31463 int ecode3 = 0 ;
31464 PyObject * obj0 = 0 ;
31465 PyObject * obj1 = 0 ;
31466 PyObject * obj2 = 0 ;
31467 char * kwnames[] = {
31468 (char *) "self",(char *) "dx",(char *) "dy", NULL
31469 };
31470
31471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31473 if (!SWIG_IsOK(res1)) {
31474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31475 }
31476 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31477 ecode2 = SWIG_AsVal_int(obj1, &val2);
31478 if (!SWIG_IsOK(ecode2)) {
31479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31480 }
31481 arg2 = static_cast< int >(val2);
31482 ecode3 = SWIG_AsVal_int(obj2, &val3);
31483 if (!SWIG_IsOK(ecode3)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31485 }
31486 arg3 = static_cast< int >(val3);
31487 {
31488 PyThreadState* __tstate = wxPyBeginAllowThreads();
31489 result = (bool)(arg1)->ScrollList(arg2,arg3);
31490 wxPyEndAllowThreads(__tstate);
31491 if (PyErr_Occurred()) SWIG_fail;
31492 }
31493 {
31494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31495 }
31496 return resultobj;
31497fail:
31498 return NULL;
31499}
31500
31501
31502SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31503 PyObject *resultobj = 0;
31504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31505 long arg2 ;
31506 wxColour *arg3 = 0 ;
31507 void *argp1 = 0 ;
31508 int res1 = 0 ;
31509 long val2 ;
31510 int ecode2 = 0 ;
31511 wxColour temp3 ;
31512 PyObject * obj0 = 0 ;
31513 PyObject * obj1 = 0 ;
31514 PyObject * obj2 = 0 ;
31515 char * kwnames[] = {
31516 (char *) "self",(char *) "item",(char *) "col", NULL
31517 };
31518
31519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31521 if (!SWIG_IsOK(res1)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31523 }
31524 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31525 ecode2 = SWIG_AsVal_long(obj1, &val2);
31526 if (!SWIG_IsOK(ecode2)) {
31527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31528 }
31529 arg2 = static_cast< long >(val2);
31530 {
31531 arg3 = &temp3;
31532 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31533 }
31534 {
31535 PyThreadState* __tstate = wxPyBeginAllowThreads();
31536 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31537 wxPyEndAllowThreads(__tstate);
31538 if (PyErr_Occurred()) SWIG_fail;
31539 }
31540 resultobj = SWIG_Py_Void();
31541 return resultobj;
31542fail:
31543 return NULL;
31544}
31545
31546
31547SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31548 PyObject *resultobj = 0;
31549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31550 long arg2 ;
31551 wxColour result;
31552 void *argp1 = 0 ;
31553 int res1 = 0 ;
31554 long val2 ;
31555 int ecode2 = 0 ;
31556 PyObject * obj0 = 0 ;
31557 PyObject * obj1 = 0 ;
31558 char * kwnames[] = {
31559 (char *) "self",(char *) "item", NULL
31560 };
31561
31562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31564 if (!SWIG_IsOK(res1)) {
31565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31566 }
31567 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31568 ecode2 = SWIG_AsVal_long(obj1, &val2);
31569 if (!SWIG_IsOK(ecode2)) {
31570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31571 }
31572 arg2 = static_cast< long >(val2);
31573 {
31574 PyThreadState* __tstate = wxPyBeginAllowThreads();
31575 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31576 wxPyEndAllowThreads(__tstate);
31577 if (PyErr_Occurred()) SWIG_fail;
31578 }
31579 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31580 return resultobj;
31581fail:
31582 return NULL;
31583}
31584
31585
31586SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31587 PyObject *resultobj = 0;
31588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31589 long arg2 ;
31590 wxColour *arg3 = 0 ;
31591 void *argp1 = 0 ;
31592 int res1 = 0 ;
31593 long val2 ;
31594 int ecode2 = 0 ;
31595 wxColour temp3 ;
31596 PyObject * obj0 = 0 ;
31597 PyObject * obj1 = 0 ;
31598 PyObject * obj2 = 0 ;
31599 char * kwnames[] = {
31600 (char *) "self",(char *) "item",(char *) "col", NULL
31601 };
31602
31603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31605 if (!SWIG_IsOK(res1)) {
31606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31607 }
31608 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31609 ecode2 = SWIG_AsVal_long(obj1, &val2);
31610 if (!SWIG_IsOK(ecode2)) {
31611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31612 }
31613 arg2 = static_cast< long >(val2);
31614 {
31615 arg3 = &temp3;
31616 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31617 }
31618 {
31619 PyThreadState* __tstate = wxPyBeginAllowThreads();
31620 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31621 wxPyEndAllowThreads(__tstate);
31622 if (PyErr_Occurred()) SWIG_fail;
31623 }
31624 resultobj = SWIG_Py_Void();
31625 return resultobj;
31626fail:
31627 return NULL;
31628}
31629
31630
31631SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31632 PyObject *resultobj = 0;
31633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31634 long arg2 ;
31635 wxColour result;
31636 void *argp1 = 0 ;
31637 int res1 = 0 ;
31638 long val2 ;
31639 int ecode2 = 0 ;
31640 PyObject * obj0 = 0 ;
31641 PyObject * obj1 = 0 ;
31642 char * kwnames[] = {
31643 (char *) "self",(char *) "item", NULL
31644 };
31645
31646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31648 if (!SWIG_IsOK(res1)) {
31649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31650 }
31651 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31652 ecode2 = SWIG_AsVal_long(obj1, &val2);
31653 if (!SWIG_IsOK(ecode2)) {
31654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31655 }
31656 arg2 = static_cast< long >(val2);
31657 {
31658 PyThreadState* __tstate = wxPyBeginAllowThreads();
31659 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31660 wxPyEndAllowThreads(__tstate);
31661 if (PyErr_Occurred()) SWIG_fail;
31662 }
31663 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31664 return resultobj;
31665fail:
31666 return NULL;
31667}
31668
31669
31670SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31671 PyObject *resultobj = 0;
31672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31673 long arg2 ;
31674 wxFont *arg3 = 0 ;
31675 void *argp1 = 0 ;
31676 int res1 = 0 ;
31677 long val2 ;
31678 int ecode2 = 0 ;
31679 void *argp3 = 0 ;
31680 int res3 = 0 ;
31681 PyObject * obj0 = 0 ;
31682 PyObject * obj1 = 0 ;
31683 PyObject * obj2 = 0 ;
31684 char * kwnames[] = {
31685 (char *) "self",(char *) "item",(char *) "f", NULL
31686 };
31687
31688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31690 if (!SWIG_IsOK(res1)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31692 }
31693 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31694 ecode2 = SWIG_AsVal_long(obj1, &val2);
31695 if (!SWIG_IsOK(ecode2)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31697 }
31698 arg2 = static_cast< long >(val2);
31699 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31700 if (!SWIG_IsOK(res3)) {
31701 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31702 }
31703 if (!argp3) {
31704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31705 }
31706 arg3 = reinterpret_cast< wxFont * >(argp3);
31707 {
31708 PyThreadState* __tstate = wxPyBeginAllowThreads();
31709 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 resultobj = SWIG_Py_Void();
31714 return resultobj;
31715fail:
31716 return NULL;
31717}
31718
31719
31720SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31721 PyObject *resultobj = 0;
31722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31723 long arg2 ;
31724 wxFont result;
31725 void *argp1 = 0 ;
31726 int res1 = 0 ;
31727 long val2 ;
31728 int ecode2 = 0 ;
31729 PyObject * obj0 = 0 ;
31730 PyObject * obj1 = 0 ;
31731 char * kwnames[] = {
31732 (char *) "self",(char *) "item", NULL
31733 };
31734
31735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31737 if (!SWIG_IsOK(res1)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31739 }
31740 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31741 ecode2 = SWIG_AsVal_long(obj1, &val2);
31742 if (!SWIG_IsOK(ecode2)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31744 }
31745 arg2 = static_cast< long >(val2);
31746 {
31747 PyThreadState* __tstate = wxPyBeginAllowThreads();
31748 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31749 wxPyEndAllowThreads(__tstate);
31750 if (PyErr_Occurred()) SWIG_fail;
31751 }
31752 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31753 return resultobj;
31754fail:
31755 return NULL;
31756}
31757
31758
31759SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31760 PyObject *resultobj = 0;
31761 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31762 PyObject *arg2 = (PyObject *) 0 ;
31763 bool result;
31764 void *argp1 = 0 ;
31765 int res1 = 0 ;
31766 PyObject * obj0 = 0 ;
31767 PyObject * obj1 = 0 ;
31768 char * kwnames[] = {
31769 (char *) "self",(char *) "func", NULL
31770 };
31771
31772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
31773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31774 if (!SWIG_IsOK(res1)) {
31775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31776 }
31777 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31778 arg2 = obj1;
31779 {
31780 PyThreadState* __tstate = wxPyBeginAllowThreads();
31781 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
31782 wxPyEndAllowThreads(__tstate);
31783 if (PyErr_Occurred()) SWIG_fail;
31784 }
31785 {
31786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31787 }
31788 return resultobj;
31789fail:
31790 return NULL;
1fbf26be
RD
31791}
31792
31793
554f62e9
RD
31794SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31795 PyObject *resultobj = 0;
31796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31797 wxWindow *result = 0 ;
31798 void *argp1 = 0 ;
31799 int res1 = 0 ;
31800 PyObject *swig_obj[1] ;
31801
31802 if (!args) SWIG_fail;
31803 swig_obj[0] = args;
31804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31805 if (!SWIG_IsOK(res1)) {
31806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31807 }
31808 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31809 {
31810 PyThreadState* __tstate = wxPyBeginAllowThreads();
31811 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
31812 wxPyEndAllowThreads(__tstate);
31813 if (PyErr_Occurred()) SWIG_fail;
31814 }
31815 {
31816 resultobj = wxPyMake_wxObject(result, 0);
31817 }
31818 return resultobj;
31819fail:
31820 return NULL;
31821}
31822
31823
31824SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31825 PyObject *resultobj = 0;
31826 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31827 SwigValueWrapper<wxVisualAttributes > result;
31828 int val1 ;
31829 int ecode1 = 0 ;
31830 PyObject * obj0 = 0 ;
31831 char * kwnames[] = {
31832 (char *) "variant", NULL
31833 };
31834
31835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
31836 if (obj0) {
31837 ecode1 = SWIG_AsVal_int(obj0, &val1);
31838 if (!SWIG_IsOK(ecode1)) {
31839 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31840 }
31841 arg1 = static_cast< wxWindowVariant >(val1);
31842 }
31843 {
31844 if (!wxPyCheckForApp()) SWIG_fail;
31845 PyThreadState* __tstate = wxPyBeginAllowThreads();
31846 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
31847 wxPyEndAllowThreads(__tstate);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
31850 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
31851 return resultobj;
31852fail:
31853 return NULL;
31854}
31855
31856
31857SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31858 PyObject *obj;
31859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
31861 return SWIG_Py_Void();
31862}
31863
31864SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31865 return SWIG_Python_InitShadowInstance(args);
31866}
31867
31868SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31869 PyObject *resultobj = 0;
31870 wxWindow *arg1 = (wxWindow *) 0 ;
31871 int arg2 = (int) -1 ;
31872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31874 wxSize const &arg4_defvalue = wxDefaultSize ;
31875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31876 long arg5 = (long) wxLC_REPORT ;
31877 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31878 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31879 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
31880 wxString *arg7 = (wxString *) &arg7_defvalue ;
31881 wxListView *result = 0 ;
31882 void *argp1 = 0 ;
31883 int res1 = 0 ;
31884 int val2 ;
31885 int ecode2 = 0 ;
31886 wxPoint temp3 ;
31887 wxSize temp4 ;
31888 long val5 ;
31889 int ecode5 = 0 ;
31890 void *argp6 = 0 ;
31891 int res6 = 0 ;
31892 bool temp7 = false ;
31893 PyObject * obj0 = 0 ;
31894 PyObject * obj1 = 0 ;
31895 PyObject * obj2 = 0 ;
31896 PyObject * obj3 = 0 ;
31897 PyObject * obj4 = 0 ;
31898 PyObject * obj5 = 0 ;
31899 PyObject * obj6 = 0 ;
31900 char * kwnames[] = {
31901 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31902 };
31903
31904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
31906 if (!SWIG_IsOK(res1)) {
31907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31908 }
31909 arg1 = reinterpret_cast< wxWindow * >(argp1);
31910 if (obj1) {
31911 ecode2 = SWIG_AsVal_int(obj1, &val2);
31912 if (!SWIG_IsOK(ecode2)) {
31913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31914 }
31915 arg2 = static_cast< int >(val2);
31916 }
31917 if (obj2) {
31918 {
31919 arg3 = &temp3;
31920 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 31921 }
554f62e9
RD
31922 }
31923 if (obj3) {
31924 {
31925 arg4 = &temp4;
31926 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31927 }
554f62e9
RD
31928 }
31929 if (obj4) {
31930 ecode5 = SWIG_AsVal_long(obj4, &val5);
31931 if (!SWIG_IsOK(ecode5)) {
31932 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31933 }
31934 arg5 = static_cast< long >(val5);
31935 }
31936 if (obj5) {
31937 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
31938 if (!SWIG_IsOK(res6)) {
31939 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 31940 }
554f62e9
RD
31941 if (!argp6) {
31942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 31943 }
554f62e9
RD
31944 arg6 = reinterpret_cast< wxValidator * >(argp6);
31945 }
31946 if (obj6) {
d55e5bfc 31947 {
554f62e9
RD
31948 arg7 = wxString_in_helper(obj6);
31949 if (arg7 == NULL) SWIG_fail;
31950 temp7 = true;
d55e5bfc 31951 }
554f62e9
RD
31952 }
31953 {
31954 if (!wxPyCheckForApp()) SWIG_fail;
31955 PyThreadState* __tstate = wxPyBeginAllowThreads();
31956 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31957 wxPyEndAllowThreads(__tstate);
31958 if (PyErr_Occurred()) SWIG_fail;
31959 }
31960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
31961 {
31962 if (temp7)
31963 delete arg7;
31964 }
31965 return resultobj;
31966fail:
31967 {
31968 if (temp7)
31969 delete arg7;
31970 }
31971 return NULL;
d55e5bfc
RD
31972}
31973
31974
554f62e9
RD
31975SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31976 PyObject *resultobj = 0;
31977 wxListView *result = 0 ;
31978
31979 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
31980 {
31981 if (!wxPyCheckForApp()) SWIG_fail;
31982 PyThreadState* __tstate = wxPyBeginAllowThreads();
31983 result = (wxListView *)new wxListView();
31984 wxPyEndAllowThreads(__tstate);
31985 if (PyErr_Occurred()) SWIG_fail;
31986 }
31987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
31988 return resultobj;
31989fail:
31990 return NULL;
31991}
31992
31993
31994SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31995 PyObject *resultobj = 0;
31996 wxListView *arg1 = (wxListView *) 0 ;
31997 wxWindow *arg2 = (wxWindow *) 0 ;
31998 int arg3 = (int) -1 ;
31999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32001 wxSize const &arg5_defvalue = wxDefaultSize ;
32002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32003 long arg6 = (long) wxLC_REPORT ;
32004 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32005 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32006 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32007 wxString *arg8 = (wxString *) &arg8_defvalue ;
32008 bool result;
32009 void *argp1 = 0 ;
32010 int res1 = 0 ;
32011 void *argp2 = 0 ;
32012 int res2 = 0 ;
32013 int val3 ;
32014 int ecode3 = 0 ;
32015 wxPoint temp4 ;
32016 wxSize temp5 ;
32017 long val6 ;
32018 int ecode6 = 0 ;
32019 void *argp7 = 0 ;
32020 int res7 = 0 ;
32021 bool temp8 = false ;
32022 PyObject * obj0 = 0 ;
32023 PyObject * obj1 = 0 ;
32024 PyObject * obj2 = 0 ;
32025 PyObject * obj3 = 0 ;
32026 PyObject * obj4 = 0 ;
32027 PyObject * obj5 = 0 ;
32028 PyObject * obj6 = 0 ;
32029 PyObject * obj7 = 0 ;
32030 char * kwnames[] = {
32031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32032 };
32033
32034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32036 if (!SWIG_IsOK(res1)) {
32037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32038 }
32039 arg1 = reinterpret_cast< wxListView * >(argp1);
32040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32041 if (!SWIG_IsOK(res2)) {
32042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32043 }
32044 arg2 = reinterpret_cast< wxWindow * >(argp2);
32045 if (obj2) {
32046 ecode3 = SWIG_AsVal_int(obj2, &val3);
32047 if (!SWIG_IsOK(ecode3)) {
32048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32049 }
32050 arg3 = static_cast< int >(val3);
32051 }
32052 if (obj3) {
093d3ff1 32053 {
554f62e9
RD
32054 arg4 = &temp4;
32055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
ae8162c8 32056 }
554f62e9
RD
32057 }
32058 if (obj4) {
32059 {
32060 arg5 = &temp5;
32061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
ae8162c8 32062 }
554f62e9
RD
32063 }
32064 if (obj5) {
32065 ecode6 = SWIG_AsVal_long(obj5, &val6);
32066 if (!SWIG_IsOK(ecode6)) {
32067 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32068 }
32069 arg6 = static_cast< long >(val6);
32070 }
32071 if (obj6) {
32072 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32073 if (!SWIG_IsOK(res7)) {
32074 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 32075 }
554f62e9
RD
32076 if (!argp7) {
32077 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 32078 }
554f62e9
RD
32079 arg7 = reinterpret_cast< wxValidator * >(argp7);
32080 }
32081 if (obj7) {
ae8162c8 32082 {
554f62e9
RD
32083 arg8 = wxString_in_helper(obj7);
32084 if (arg8 == NULL) SWIG_fail;
32085 temp8 = true;
ae8162c8 32086 }
554f62e9
RD
32087 }
32088 {
32089 PyThreadState* __tstate = wxPyBeginAllowThreads();
32090 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32091 wxPyEndAllowThreads(__tstate);
32092 if (PyErr_Occurred()) SWIG_fail;
32093 }
32094 {
32095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32096 }
32097 {
32098 if (temp8)
32099 delete arg8;
32100 }
32101 return resultobj;
32102fail:
32103 {
32104 if (temp8)
32105 delete arg8;
32106 }
32107 return NULL;
32108}
32109
32110
32111SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32112 PyObject *resultobj = 0;
32113 wxListView *arg1 = (wxListView *) 0 ;
32114 long arg2 ;
32115 bool arg3 = (bool) true ;
32116 void *argp1 = 0 ;
32117 int res1 = 0 ;
32118 long val2 ;
32119 int ecode2 = 0 ;
32120 bool val3 ;
32121 int ecode3 = 0 ;
32122 PyObject * obj0 = 0 ;
32123 PyObject * obj1 = 0 ;
32124 PyObject * obj2 = 0 ;
32125 char * kwnames[] = {
32126 (char *) "self",(char *) "n",(char *) "on", NULL
32127 };
32128
32129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32131 if (!SWIG_IsOK(res1)) {
32132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32133 }
32134 arg1 = reinterpret_cast< wxListView * >(argp1);
32135 ecode2 = SWIG_AsVal_long(obj1, &val2);
32136 if (!SWIG_IsOK(ecode2)) {
32137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32138 }
32139 arg2 = static_cast< long >(val2);
32140 if (obj2) {
32141 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32142 if (!SWIG_IsOK(ecode3)) {
32143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32144 }
32145 arg3 = static_cast< bool >(val3);
32146 }
32147 {
32148 PyThreadState* __tstate = wxPyBeginAllowThreads();
32149 (arg1)->Select(arg2,arg3);
32150 wxPyEndAllowThreads(__tstate);
32151 if (PyErr_Occurred()) SWIG_fail;
32152 }
32153 resultobj = SWIG_Py_Void();
32154 return resultobj;
32155fail:
32156 return NULL;
32157}
32158
32159
32160SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32161 PyObject *resultobj = 0;
32162 wxListView *arg1 = (wxListView *) 0 ;
32163 long arg2 ;
32164 void *argp1 = 0 ;
32165 int res1 = 0 ;
32166 long val2 ;
32167 int ecode2 = 0 ;
32168 PyObject * obj0 = 0 ;
32169 PyObject * obj1 = 0 ;
32170 char * kwnames[] = {
32171 (char *) "self",(char *) "index", NULL
32172 };
32173
32174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32176 if (!SWIG_IsOK(res1)) {
32177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32178 }
32179 arg1 = reinterpret_cast< wxListView * >(argp1);
32180 ecode2 = SWIG_AsVal_long(obj1, &val2);
32181 if (!SWIG_IsOK(ecode2)) {
32182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32183 }
32184 arg2 = static_cast< long >(val2);
32185 {
32186 PyThreadState* __tstate = wxPyBeginAllowThreads();
32187 (arg1)->Focus(arg2);
32188 wxPyEndAllowThreads(__tstate);
32189 if (PyErr_Occurred()) SWIG_fail;
32190 }
32191 resultobj = SWIG_Py_Void();
32192 return resultobj;
32193fail:
32194 return NULL;
ae8162c8
RD
32195}
32196
32197
554f62e9
RD
32198SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32199 PyObject *resultobj = 0;
32200 wxListView *arg1 = (wxListView *) 0 ;
32201 long result;
32202 void *argp1 = 0 ;
32203 int res1 = 0 ;
32204 PyObject *swig_obj[1] ;
32205
32206 if (!args) SWIG_fail;
32207 swig_obj[0] = args;
32208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32209 if (!SWIG_IsOK(res1)) {
32210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32211 }
32212 arg1 = reinterpret_cast< wxListView * >(argp1);
32213 {
32214 PyThreadState* __tstate = wxPyBeginAllowThreads();
32215 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32216 wxPyEndAllowThreads(__tstate);
32217 if (PyErr_Occurred()) SWIG_fail;
32218 }
32219 resultobj = SWIG_From_long(static_cast< long >(result));
32220 return resultobj;
32221fail:
32222 return NULL;
32223}
32224
32225
32226SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32227 PyObject *resultobj = 0;
32228 wxListView *arg1 = (wxListView *) 0 ;
32229 long arg2 ;
32230 long result;
32231 void *argp1 = 0 ;
32232 int res1 = 0 ;
32233 long val2 ;
32234 int ecode2 = 0 ;
32235 PyObject * obj0 = 0 ;
32236 PyObject * obj1 = 0 ;
32237 char * kwnames[] = {
32238 (char *) "self",(char *) "item", NULL
32239 };
32240
32241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32243 if (!SWIG_IsOK(res1)) {
32244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32245 }
32246 arg1 = reinterpret_cast< wxListView * >(argp1);
32247 ecode2 = SWIG_AsVal_long(obj1, &val2);
32248 if (!SWIG_IsOK(ecode2)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32250 }
32251 arg2 = static_cast< long >(val2);
32252 {
32253 PyThreadState* __tstate = wxPyBeginAllowThreads();
32254 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32255 wxPyEndAllowThreads(__tstate);
32256 if (PyErr_Occurred()) SWIG_fail;
32257 }
32258 resultobj = SWIG_From_long(static_cast< long >(result));
32259 return resultobj;
32260fail:
32261 return NULL;
ae8162c8
RD
32262}
32263
32264
554f62e9
RD
32265SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32266 PyObject *resultobj = 0;
32267 wxListView *arg1 = (wxListView *) 0 ;
32268 long result;
32269 void *argp1 = 0 ;
32270 int res1 = 0 ;
32271 PyObject *swig_obj[1] ;
32272
32273 if (!args) SWIG_fail;
32274 swig_obj[0] = args;
32275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32276 if (!SWIG_IsOK(res1)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32278 }
32279 arg1 = reinterpret_cast< wxListView * >(argp1);
32280 {
32281 PyThreadState* __tstate = wxPyBeginAllowThreads();
32282 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32283 wxPyEndAllowThreads(__tstate);
32284 if (PyErr_Occurred()) SWIG_fail;
32285 }
32286 resultobj = SWIG_From_long(static_cast< long >(result));
32287 return resultobj;
32288fail:
32289 return NULL;
32290}
32291
32292
32293SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32294 PyObject *resultobj = 0;
32295 wxListView *arg1 = (wxListView *) 0 ;
32296 long arg2 ;
32297 bool result;
32298 void *argp1 = 0 ;
32299 int res1 = 0 ;
32300 long val2 ;
32301 int ecode2 = 0 ;
32302 PyObject * obj0 = 0 ;
32303 PyObject * obj1 = 0 ;
32304 char * kwnames[] = {
32305 (char *) "self",(char *) "index", NULL
32306 };
32307
32308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32310 if (!SWIG_IsOK(res1)) {
32311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32312 }
32313 arg1 = reinterpret_cast< wxListView * >(argp1);
32314 ecode2 = SWIG_AsVal_long(obj1, &val2);
32315 if (!SWIG_IsOK(ecode2)) {
32316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32317 }
32318 arg2 = static_cast< long >(val2);
32319 {
32320 PyThreadState* __tstate = wxPyBeginAllowThreads();
32321 result = (bool)(arg1)->IsSelected(arg2);
32322 wxPyEndAllowThreads(__tstate);
32323 if (PyErr_Occurred()) SWIG_fail;
32324 }
32325 {
32326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32327 }
32328 return resultobj;
32329fail:
32330 return NULL;
32331}
32332
32333
32334SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32335 PyObject *resultobj = 0;
32336 wxListView *arg1 = (wxListView *) 0 ;
32337 int arg2 ;
32338 int arg3 ;
32339 void *argp1 = 0 ;
32340 int res1 = 0 ;
32341 int val2 ;
32342 int ecode2 = 0 ;
32343 int val3 ;
32344 int ecode3 = 0 ;
32345 PyObject * obj0 = 0 ;
32346 PyObject * obj1 = 0 ;
32347 PyObject * obj2 = 0 ;
32348 char * kwnames[] = {
32349 (char *) "self",(char *) "col",(char *) "image", NULL
32350 };
32351
32352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32354 if (!SWIG_IsOK(res1)) {
32355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32356 }
32357 arg1 = reinterpret_cast< wxListView * >(argp1);
32358 ecode2 = SWIG_AsVal_int(obj1, &val2);
32359 if (!SWIG_IsOK(ecode2)) {
32360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32361 }
32362 arg2 = static_cast< int >(val2);
32363 ecode3 = SWIG_AsVal_int(obj2, &val3);
32364 if (!SWIG_IsOK(ecode3)) {
32365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32366 }
32367 arg3 = static_cast< int >(val3);
32368 {
32369 PyThreadState* __tstate = wxPyBeginAllowThreads();
32370 (arg1)->SetColumnImage(arg2,arg3);
32371 wxPyEndAllowThreads(__tstate);
32372 if (PyErr_Occurred()) SWIG_fail;
32373 }
32374 resultobj = SWIG_Py_Void();
32375 return resultobj;
32376fail:
32377 return NULL;
32378}
32379
32380
32381SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32382 PyObject *resultobj = 0;
32383 wxListView *arg1 = (wxListView *) 0 ;
32384 int arg2 ;
32385 void *argp1 = 0 ;
32386 int res1 = 0 ;
32387 int val2 ;
32388 int ecode2 = 0 ;
32389 PyObject * obj0 = 0 ;
32390 PyObject * obj1 = 0 ;
32391 char * kwnames[] = {
32392 (char *) "self",(char *) "col", NULL
32393 };
32394
32395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32397 if (!SWIG_IsOK(res1)) {
32398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32399 }
32400 arg1 = reinterpret_cast< wxListView * >(argp1);
32401 ecode2 = SWIG_AsVal_int(obj1, &val2);
32402 if (!SWIG_IsOK(ecode2)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32404 }
32405 arg2 = static_cast< int >(val2);
32406 {
32407 PyThreadState* __tstate = wxPyBeginAllowThreads();
32408 (arg1)->ClearColumnImage(arg2);
32409 wxPyEndAllowThreads(__tstate);
32410 if (PyErr_Occurred()) SWIG_fail;
32411 }
32412 resultobj = SWIG_Py_Void();
32413 return resultobj;
32414fail:
32415 return NULL;
ae8162c8
RD
32416}
32417
32418
554f62e9
RD
32419SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32420 PyObject *obj;
32421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32422 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32423 return SWIG_Py_Void();
70b7a5fe
RD
32424}
32425
554f62e9
RD
32426SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32427 return SWIG_Python_InitShadowInstance(args);
ae8162c8
RD
32428}
32429
554f62e9
RD
32430SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32431 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32432 return 1;
ae8162c8
RD
32433}
32434
32435
554f62e9
RD
32436SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32437 PyObject *pyobj = 0;
32438
32439 {
32440#if wxUSE_UNICODE
32441 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32442#else
32443 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32444#endif
32445 }
32446 return pyobj;
d55e5bfc
RD
32447}
32448
32449
554f62e9
RD
32450SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32451 PyObject *resultobj = 0;
32452 wxTreeItemId *result = 0 ;
32453
32454 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32455 {
32456 PyThreadState* __tstate = wxPyBeginAllowThreads();
32457 result = (wxTreeItemId *)new wxTreeItemId();
32458 wxPyEndAllowThreads(__tstate);
32459 if (PyErr_Occurred()) SWIG_fail;
32460 }
32461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32462 return resultobj;
32463fail:
32464 return NULL;
d55e5bfc
RD
32465}
32466
32467
554f62e9
RD
32468SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32469 PyObject *resultobj = 0;
32470 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32471 void *argp1 = 0 ;
32472 int res1 = 0 ;
32473 PyObject *swig_obj[1] ;
32474
32475 if (!args) SWIG_fail;
32476 swig_obj[0] = args;
32477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32478 if (!SWIG_IsOK(res1)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32480 }
32481 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32482 {
32483 PyThreadState* __tstate = wxPyBeginAllowThreads();
32484 delete arg1;
d55e5bfc 32485
554f62e9
RD
32486 wxPyEndAllowThreads(__tstate);
32487 if (PyErr_Occurred()) SWIG_fail;
32488 }
32489 resultobj = SWIG_Py_Void();
32490 return resultobj;
32491fail:
32492 return NULL;
d55e5bfc
RD
32493}
32494
32495
554f62e9
RD
32496SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32497 PyObject *resultobj = 0;
32498 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32499 bool result;
32500 void *argp1 = 0 ;
32501 int res1 = 0 ;
32502 PyObject *swig_obj[1] ;
32503
32504 if (!args) SWIG_fail;
32505 swig_obj[0] = args;
32506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32507 if (!SWIG_IsOK(res1)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32509 }
32510 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32511 {
32512 PyThreadState* __tstate = wxPyBeginAllowThreads();
32513 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32514 wxPyEndAllowThreads(__tstate);
32515 if (PyErr_Occurred()) SWIG_fail;
32516 }
32517 {
32518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32519 }
32520 return resultobj;
32521fail:
32522 return NULL;
32523}
32524
32525
32526SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32527 PyObject *resultobj = 0;
32528 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32529 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32530 bool result;
32531 void *argp1 = 0 ;
32532 int res1 = 0 ;
32533 void *argp2 = 0 ;
32534 int res2 = 0 ;
32535 PyObject * obj0 = 0 ;
32536 PyObject * obj1 = 0 ;
32537 char * kwnames[] = {
32538 (char *) "self",(char *) "other", NULL
32539 };
32540
32541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32543 if (!SWIG_IsOK(res1)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32545 }
32546 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32548 if (!SWIG_IsOK(res2)) {
32549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32550 }
32551 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32552 {
32553 PyThreadState* __tstate = wxPyBeginAllowThreads();
32554 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32555 wxPyEndAllowThreads(__tstate);
32556 if (PyErr_Occurred()) SWIG_fail;
32557 }
32558 {
32559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32560 }
32561 return resultobj;
32562fail:
32563 return NULL;
32564}
32565
32566
32567SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32568 PyObject *resultobj = 0;
32569 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32570 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32571 bool result;
32572 void *argp1 = 0 ;
32573 int res1 = 0 ;
32574 void *argp2 = 0 ;
32575 int res2 = 0 ;
32576 PyObject * obj0 = 0 ;
32577 PyObject * obj1 = 0 ;
32578 char * kwnames[] = {
32579 (char *) "self",(char *) "other", NULL
32580 };
32581
32582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32584 if (!SWIG_IsOK(res1)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32586 }
32587 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32589 if (!SWIG_IsOK(res2)) {
32590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32591 }
32592 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32593 {
32594 PyThreadState* __tstate = wxPyBeginAllowThreads();
32595 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32596 wxPyEndAllowThreads(__tstate);
32597 if (PyErr_Occurred()) SWIG_fail;
32598 }
32599 {
32600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32601 }
32602 return resultobj;
32603fail:
32604 return NULL;
d55e5bfc
RD
32605}
32606
32607
554f62e9
RD
32608SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32609 PyObject *resultobj = 0;
32610 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32611 void *arg2 = (void *) 0 ;
32612 void *argp1 = 0 ;
32613 int res1 = 0 ;
32614 int res2 ;
32615 PyObject *swig_obj[2] ;
32616
32617 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32619 if (!SWIG_IsOK(res1)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32621 }
32622 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32623 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32624 if (!SWIG_IsOK(res2)) {
32625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32626 }
32627 if (arg1) (arg1)->m_pItem = arg2;
32628
32629 resultobj = SWIG_Py_Void();
32630 return resultobj;
32631fail:
32632 return NULL;
d55e5bfc
RD
32633}
32634
32635
554f62e9
RD
32636SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32637 PyObject *resultobj = 0;
32638 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32639 void *result = 0 ;
32640 void *argp1 = 0 ;
32641 int res1 = 0 ;
32642 PyObject *swig_obj[1] ;
32643
32644 if (!args) SWIG_fail;
32645 swig_obj[0] = args;
32646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32647 if (!SWIG_IsOK(res1)) {
32648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32649 }
32650 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32651 result = (void *) ((arg1)->m_pItem);
32652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32653 return resultobj;
32654fail:
32655 return NULL;
d55e5bfc
RD
32656}
32657
32658
554f62e9
RD
32659SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32660 PyObject *obj;
32661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32662 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32663 return SWIG_Py_Void();
d55e5bfc
RD
32664}
32665
554f62e9
RD
32666SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32667 return SWIG_Python_InitShadowInstance(args);
32668}
d55e5bfc 32669
554f62e9
RD
32670SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32671 PyObject *resultobj = 0;
32672 PyObject *arg1 = (PyObject *) NULL ;
32673 wxPyTreeItemData *result = 0 ;
32674 PyObject * obj0 = 0 ;
32675 char * kwnames[] = {
32676 (char *) "obj", NULL
32677 };
32678
32679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32680 if (obj0) {
32681 arg1 = obj0;
32682 }
32683 {
32684 PyThreadState* __tstate = wxPyBeginAllowThreads();
32685 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32686 wxPyEndAllowThreads(__tstate);
32687 if (PyErr_Occurred()) SWIG_fail;
32688 }
32689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32690 return resultobj;
32691fail:
32692 return NULL;
d55e5bfc
RD
32693}
32694
32695
554f62e9
RD
32696SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32697 PyObject *resultobj = 0;
32698 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32699 void *argp1 = 0 ;
32700 int res1 = 0 ;
32701 PyObject *swig_obj[1] ;
32702
32703 if (!args) SWIG_fail;
32704 swig_obj[0] = args;
32705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32706 if (!SWIG_IsOK(res1)) {
32707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32708 }
32709 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32710 {
32711 PyThreadState* __tstate = wxPyBeginAllowThreads();
32712 delete arg1;
d55e5bfc 32713
554f62e9
RD
32714 wxPyEndAllowThreads(__tstate);
32715 if (PyErr_Occurred()) SWIG_fail;
32716 }
32717 resultobj = SWIG_Py_Void();
32718 return resultobj;
32719fail:
32720 return NULL;
d55e5bfc
RD
32721}
32722
32723
554f62e9
RD
32724SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32725 PyObject *resultobj = 0;
32726 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32727 PyObject *result = 0 ;
32728 void *argp1 = 0 ;
32729 int res1 = 0 ;
32730 PyObject *swig_obj[1] ;
32731
32732 if (!args) SWIG_fail;
32733 swig_obj[0] = args;
32734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32735 if (!SWIG_IsOK(res1)) {
32736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32737 }
32738 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32739 {
32740 PyThreadState* __tstate = wxPyBeginAllowThreads();
32741 result = (PyObject *)(arg1)->GetData();
32742 wxPyEndAllowThreads(__tstate);
32743 if (PyErr_Occurred()) SWIG_fail;
32744 }
32745 resultobj = result;
32746 return resultobj;
32747fail:
32748 return NULL;
32749}
32750
32751
32752SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32753 PyObject *resultobj = 0;
32754 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32755 PyObject *arg2 = (PyObject *) 0 ;
32756 void *argp1 = 0 ;
32757 int res1 = 0 ;
32758 PyObject * obj0 = 0 ;
32759 PyObject * obj1 = 0 ;
32760 char * kwnames[] = {
32761 (char *) "self",(char *) "obj", NULL
32762 };
32763
32764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32766 if (!SWIG_IsOK(res1)) {
32767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32768 }
32769 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32770 arg2 = obj1;
32771 {
32772 PyThreadState* __tstate = wxPyBeginAllowThreads();
32773 (arg1)->SetData(arg2);
32774 wxPyEndAllowThreads(__tstate);
32775 if (PyErr_Occurred()) SWIG_fail;
32776 }
32777 resultobj = SWIG_Py_Void();
32778 return resultobj;
32779fail:
32780 return NULL;
d55e5bfc
RD
32781}
32782
32783
554f62e9
RD
32784SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32785 PyObject *resultobj = 0;
32786 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32787 wxTreeItemId *result = 0 ;
32788 void *argp1 = 0 ;
32789 int res1 = 0 ;
32790 PyObject *swig_obj[1] ;
32791
32792 if (!args) SWIG_fail;
32793 swig_obj[0] = args;
32794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32795 if (!SWIG_IsOK(res1)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32797 }
32798 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32799 {
32800 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 32801 {
554f62e9
RD
32802 wxTreeItemId const &_result_ref = (arg1)->GetId();
32803 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 32804 }
554f62e9
RD
32805 wxPyEndAllowThreads(__tstate);
32806 if (PyErr_Occurred()) SWIG_fail;
32807 }
32808 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32809 return resultobj;
32810fail:
32811 return NULL;
32812}
32813
32814
32815SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32816 PyObject *resultobj = 0;
32817 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32818 wxTreeItemId *arg2 = 0 ;
32819 void *argp1 = 0 ;
32820 int res1 = 0 ;
32821 void *argp2 = 0 ;
32822 int res2 = 0 ;
32823 PyObject * obj0 = 0 ;
32824 PyObject * obj1 = 0 ;
32825 char * kwnames[] = {
32826 (char *) "self",(char *) "id", NULL
32827 };
32828
32829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
32830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32831 if (!SWIG_IsOK(res1)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32833 }
32834 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32835 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32836 if (!SWIG_IsOK(res2)) {
32837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32838 }
32839 if (!argp2) {
32840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32841 }
32842 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32843 {
32844 PyThreadState* __tstate = wxPyBeginAllowThreads();
32845 (arg1)->SetId((wxTreeItemId const &)*arg2);
32846 wxPyEndAllowThreads(__tstate);
32847 if (PyErr_Occurred()) SWIG_fail;
32848 }
32849 resultobj = SWIG_Py_Void();
32850 return resultobj;
32851fail:
32852 return NULL;
d55e5bfc
RD
32853}
32854
32855
554f62e9
RD
32856SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32857 PyObject *resultobj = 0;
32858 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32859 void *argp1 = 0 ;
32860 int res1 = 0 ;
32861 PyObject *swig_obj[1] ;
32862
32863 if (!args) SWIG_fail;
32864 swig_obj[0] = args;
32865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32866 if (!SWIG_IsOK(res1)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32868 }
32869 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32870 {
32871 PyThreadState* __tstate = wxPyBeginAllowThreads();
32872 wxPyTreeItemData_Destroy(arg1);
32873 wxPyEndAllowThreads(__tstate);
32874 if (PyErr_Occurred()) SWIG_fail;
32875 }
32876 resultobj = SWIG_Py_Void();
32877 return resultobj;
32878fail:
32879 return NULL;
d55e5bfc
RD
32880}
32881
32882
554f62e9
RD
32883SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32884 PyObject *obj;
32885 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
32887 return SWIG_Py_Void();
d55e5bfc
RD
32888}
32889
554f62e9
RD
32890SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32891 return SWIG_Python_InitShadowInstance(args);
32892}
d55e5bfc 32893
554f62e9
RD
32894SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32895 PyObject *resultobj = 0;
32896 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32897 int arg2 = (int) 0 ;
32898 wxTreeEvent *result = 0 ;
32899 int val1 ;
32900 int ecode1 = 0 ;
32901 int val2 ;
32902 int ecode2 = 0 ;
32903 PyObject * obj0 = 0 ;
32904 PyObject * obj1 = 0 ;
32905 char * kwnames[] = {
32906 (char *) "commandType",(char *) "id", NULL
32907 };
32908
32909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) SWIG_fail;
32910 if (obj0) {
32911 ecode1 = SWIG_AsVal_int(obj0, &val1);
32912 if (!SWIG_IsOK(ecode1)) {
32913 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32914 }
32915 arg1 = static_cast< wxEventType >(val1);
32916 }
32917 if (obj1) {
32918 ecode2 = SWIG_AsVal_int(obj1, &val2);
32919 if (!SWIG_IsOK(ecode2)) {
32920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32921 }
32922 arg2 = static_cast< int >(val2);
32923 }
32924 {
32925 PyThreadState* __tstate = wxPyBeginAllowThreads();
32926 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
32931 return resultobj;
32932fail:
32933 return NULL;
d55e5bfc
RD
32934}
32935
32936
554f62e9
RD
32937SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32938 PyObject *resultobj = 0;
32939 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32940 wxTreeItemId result;
32941 void *argp1 = 0 ;
32942 int res1 = 0 ;
32943 PyObject *swig_obj[1] ;
32944
32945 if (!args) SWIG_fail;
32946 swig_obj[0] = args;
32947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32948 if (!SWIG_IsOK(res1)) {
32949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32950 }
32951 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32952 {
32953 PyThreadState* __tstate = wxPyBeginAllowThreads();
32954 result = ((wxTreeEvent const *)arg1)->GetItem();
32955 wxPyEndAllowThreads(__tstate);
32956 if (PyErr_Occurred()) SWIG_fail;
32957 }
32958 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32959 return resultobj;
32960fail:
32961 return NULL;
32962}
32963
32964
32965SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32966 PyObject *resultobj = 0;
32967 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32968 wxTreeItemId *arg2 = 0 ;
32969 void *argp1 = 0 ;
32970 int res1 = 0 ;
32971 void *argp2 = 0 ;
32972 int res2 = 0 ;
32973 PyObject * obj0 = 0 ;
32974 PyObject * obj1 = 0 ;
32975 char * kwnames[] = {
32976 (char *) "self",(char *) "item", NULL
32977 };
32978
32979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
32980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32981 if (!SWIG_IsOK(res1)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32983 }
32984 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32985 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32986 if (!SWIG_IsOK(res2)) {
32987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32988 }
32989 if (!argp2) {
32990 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32991 }
32992 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32993 {
32994 PyThreadState* __tstate = wxPyBeginAllowThreads();
32995 (arg1)->SetItem((wxTreeItemId const &)*arg2);
32996 wxPyEndAllowThreads(__tstate);
32997 if (PyErr_Occurred()) SWIG_fail;
32998 }
32999 resultobj = SWIG_Py_Void();
33000 return resultobj;
33001fail:
33002 return NULL;
d55e5bfc
RD
33003}
33004
33005
554f62e9
RD
33006SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33007 PyObject *resultobj = 0;
33008 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33009 wxTreeItemId result;
33010 void *argp1 = 0 ;
33011 int res1 = 0 ;
33012 PyObject *swig_obj[1] ;
33013
33014 if (!args) SWIG_fail;
33015 swig_obj[0] = args;
33016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33017 if (!SWIG_IsOK(res1)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33019 }
33020 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33021 {
33022 PyThreadState* __tstate = wxPyBeginAllowThreads();
33023 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33024 wxPyEndAllowThreads(__tstate);
33025 if (PyErr_Occurred()) SWIG_fail;
33026 }
33027 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33028 return resultobj;
33029fail:
33030 return NULL;
33031}
33032
33033
33034SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33035 PyObject *resultobj = 0;
33036 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33037 wxTreeItemId *arg2 = 0 ;
33038 void *argp1 = 0 ;
33039 int res1 = 0 ;
33040 void *argp2 = 0 ;
33041 int res2 = 0 ;
33042 PyObject * obj0 = 0 ;
33043 PyObject * obj1 = 0 ;
33044 char * kwnames[] = {
33045 (char *) "self",(char *) "item", NULL
33046 };
33047
33048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33050 if (!SWIG_IsOK(res1)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33052 }
33053 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33055 if (!SWIG_IsOK(res2)) {
33056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33057 }
33058 if (!argp2) {
33059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33060 }
33061 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33062 {
33063 PyThreadState* __tstate = wxPyBeginAllowThreads();
33064 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33065 wxPyEndAllowThreads(__tstate);
33066 if (PyErr_Occurred()) SWIG_fail;
33067 }
33068 resultobj = SWIG_Py_Void();
33069 return resultobj;
33070fail:
33071 return NULL;
d55e5bfc
RD
33072}
33073
33074
554f62e9
RD
33075SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33076 PyObject *resultobj = 0;
33077 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33078 wxPoint result;
33079 void *argp1 = 0 ;
33080 int res1 = 0 ;
33081 PyObject *swig_obj[1] ;
33082
33083 if (!args) SWIG_fail;
33084 swig_obj[0] = args;
33085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33086 if (!SWIG_IsOK(res1)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33088 }
33089 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33090 {
33091 PyThreadState* __tstate = wxPyBeginAllowThreads();
33092 result = ((wxTreeEvent const *)arg1)->GetPoint();
33093 wxPyEndAllowThreads(__tstate);
33094 if (PyErr_Occurred()) SWIG_fail;
33095 }
33096 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33097 return resultobj;
33098fail:
33099 return NULL;
33100}
33101
33102
33103SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33104 PyObject *resultobj = 0;
33105 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33106 wxPoint *arg2 = 0 ;
33107 void *argp1 = 0 ;
33108 int res1 = 0 ;
33109 wxPoint temp2 ;
33110 PyObject * obj0 = 0 ;
33111 PyObject * obj1 = 0 ;
33112 char * kwnames[] = {
33113 (char *) "self",(char *) "pt", NULL
33114 };
33115
33116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33118 if (!SWIG_IsOK(res1)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33120 }
33121 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33122 {
33123 arg2 = &temp2;
33124 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33125 }
33126 {
33127 PyThreadState* __tstate = wxPyBeginAllowThreads();
33128 (arg1)->SetPoint((wxPoint const &)*arg2);
33129 wxPyEndAllowThreads(__tstate);
33130 if (PyErr_Occurred()) SWIG_fail;
33131 }
33132 resultobj = SWIG_Py_Void();
33133 return resultobj;
33134fail:
33135 return NULL;
d55e5bfc
RD
33136}
33137
33138
554f62e9
RD
33139SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33140 PyObject *resultobj = 0;
33141 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33142 wxKeyEvent *result = 0 ;
33143 void *argp1 = 0 ;
33144 int res1 = 0 ;
33145 PyObject *swig_obj[1] ;
33146
33147 if (!args) SWIG_fail;
33148 swig_obj[0] = args;
33149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33150 if (!SWIG_IsOK(res1)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33152 }
33153 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33154 {
33155 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33156 {
554f62e9
RD
33157 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33158 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33159 }
554f62e9
RD
33160 wxPyEndAllowThreads(__tstate);
33161 if (PyErr_Occurred()) SWIG_fail;
33162 }
33163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33164 return resultobj;
33165fail:
33166 return NULL;
d55e5bfc
RD
33167}
33168
33169
554f62e9
RD
33170SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33171 PyObject *resultobj = 0;
33172 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33173 int result;
33174 void *argp1 = 0 ;
33175 int res1 = 0 ;
33176 PyObject *swig_obj[1] ;
33177
33178 if (!args) SWIG_fail;
33179 swig_obj[0] = args;
33180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33181 if (!SWIG_IsOK(res1)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33183 }
33184 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33185 {
33186 PyThreadState* __tstate = wxPyBeginAllowThreads();
33187 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33188 wxPyEndAllowThreads(__tstate);
33189 if (PyErr_Occurred()) SWIG_fail;
33190 }
33191 resultobj = SWIG_From_int(static_cast< int >(result));
33192 return resultobj;
33193fail:
33194 return NULL;
33195}
33196
33197
33198SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33199 PyObject *resultobj = 0;
33200 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33201 wxKeyEvent *arg2 = 0 ;
33202 void *argp1 = 0 ;
33203 int res1 = 0 ;
33204 void *argp2 = 0 ;
33205 int res2 = 0 ;
33206 PyObject * obj0 = 0 ;
33207 PyObject * obj1 = 0 ;
33208 char * kwnames[] = {
33209 (char *) "self",(char *) "evt", NULL
33210 };
33211
33212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33214 if (!SWIG_IsOK(res1)) {
33215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33216 }
33217 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33218 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33219 if (!SWIG_IsOK(res2)) {
33220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33221 }
33222 if (!argp2) {
33223 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33224 }
33225 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33226 {
33227 PyThreadState* __tstate = wxPyBeginAllowThreads();
33228 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33229 wxPyEndAllowThreads(__tstate);
33230 if (PyErr_Occurred()) SWIG_fail;
33231 }
33232 resultobj = SWIG_Py_Void();
33233 return resultobj;
33234fail:
33235 return NULL;
d55e5bfc
RD
33236}
33237
33238
554f62e9
RD
33239SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33240 PyObject *resultobj = 0;
33241 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33242 wxString *result = 0 ;
33243 void *argp1 = 0 ;
33244 int res1 = 0 ;
33245 PyObject *swig_obj[1] ;
33246
33247 if (!args) SWIG_fail;
33248 swig_obj[0] = args;
33249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33250 if (!SWIG_IsOK(res1)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33252 }
33253 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33254 {
33255 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33256 {
554f62e9
RD
33257 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33258 result = (wxString *) &_result_ref;
d55e5bfc 33259 }
554f62e9
RD
33260 wxPyEndAllowThreads(__tstate);
33261 if (PyErr_Occurred()) SWIG_fail;
33262 }
33263 {
33264#if wxUSE_UNICODE
33265 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33266#else
33267 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33268#endif
33269 }
33270 return resultobj;
33271fail:
33272 return NULL;
33273}
33274
33275
33276SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33277 PyObject *resultobj = 0;
33278 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33279 wxString *arg2 = 0 ;
33280 void *argp1 = 0 ;
33281 int res1 = 0 ;
33282 bool temp2 = false ;
33283 PyObject * obj0 = 0 ;
33284 PyObject * obj1 = 0 ;
33285 char * kwnames[] = {
33286 (char *) "self",(char *) "label", NULL
33287 };
33288
33289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33291 if (!SWIG_IsOK(res1)) {
33292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33293 }
33294 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33295 {
33296 arg2 = wxString_in_helper(obj1);
33297 if (arg2 == NULL) SWIG_fail;
33298 temp2 = true;
33299 }
33300 {
33301 PyThreadState* __tstate = wxPyBeginAllowThreads();
33302 (arg1)->SetLabel((wxString const &)*arg2);
33303 wxPyEndAllowThreads(__tstate);
33304 if (PyErr_Occurred()) SWIG_fail;
33305 }
33306 resultobj = SWIG_Py_Void();
33307 {
33308 if (temp2)
33309 delete arg2;
33310 }
33311 return resultobj;
33312fail:
33313 {
33314 if (temp2)
33315 delete arg2;
33316 }
33317 return NULL;
d55e5bfc
RD
33318}
33319
33320
554f62e9
RD
33321SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33322 PyObject *resultobj = 0;
33323 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33324 bool result;
33325 void *argp1 = 0 ;
33326 int res1 = 0 ;
33327 PyObject *swig_obj[1] ;
33328
33329 if (!args) SWIG_fail;
33330 swig_obj[0] = args;
33331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33332 if (!SWIG_IsOK(res1)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33334 }
33335 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33336 {
33337 PyThreadState* __tstate = wxPyBeginAllowThreads();
33338 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33339 wxPyEndAllowThreads(__tstate);
33340 if (PyErr_Occurred()) SWIG_fail;
33341 }
33342 {
33343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33344 }
33345 return resultobj;
33346fail:
33347 return NULL;
33348}
33349
33350
33351SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33352 PyObject *resultobj = 0;
33353 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33354 bool arg2 ;
33355 void *argp1 = 0 ;
33356 int res1 = 0 ;
33357 bool val2 ;
33358 int ecode2 = 0 ;
33359 PyObject * obj0 = 0 ;
33360 PyObject * obj1 = 0 ;
33361 char * kwnames[] = {
33362 (char *) "self",(char *) "editCancelled", NULL
33363 };
33364
33365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33367 if (!SWIG_IsOK(res1)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33369 }
33370 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33371 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33372 if (!SWIG_IsOK(ecode2)) {
33373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33374 }
33375 arg2 = static_cast< bool >(val2);
33376 {
33377 PyThreadState* __tstate = wxPyBeginAllowThreads();
33378 (arg1)->SetEditCanceled(arg2);
33379 wxPyEndAllowThreads(__tstate);
33380 if (PyErr_Occurred()) SWIG_fail;
33381 }
33382 resultobj = SWIG_Py_Void();
33383 return resultobj;
33384fail:
33385 return NULL;
33386}
33387
33388
33389SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33390 PyObject *resultobj = 0;
33391 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33392 wxString *arg2 = 0 ;
33393 void *argp1 = 0 ;
33394 int res1 = 0 ;
33395 bool temp2 = false ;
33396 PyObject * obj0 = 0 ;
33397 PyObject * obj1 = 0 ;
33398 char * kwnames[] = {
33399 (char *) "self",(char *) "toolTip", NULL
33400 };
33401
33402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33404 if (!SWIG_IsOK(res1)) {
33405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33406 }
33407 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33408 {
33409 arg2 = wxString_in_helper(obj1);
33410 if (arg2 == NULL) SWIG_fail;
33411 temp2 = true;
33412 }
33413 {
33414 PyThreadState* __tstate = wxPyBeginAllowThreads();
33415 (arg1)->SetToolTip((wxString const &)*arg2);
33416 wxPyEndAllowThreads(__tstate);
33417 if (PyErr_Occurred()) SWIG_fail;
33418 }
33419 resultobj = SWIG_Py_Void();
33420 {
33421 if (temp2)
33422 delete arg2;
33423 }
33424 return resultobj;
33425fail:
33426 {
33427 if (temp2)
33428 delete arg2;
33429 }
33430 return NULL;
33431}
33432
33433
33434SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33435 PyObject *resultobj = 0;
33436 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33437 wxString result;
33438 void *argp1 = 0 ;
33439 int res1 = 0 ;
33440 PyObject *swig_obj[1] ;
33441
33442 if (!args) SWIG_fail;
33443 swig_obj[0] = args;
33444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33445 if (!SWIG_IsOK(res1)) {
33446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33447 }
33448 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33449 {
33450 PyThreadState* __tstate = wxPyBeginAllowThreads();
33451 result = (arg1)->GetToolTip();
33452 wxPyEndAllowThreads(__tstate);
33453 if (PyErr_Occurred()) SWIG_fail;
33454 }
33455 {
33456#if wxUSE_UNICODE
33457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33458#else
33459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33460#endif
33461 }
33462 return resultobj;
33463fail:
33464 return NULL;
33465}
33466
33467
33468SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33469 PyObject *obj;
33470 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33471 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33472 return SWIG_Py_Void();
33473}
33474
33475SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33476 return SWIG_Python_InitShadowInstance(args);
33477}
33478
33479SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33480 PyObject *resultobj = 0;
33481 wxWindow *arg1 = (wxWindow *) 0 ;
33482 int arg2 = (int) -1 ;
33483 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33484 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33485 wxSize const &arg4_defvalue = wxDefaultSize ;
33486 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33487 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33488 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33489 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33490 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33491 wxString *arg7 = (wxString *) &arg7_defvalue ;
33492 wxPyTreeCtrl *result = 0 ;
33493 void *argp1 = 0 ;
33494 int res1 = 0 ;
33495 int val2 ;
33496 int ecode2 = 0 ;
33497 wxPoint temp3 ;
33498 wxSize temp4 ;
33499 long val5 ;
33500 int ecode5 = 0 ;
33501 void *argp6 = 0 ;
33502 int res6 = 0 ;
33503 bool temp7 = false ;
33504 PyObject * obj0 = 0 ;
33505 PyObject * obj1 = 0 ;
33506 PyObject * obj2 = 0 ;
33507 PyObject * obj3 = 0 ;
33508 PyObject * obj4 = 0 ;
33509 PyObject * obj5 = 0 ;
33510 PyObject * obj6 = 0 ;
33511 char * kwnames[] = {
33512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33513 };
33514
33515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33517 if (!SWIG_IsOK(res1)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33519 }
33520 arg1 = reinterpret_cast< wxWindow * >(argp1);
33521 if (obj1) {
33522 ecode2 = SWIG_AsVal_int(obj1, &val2);
33523 if (!SWIG_IsOK(ecode2)) {
33524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33525 }
33526 arg2 = static_cast< int >(val2);
33527 }
33528 if (obj2) {
d55e5bfc 33529 {
554f62e9
RD
33530 arg3 = &temp3;
33531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33532 }
554f62e9
RD
33533 }
33534 if (obj3) {
d55e5bfc 33535 {
554f62e9
RD
33536 arg4 = &temp4;
33537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33538 }
554f62e9
RD
33539 }
33540 if (obj4) {
33541 ecode5 = SWIG_AsVal_long(obj4, &val5);
33542 if (!SWIG_IsOK(ecode5)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33544 }
33545 arg5 = static_cast< long >(val5);
33546 }
33547 if (obj5) {
33548 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33549 if (!SWIG_IsOK(res6)) {
33550 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33551 }
554f62e9
RD
33552 if (!argp6) {
33553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33554 }
554f62e9
RD
33555 arg6 = reinterpret_cast< wxValidator * >(argp6);
33556 }
33557 if (obj6) {
d55e5bfc 33558 {
554f62e9
RD
33559 arg7 = wxString_in_helper(obj6);
33560 if (arg7 == NULL) SWIG_fail;
33561 temp7 = true;
d55e5bfc 33562 }
554f62e9
RD
33563 }
33564 {
33565 if (!wxPyCheckForApp()) SWIG_fail;
33566 PyThreadState* __tstate = wxPyBeginAllowThreads();
33567 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33568 wxPyEndAllowThreads(__tstate);
33569 if (PyErr_Occurred()) SWIG_fail;
33570 }
33571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33572 {
33573 if (temp7)
33574 delete arg7;
33575 }
33576 return resultobj;
33577fail:
33578 {
33579 if (temp7)
33580 delete arg7;
33581 }
33582 return NULL;
d55e5bfc
RD
33583}
33584
33585
554f62e9
RD
33586SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33587 PyObject *resultobj = 0;
33588 wxPyTreeCtrl *result = 0 ;
33589
33590 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33591 {
33592 if (!wxPyCheckForApp()) SWIG_fail;
33593 PyThreadState* __tstate = wxPyBeginAllowThreads();
33594 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33595 wxPyEndAllowThreads(__tstate);
33596 if (PyErr_Occurred()) SWIG_fail;
33597 }
33598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33599 return resultobj;
33600fail:
33601 return NULL;
33602}
33603
33604
33605SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33606 PyObject *resultobj = 0;
33607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33608 wxWindow *arg2 = (wxWindow *) 0 ;
33609 int arg3 = (int) -1 ;
33610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33612 wxSize const &arg5_defvalue = wxDefaultSize ;
33613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33614 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33615 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33616 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33617 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33618 wxString *arg8 = (wxString *) &arg8_defvalue ;
33619 bool result;
33620 void *argp1 = 0 ;
33621 int res1 = 0 ;
33622 void *argp2 = 0 ;
33623 int res2 = 0 ;
33624 int val3 ;
33625 int ecode3 = 0 ;
33626 wxPoint temp4 ;
33627 wxSize temp5 ;
33628 long val6 ;
33629 int ecode6 = 0 ;
33630 void *argp7 = 0 ;
33631 int res7 = 0 ;
33632 bool temp8 = false ;
33633 PyObject * obj0 = 0 ;
33634 PyObject * obj1 = 0 ;
33635 PyObject * obj2 = 0 ;
33636 PyObject * obj3 = 0 ;
33637 PyObject * obj4 = 0 ;
33638 PyObject * obj5 = 0 ;
33639 PyObject * obj6 = 0 ;
33640 PyObject * obj7 = 0 ;
33641 char * kwnames[] = {
33642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33643 };
33644
33645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33647 if (!SWIG_IsOK(res1)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33649 }
33650 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33651 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33652 if (!SWIG_IsOK(res2)) {
33653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33654 }
33655 arg2 = reinterpret_cast< wxWindow * >(argp2);
33656 if (obj2) {
33657 ecode3 = SWIG_AsVal_int(obj2, &val3);
33658 if (!SWIG_IsOK(ecode3)) {
33659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33660 }
33661 arg3 = static_cast< int >(val3);
33662 }
33663 if (obj3) {
d55e5bfc 33664 {
554f62e9
RD
33665 arg4 = &temp4;
33666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33667 }
554f62e9
RD
33668 }
33669 if (obj4) {
d55e5bfc 33670 {
554f62e9
RD
33671 arg5 = &temp5;
33672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 33673 }
554f62e9
RD
33674 }
33675 if (obj5) {
33676 ecode6 = SWIG_AsVal_long(obj5, &val6);
33677 if (!SWIG_IsOK(ecode6)) {
33678 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33679 }
33680 arg6 = static_cast< long >(val6);
33681 }
33682 if (obj6) {
33683 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
33684 if (!SWIG_IsOK(res7)) {
33685 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33686 }
554f62e9
RD
33687 if (!argp7) {
33688 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33689 }
554f62e9
RD
33690 arg7 = reinterpret_cast< wxValidator * >(argp7);
33691 }
33692 if (obj7) {
d55e5bfc 33693 {
554f62e9
RD
33694 arg8 = wxString_in_helper(obj7);
33695 if (arg8 == NULL) SWIG_fail;
33696 temp8 = true;
d55e5bfc 33697 }
554f62e9
RD
33698 }
33699 {
33700 PyThreadState* __tstate = wxPyBeginAllowThreads();
33701 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33702 wxPyEndAllowThreads(__tstate);
33703 if (PyErr_Occurred()) SWIG_fail;
33704 }
33705 {
33706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33707 }
33708 {
33709 if (temp8)
33710 delete arg8;
33711 }
33712 return resultobj;
33713fail:
33714 {
33715 if (temp8)
33716 delete arg8;
33717 }
33718 return NULL;
33719}
33720
33721
33722SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33723 PyObject *resultobj = 0;
33724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33725 PyObject *arg2 = (PyObject *) 0 ;
33726 PyObject *arg3 = (PyObject *) 0 ;
33727 void *argp1 = 0 ;
33728 int res1 = 0 ;
33729 PyObject * obj0 = 0 ;
33730 PyObject * obj1 = 0 ;
33731 PyObject * obj2 = 0 ;
33732 char * kwnames[] = {
33733 (char *) "self",(char *) "self",(char *) "_class", NULL
33734 };
33735
33736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33738 if (!SWIG_IsOK(res1)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33740 }
33741 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33742 arg2 = obj1;
33743 arg3 = obj2;
33744 {
33745 PyThreadState* __tstate = wxPyBeginAllowThreads();
33746 (arg1)->_setCallbackInfo(arg2,arg3);
33747 wxPyEndAllowThreads(__tstate);
33748 if (PyErr_Occurred()) SWIG_fail;
33749 }
33750 resultobj = SWIG_Py_Void();
33751 return resultobj;
33752fail:
33753 return NULL;
d55e5bfc
RD
33754}
33755
33756
554f62e9
RD
33757SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33758 PyObject *resultobj = 0;
33759 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 33760 unsigned int result;
554f62e9
RD
33761 void *argp1 = 0 ;
33762 int res1 = 0 ;
33763 PyObject *swig_obj[1] ;
33764
33765 if (!args) SWIG_fail;
33766 swig_obj[0] = args;
33767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33768 if (!SWIG_IsOK(res1)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33770 }
33771 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33772 {
33773 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 33774 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
554f62e9
RD
33775 wxPyEndAllowThreads(__tstate);
33776 if (PyErr_Occurred()) SWIG_fail;
33777 }
e9d6f3a4 33778 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
33779 return resultobj;
33780fail:
33781 return NULL;
d55e5bfc
RD
33782}
33783
33784
554f62e9
RD
33785SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33786 PyObject *resultobj = 0;
33787 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33788 unsigned int result;
33789 void *argp1 = 0 ;
33790 int res1 = 0 ;
33791 PyObject *swig_obj[1] ;
33792
33793 if (!args) SWIG_fail;
33794 swig_obj[0] = args;
33795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33796 if (!SWIG_IsOK(res1)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33798 }
33799 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33800 {
33801 PyThreadState* __tstate = wxPyBeginAllowThreads();
33802 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
33803 wxPyEndAllowThreads(__tstate);
33804 if (PyErr_Occurred()) SWIG_fail;
33805 }
33806 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33807 return resultobj;
33808fail:
33809 return NULL;
33810}
33811
33812
33813SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33814 PyObject *resultobj = 0;
33815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33816 unsigned int arg2 ;
33817 void *argp1 = 0 ;
33818 int res1 = 0 ;
33819 unsigned int val2 ;
33820 int ecode2 = 0 ;
33821 PyObject * obj0 = 0 ;
33822 PyObject * obj1 = 0 ;
33823 char * kwnames[] = {
33824 (char *) "self",(char *) "indent", NULL
33825 };
33826
33827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
33828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33829 if (!SWIG_IsOK(res1)) {
33830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33831 }
33832 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33833 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33834 if (!SWIG_IsOK(ecode2)) {
33835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33836 }
33837 arg2 = static_cast< unsigned int >(val2);
33838 {
33839 PyThreadState* __tstate = wxPyBeginAllowThreads();
33840 (arg1)->SetIndent(arg2);
33841 wxPyEndAllowThreads(__tstate);
33842 if (PyErr_Occurred()) SWIG_fail;
33843 }
33844 resultobj = SWIG_Py_Void();
33845 return resultobj;
33846fail:
33847 return NULL;
d55e5bfc
RD
33848}
33849
33850
554f62e9
RD
33851SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33852 PyObject *resultobj = 0;
33853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33854 unsigned int result;
33855 void *argp1 = 0 ;
33856 int res1 = 0 ;
33857 PyObject *swig_obj[1] ;
33858
33859 if (!args) SWIG_fail;
33860 swig_obj[0] = args;
33861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33862 if (!SWIG_IsOK(res1)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33864 }
33865 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33866 {
33867 PyThreadState* __tstate = wxPyBeginAllowThreads();
33868 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
33869 wxPyEndAllowThreads(__tstate);
33870 if (PyErr_Occurred()) SWIG_fail;
33871 }
33872 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33873 return resultobj;
33874fail:
33875 return NULL;
33876}
33877
33878
33879SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33880 PyObject *resultobj = 0;
33881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33882 unsigned int arg2 ;
33883 void *argp1 = 0 ;
33884 int res1 = 0 ;
33885 unsigned int val2 ;
33886 int ecode2 = 0 ;
33887 PyObject * obj0 = 0 ;
33888 PyObject * obj1 = 0 ;
33889 char * kwnames[] = {
33890 (char *) "self",(char *) "spacing", NULL
33891 };
33892
33893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
33894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33895 if (!SWIG_IsOK(res1)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33897 }
33898 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33899 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33900 if (!SWIG_IsOK(ecode2)) {
33901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33902 }
33903 arg2 = static_cast< unsigned int >(val2);
33904 {
33905 PyThreadState* __tstate = wxPyBeginAllowThreads();
33906 (arg1)->SetSpacing(arg2);
33907 wxPyEndAllowThreads(__tstate);
33908 if (PyErr_Occurred()) SWIG_fail;
33909 }
33910 resultobj = SWIG_Py_Void();
33911 return resultobj;
33912fail:
33913 return NULL;
d55e5bfc
RD
33914}
33915
33916
554f62e9
RD
33917SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33918 PyObject *resultobj = 0;
33919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33920 wxImageList *result = 0 ;
33921 void *argp1 = 0 ;
33922 int res1 = 0 ;
33923 PyObject *swig_obj[1] ;
33924
33925 if (!args) SWIG_fail;
33926 swig_obj[0] = args;
33927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33928 if (!SWIG_IsOK(res1)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33930 }
33931 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33932 {
33933 PyThreadState* __tstate = wxPyBeginAllowThreads();
33934 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
33935 wxPyEndAllowThreads(__tstate);
33936 if (PyErr_Occurred()) SWIG_fail;
33937 }
33938 {
33939 resultobj = wxPyMake_wxObject(result, (bool)0);
33940 }
33941 return resultobj;
33942fail:
33943 return NULL;
d55e5bfc
RD
33944}
33945
33946
554f62e9
RD
33947SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33948 PyObject *resultobj = 0;
33949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33950 wxImageList *result = 0 ;
33951 void *argp1 = 0 ;
33952 int res1 = 0 ;
33953 PyObject *swig_obj[1] ;
33954
33955 if (!args) SWIG_fail;
33956 swig_obj[0] = args;
33957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33958 if (!SWIG_IsOK(res1)) {
33959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33960 }
33961 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33962 {
33963 PyThreadState* __tstate = wxPyBeginAllowThreads();
33964 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
33965 wxPyEndAllowThreads(__tstate);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 }
33968 {
33969 resultobj = wxPyMake_wxObject(result, (bool)0);
33970 }
33971 return resultobj;
33972fail:
33973 return NULL;
33974}
33975
33976
33977SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33978 PyObject *resultobj = 0;
33979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33980 wxImageList *arg2 = (wxImageList *) 0 ;
33981 void *argp1 = 0 ;
33982 int res1 = 0 ;
33983 void *argp2 = 0 ;
33984 int res2 = 0 ;
33985 PyObject * obj0 = 0 ;
33986 PyObject * obj1 = 0 ;
33987 char * kwnames[] = {
33988 (char *) "self",(char *) "imageList", NULL
33989 };
33990
33991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33993 if (!SWIG_IsOK(res1)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33995 }
33996 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33997 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33998 if (!SWIG_IsOK(res2)) {
33999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34000 }
34001 arg2 = reinterpret_cast< wxImageList * >(argp2);
34002 {
34003 PyThreadState* __tstate = wxPyBeginAllowThreads();
34004 (arg1)->SetImageList(arg2);
34005 wxPyEndAllowThreads(__tstate);
34006 if (PyErr_Occurred()) SWIG_fail;
34007 }
34008 resultobj = SWIG_Py_Void();
34009 return resultobj;
34010fail:
34011 return NULL;
34012}
34013
34014
34015SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34016 PyObject *resultobj = 0;
34017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34018 wxImageList *arg2 = (wxImageList *) 0 ;
34019 void *argp1 = 0 ;
34020 int res1 = 0 ;
34021 void *argp2 = 0 ;
34022 int res2 = 0 ;
34023 PyObject * obj0 = 0 ;
34024 PyObject * obj1 = 0 ;
34025 char * kwnames[] = {
34026 (char *) "self",(char *) "imageList", NULL
34027 };
34028
34029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34031 if (!SWIG_IsOK(res1)) {
34032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34033 }
34034 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34036 if (!SWIG_IsOK(res2)) {
34037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34038 }
34039 arg2 = reinterpret_cast< wxImageList * >(argp2);
34040 {
34041 PyThreadState* __tstate = wxPyBeginAllowThreads();
34042 (arg1)->SetStateImageList(arg2);
34043 wxPyEndAllowThreads(__tstate);
34044 if (PyErr_Occurred()) SWIG_fail;
34045 }
34046 resultobj = SWIG_Py_Void();
34047 return resultobj;
34048fail:
34049 return NULL;
34050}
34051
34052
34053SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34054 PyObject *resultobj = 0;
34055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34056 wxImageList *arg2 = (wxImageList *) 0 ;
34057 void *argp1 = 0 ;
34058 int res1 = 0 ;
34059 int res2 = 0 ;
34060 PyObject * obj0 = 0 ;
34061 PyObject * obj1 = 0 ;
34062 char * kwnames[] = {
34063 (char *) "self",(char *) "imageList", NULL
34064 };
34065
34066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34068 if (!SWIG_IsOK(res1)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34070 }
34071 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34072 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34073 if (!SWIG_IsOK(res2)) {
34074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34075 }
34076 {
34077 PyThreadState* __tstate = wxPyBeginAllowThreads();
34078 (arg1)->AssignImageList(arg2);
34079 wxPyEndAllowThreads(__tstate);
34080 if (PyErr_Occurred()) SWIG_fail;
34081 }
34082 resultobj = SWIG_Py_Void();
34083 return resultobj;
34084fail:
34085 return NULL;
34086}
34087
34088
34089SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34090 PyObject *resultobj = 0;
34091 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34092 wxImageList *arg2 = (wxImageList *) 0 ;
34093 void *argp1 = 0 ;
34094 int res1 = 0 ;
34095 int res2 = 0 ;
34096 PyObject * obj0 = 0 ;
34097 PyObject * obj1 = 0 ;
34098 char * kwnames[] = {
34099 (char *) "self",(char *) "imageList", NULL
34100 };
34101
34102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34104 if (!SWIG_IsOK(res1)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34106 }
34107 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34108 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34109 if (!SWIG_IsOK(res2)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34111 }
34112 {
34113 PyThreadState* __tstate = wxPyBeginAllowThreads();
34114 (arg1)->AssignStateImageList(arg2);
34115 wxPyEndAllowThreads(__tstate);
34116 if (PyErr_Occurred()) SWIG_fail;
34117 }
34118 resultobj = SWIG_Py_Void();
34119 return resultobj;
34120fail:
34121 return NULL;
34122}
34123
34124
34125SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34126 PyObject *resultobj = 0;
34127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34128 wxTreeItemId *arg2 = 0 ;
34129 wxString result;
34130 void *argp1 = 0 ;
34131 int res1 = 0 ;
34132 void *argp2 = 0 ;
34133 int res2 = 0 ;
34134 PyObject * obj0 = 0 ;
34135 PyObject * obj1 = 0 ;
34136 char * kwnames[] = {
34137 (char *) "self",(char *) "item", NULL
34138 };
34139
34140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34142 if (!SWIG_IsOK(res1)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34144 }
34145 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34146 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34147 if (!SWIG_IsOK(res2)) {
34148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34149 }
34150 if (!argp2) {
34151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34152 }
34153 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34154 {
34155 PyThreadState* __tstate = wxPyBeginAllowThreads();
34156 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34157 wxPyEndAllowThreads(__tstate);
34158 if (PyErr_Occurred()) SWIG_fail;
34159 }
34160 {
34161#if wxUSE_UNICODE
34162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34163#else
34164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34165#endif
34166 }
34167 return resultobj;
34168fail:
34169 return NULL;
34170}
34171
34172
34173SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34174 PyObject *resultobj = 0;
34175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34176 wxTreeItemId *arg2 = 0 ;
34177 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34178 int result;
34179 void *argp1 = 0 ;
34180 int res1 = 0 ;
34181 void *argp2 = 0 ;
34182 int res2 = 0 ;
34183 int val3 ;
34184 int ecode3 = 0 ;
34185 PyObject * obj0 = 0 ;
34186 PyObject * obj1 = 0 ;
34187 PyObject * obj2 = 0 ;
34188 char * kwnames[] = {
34189 (char *) "self",(char *) "item",(char *) "which", NULL
34190 };
34191
34192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34194 if (!SWIG_IsOK(res1)) {
34195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34196 }
34197 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34198 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34199 if (!SWIG_IsOK(res2)) {
34200 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34201 }
34202 if (!argp2) {
34203 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34204 }
34205 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34206 if (obj2) {
34207 ecode3 = SWIG_AsVal_int(obj2, &val3);
34208 if (!SWIG_IsOK(ecode3)) {
34209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34210 }
34211 arg3 = static_cast< wxTreeItemIcon >(val3);
34212 }
34213 {
34214 PyThreadState* __tstate = wxPyBeginAllowThreads();
34215 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34216 wxPyEndAllowThreads(__tstate);
34217 if (PyErr_Occurred()) SWIG_fail;
34218 }
34219 resultobj = SWIG_From_int(static_cast< int >(result));
34220 return resultobj;
34221fail:
34222 return NULL;
34223}
34224
34225
34226SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34227 PyObject *resultobj = 0;
34228 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34229 wxTreeItemId *arg2 = 0 ;
34230 wxPyTreeItemData *result = 0 ;
34231 void *argp1 = 0 ;
34232 int res1 = 0 ;
34233 void *argp2 = 0 ;
34234 int res2 = 0 ;
34235 PyObject * obj0 = 0 ;
34236 PyObject * obj1 = 0 ;
34237 char * kwnames[] = {
34238 (char *) "self",(char *) "item", NULL
34239 };
34240
34241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34243 if (!SWIG_IsOK(res1)) {
34244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34245 }
34246 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34247 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34248 if (!SWIG_IsOK(res2)) {
34249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34250 }
34251 if (!argp2) {
34252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34253 }
34254 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34255 {
34256 PyThreadState* __tstate = wxPyBeginAllowThreads();
34257 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34258 wxPyEndAllowThreads(__tstate);
34259 if (PyErr_Occurred()) SWIG_fail;
34260 }
34261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34262 return resultobj;
34263fail:
34264 return NULL;
34265}
34266
34267
34268SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34269 PyObject *resultobj = 0;
34270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34271 wxTreeItemId *arg2 = 0 ;
34272 PyObject *result = 0 ;
34273 void *argp1 = 0 ;
34274 int res1 = 0 ;
34275 void *argp2 = 0 ;
34276 int res2 = 0 ;
34277 PyObject * obj0 = 0 ;
34278 PyObject * obj1 = 0 ;
34279 char * kwnames[] = {
34280 (char *) "self",(char *) "item", NULL
34281 };
34282
34283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34285 if (!SWIG_IsOK(res1)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34287 }
34288 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34289 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34290 if (!SWIG_IsOK(res2)) {
34291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34292 }
34293 if (!argp2) {
34294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34295 }
34296 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34297 {
34298 PyThreadState* __tstate = wxPyBeginAllowThreads();
34299 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34300 wxPyEndAllowThreads(__tstate);
34301 if (PyErr_Occurred()) SWIG_fail;
34302 }
34303 resultobj = result;
34304 return resultobj;
34305fail:
34306 return NULL;
34307}
34308
34309
34310SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34311 PyObject *resultobj = 0;
34312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34313 wxTreeItemId *arg2 = 0 ;
34314 wxColour result;
34315 void *argp1 = 0 ;
34316 int res1 = 0 ;
34317 void *argp2 = 0 ;
34318 int res2 = 0 ;
34319 PyObject * obj0 = 0 ;
34320 PyObject * obj1 = 0 ;
34321 char * kwnames[] = {
34322 (char *) "self",(char *) "item", NULL
34323 };
34324
34325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34327 if (!SWIG_IsOK(res1)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34329 }
34330 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34332 if (!SWIG_IsOK(res2)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34334 }
34335 if (!argp2) {
34336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34337 }
34338 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34339 {
34340 PyThreadState* __tstate = wxPyBeginAllowThreads();
34341 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34346 return resultobj;
34347fail:
34348 return NULL;
34349}
34350
34351
34352SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34353 PyObject *resultobj = 0;
34354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34355 wxTreeItemId *arg2 = 0 ;
34356 wxColour result;
34357 void *argp1 = 0 ;
34358 int res1 = 0 ;
34359 void *argp2 = 0 ;
34360 int res2 = 0 ;
34361 PyObject * obj0 = 0 ;
34362 PyObject * obj1 = 0 ;
34363 char * kwnames[] = {
34364 (char *) "self",(char *) "item", NULL
34365 };
34366
34367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34369 if (!SWIG_IsOK(res1)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34371 }
34372 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34373 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34374 if (!SWIG_IsOK(res2)) {
34375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34376 }
34377 if (!argp2) {
34378 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34379 }
34380 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34381 {
34382 PyThreadState* __tstate = wxPyBeginAllowThreads();
34383 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34384 wxPyEndAllowThreads(__tstate);
34385 if (PyErr_Occurred()) SWIG_fail;
34386 }
34387 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34388 return resultobj;
34389fail:
34390 return NULL;
34391}
34392
34393
34394SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34395 PyObject *resultobj = 0;
34396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34397 wxTreeItemId *arg2 = 0 ;
34398 wxFont result;
34399 void *argp1 = 0 ;
34400 int res1 = 0 ;
34401 void *argp2 = 0 ;
34402 int res2 = 0 ;
34403 PyObject * obj0 = 0 ;
34404 PyObject * obj1 = 0 ;
34405 char * kwnames[] = {
34406 (char *) "self",(char *) "item", NULL
34407 };
34408
34409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34411 if (!SWIG_IsOK(res1)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34413 }
34414 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34416 if (!SWIG_IsOK(res2)) {
34417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34418 }
34419 if (!argp2) {
34420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34421 }
34422 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34423 {
34424 PyThreadState* __tstate = wxPyBeginAllowThreads();
34425 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34426 wxPyEndAllowThreads(__tstate);
34427 if (PyErr_Occurred()) SWIG_fail;
34428 }
34429 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34430 return resultobj;
34431fail:
34432 return NULL;
34433}
34434
34435
34436SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34437 PyObject *resultobj = 0;
34438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34439 wxTreeItemId *arg2 = 0 ;
34440 wxString *arg3 = 0 ;
34441 void *argp1 = 0 ;
34442 int res1 = 0 ;
34443 void *argp2 = 0 ;
34444 int res2 = 0 ;
34445 bool temp3 = false ;
34446 PyObject * obj0 = 0 ;
34447 PyObject * obj1 = 0 ;
34448 PyObject * obj2 = 0 ;
34449 char * kwnames[] = {
34450 (char *) "self",(char *) "item",(char *) "text", NULL
34451 };
34452
34453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34455 if (!SWIG_IsOK(res1)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34457 }
34458 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34459 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34460 if (!SWIG_IsOK(res2)) {
34461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34462 }
34463 if (!argp2) {
34464 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34465 }
34466 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34467 {
34468 arg3 = wxString_in_helper(obj2);
34469 if (arg3 == NULL) SWIG_fail;
34470 temp3 = true;
34471 }
34472 {
34473 PyThreadState* __tstate = wxPyBeginAllowThreads();
34474 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34475 wxPyEndAllowThreads(__tstate);
34476 if (PyErr_Occurred()) SWIG_fail;
34477 }
34478 resultobj = SWIG_Py_Void();
34479 {
34480 if (temp3)
34481 delete arg3;
34482 }
34483 return resultobj;
34484fail:
34485 {
34486 if (temp3)
34487 delete arg3;
34488 }
34489 return NULL;
34490}
34491
34492
34493SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34494 PyObject *resultobj = 0;
34495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34496 wxTreeItemId *arg2 = 0 ;
34497 int arg3 ;
34498 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34499 void *argp1 = 0 ;
34500 int res1 = 0 ;
34501 void *argp2 = 0 ;
34502 int res2 = 0 ;
34503 int val3 ;
34504 int ecode3 = 0 ;
34505 int val4 ;
34506 int ecode4 = 0 ;
34507 PyObject * obj0 = 0 ;
34508 PyObject * obj1 = 0 ;
34509 PyObject * obj2 = 0 ;
34510 PyObject * obj3 = 0 ;
34511 char * kwnames[] = {
34512 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34513 };
34514
34515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34517 if (!SWIG_IsOK(res1)) {
34518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34519 }
34520 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34521 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34522 if (!SWIG_IsOK(res2)) {
34523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34524 }
34525 if (!argp2) {
34526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34527 }
34528 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34529 ecode3 = SWIG_AsVal_int(obj2, &val3);
34530 if (!SWIG_IsOK(ecode3)) {
34531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34532 }
34533 arg3 = static_cast< int >(val3);
34534 if (obj3) {
34535 ecode4 = SWIG_AsVal_int(obj3, &val4);
34536 if (!SWIG_IsOK(ecode4)) {
34537 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34538 }
34539 arg4 = static_cast< wxTreeItemIcon >(val4);
34540 }
34541 {
34542 PyThreadState* __tstate = wxPyBeginAllowThreads();
34543 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34544 wxPyEndAllowThreads(__tstate);
34545 if (PyErr_Occurred()) SWIG_fail;
34546 }
34547 resultobj = SWIG_Py_Void();
34548 return resultobj;
34549fail:
34550 return NULL;
34551}
34552
34553
34554SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34555 PyObject *resultobj = 0;
34556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34557 wxTreeItemId *arg2 = 0 ;
34558 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34559 void *argp1 = 0 ;
34560 int res1 = 0 ;
34561 void *argp2 = 0 ;
34562 int res2 = 0 ;
34563 int res3 = 0 ;
34564 PyObject * obj0 = 0 ;
34565 PyObject * obj1 = 0 ;
34566 PyObject * obj2 = 0 ;
34567 char * kwnames[] = {
34568 (char *) "self",(char *) "item",(char *) "data", NULL
34569 };
34570
34571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34573 if (!SWIG_IsOK(res1)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34575 }
34576 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34577 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34578 if (!SWIG_IsOK(res2)) {
34579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34580 }
34581 if (!argp2) {
34582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34583 }
34584 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34585 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34586 if (!SWIG_IsOK(res3)) {
34587 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34588 }
34589 {
34590 PyThreadState* __tstate = wxPyBeginAllowThreads();
34591 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34592 wxPyEndAllowThreads(__tstate);
34593 if (PyErr_Occurred()) SWIG_fail;
34594 }
34595 resultobj = SWIG_Py_Void();
34596 return resultobj;
34597fail:
34598 return NULL;
34599}
34600
34601
34602SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34603 PyObject *resultobj = 0;
34604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34605 wxTreeItemId *arg2 = 0 ;
34606 PyObject *arg3 = (PyObject *) 0 ;
34607 void *argp1 = 0 ;
34608 int res1 = 0 ;
34609 void *argp2 = 0 ;
34610 int res2 = 0 ;
34611 PyObject * obj0 = 0 ;
34612 PyObject * obj1 = 0 ;
34613 PyObject * obj2 = 0 ;
34614 char * kwnames[] = {
34615 (char *) "self",(char *) "item",(char *) "obj", NULL
34616 };
34617
34618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34620 if (!SWIG_IsOK(res1)) {
34621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34622 }
34623 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34625 if (!SWIG_IsOK(res2)) {
34626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34627 }
34628 if (!argp2) {
34629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 }
34631 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34632 arg3 = obj2;
34633 {
34634 PyThreadState* __tstate = wxPyBeginAllowThreads();
34635 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34636 wxPyEndAllowThreads(__tstate);
34637 if (PyErr_Occurred()) SWIG_fail;
34638 }
34639 resultobj = SWIG_Py_Void();
34640 return resultobj;
34641fail:
34642 return NULL;
34643}
34644
34645
34646SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34647 PyObject *resultobj = 0;
34648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34649 wxTreeItemId *arg2 = 0 ;
34650 bool arg3 = (bool) true ;
34651 void *argp1 = 0 ;
34652 int res1 = 0 ;
34653 void *argp2 = 0 ;
34654 int res2 = 0 ;
34655 bool val3 ;
34656 int ecode3 = 0 ;
34657 PyObject * obj0 = 0 ;
34658 PyObject * obj1 = 0 ;
34659 PyObject * obj2 = 0 ;
34660 char * kwnames[] = {
34661 (char *) "self",(char *) "item",(char *) "has", NULL
34662 };
34663
34664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34666 if (!SWIG_IsOK(res1)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34668 }
34669 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34670 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34671 if (!SWIG_IsOK(res2)) {
34672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34673 }
34674 if (!argp2) {
34675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34676 }
34677 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34678 if (obj2) {
34679 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34680 if (!SWIG_IsOK(ecode3)) {
34681 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34682 }
34683 arg3 = static_cast< bool >(val3);
34684 }
34685 {
34686 PyThreadState* __tstate = wxPyBeginAllowThreads();
34687 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
34688 wxPyEndAllowThreads(__tstate);
34689 if (PyErr_Occurred()) SWIG_fail;
34690 }
34691 resultobj = SWIG_Py_Void();
34692 return resultobj;
34693fail:
34694 return NULL;
34695}
34696
34697
34698SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34699 PyObject *resultobj = 0;
34700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34701 wxTreeItemId *arg2 = 0 ;
34702 bool arg3 = (bool) true ;
34703 void *argp1 = 0 ;
34704 int res1 = 0 ;
34705 void *argp2 = 0 ;
34706 int res2 = 0 ;
34707 bool val3 ;
34708 int ecode3 = 0 ;
34709 PyObject * obj0 = 0 ;
34710 PyObject * obj1 = 0 ;
34711 PyObject * obj2 = 0 ;
34712 char * kwnames[] = {
34713 (char *) "self",(char *) "item",(char *) "bold", NULL
34714 };
34715
34716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34718 if (!SWIG_IsOK(res1)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34720 }
34721 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34722 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34723 if (!SWIG_IsOK(res2)) {
34724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34725 }
34726 if (!argp2) {
34727 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 }
34729 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34730 if (obj2) {
34731 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34732 if (!SWIG_IsOK(ecode3)) {
34733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34734 }
34735 arg3 = static_cast< bool >(val3);
34736 }
34737 {
34738 PyThreadState* __tstate = wxPyBeginAllowThreads();
34739 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
34740 wxPyEndAllowThreads(__tstate);
34741 if (PyErr_Occurred()) SWIG_fail;
34742 }
34743 resultobj = SWIG_Py_Void();
34744 return resultobj;
34745fail:
34746 return NULL;
34747}
34748
34749
34750SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34751 PyObject *resultobj = 0;
34752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34753 wxTreeItemId *arg2 = 0 ;
34754 bool arg3 = (bool) true ;
34755 void *argp1 = 0 ;
34756 int res1 = 0 ;
34757 void *argp2 = 0 ;
34758 int res2 = 0 ;
34759 bool val3 ;
34760 int ecode3 = 0 ;
34761 PyObject * obj0 = 0 ;
34762 PyObject * obj1 = 0 ;
34763 PyObject * obj2 = 0 ;
34764 char * kwnames[] = {
34765 (char *) "self",(char *) "item",(char *) "highlight", NULL
34766 };
34767
34768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34770 if (!SWIG_IsOK(res1)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34772 }
34773 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34774 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34775 if (!SWIG_IsOK(res2)) {
34776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34777 }
34778 if (!argp2) {
34779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34780 }
34781 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34782 if (obj2) {
34783 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34784 if (!SWIG_IsOK(ecode3)) {
34785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34786 }
34787 arg3 = static_cast< bool >(val3);
34788 }
34789 {
34790 PyThreadState* __tstate = wxPyBeginAllowThreads();
34791 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
34792 wxPyEndAllowThreads(__tstate);
34793 if (PyErr_Occurred()) SWIG_fail;
34794 }
34795 resultobj = SWIG_Py_Void();
34796 return resultobj;
34797fail:
34798 return NULL;
34799}
34800
34801
34802SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34803 PyObject *resultobj = 0;
34804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34805 wxTreeItemId *arg2 = 0 ;
34806 wxColour *arg3 = 0 ;
34807 void *argp1 = 0 ;
34808 int res1 = 0 ;
34809 void *argp2 = 0 ;
34810 int res2 = 0 ;
34811 wxColour temp3 ;
34812 PyObject * obj0 = 0 ;
34813 PyObject * obj1 = 0 ;
34814 PyObject * obj2 = 0 ;
34815 char * kwnames[] = {
34816 (char *) "self",(char *) "item",(char *) "col", NULL
34817 };
34818
34819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34821 if (!SWIG_IsOK(res1)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34823 }
34824 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34825 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34826 if (!SWIG_IsOK(res2)) {
34827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34828 }
34829 if (!argp2) {
34830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 }
34832 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34833 {
34834 arg3 = &temp3;
34835 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34836 }
34837 {
34838 PyThreadState* __tstate = wxPyBeginAllowThreads();
34839 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34840 wxPyEndAllowThreads(__tstate);
34841 if (PyErr_Occurred()) SWIG_fail;
34842 }
34843 resultobj = SWIG_Py_Void();
34844 return resultobj;
34845fail:
34846 return NULL;
34847}
34848
34849
34850SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34851 PyObject *resultobj = 0;
34852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34853 wxTreeItemId *arg2 = 0 ;
34854 wxColour *arg3 = 0 ;
34855 void *argp1 = 0 ;
34856 int res1 = 0 ;
34857 void *argp2 = 0 ;
34858 int res2 = 0 ;
34859 wxColour temp3 ;
34860 PyObject * obj0 = 0 ;
34861 PyObject * obj1 = 0 ;
34862 PyObject * obj2 = 0 ;
34863 char * kwnames[] = {
34864 (char *) "self",(char *) "item",(char *) "col", NULL
34865 };
34866
34867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34869 if (!SWIG_IsOK(res1)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34871 }
34872 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34874 if (!SWIG_IsOK(res2)) {
34875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34876 }
34877 if (!argp2) {
34878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 }
34880 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34881 {
34882 arg3 = &temp3;
34883 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34884 }
34885 {
34886 PyThreadState* __tstate = wxPyBeginAllowThreads();
34887 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34888 wxPyEndAllowThreads(__tstate);
34889 if (PyErr_Occurred()) SWIG_fail;
34890 }
34891 resultobj = SWIG_Py_Void();
34892 return resultobj;
34893fail:
34894 return NULL;
34895}
34896
34897
34898SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34899 PyObject *resultobj = 0;
34900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34901 wxTreeItemId *arg2 = 0 ;
34902 wxFont *arg3 = 0 ;
34903 void *argp1 = 0 ;
34904 int res1 = 0 ;
34905 void *argp2 = 0 ;
34906 int res2 = 0 ;
34907 void *argp3 = 0 ;
34908 int res3 = 0 ;
34909 PyObject * obj0 = 0 ;
34910 PyObject * obj1 = 0 ;
34911 PyObject * obj2 = 0 ;
34912 char * kwnames[] = {
34913 (char *) "self",(char *) "item",(char *) "font", NULL
34914 };
34915
34916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34918 if (!SWIG_IsOK(res1)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34920 }
34921 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34922 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34923 if (!SWIG_IsOK(res2)) {
34924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34925 }
34926 if (!argp2) {
34927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34928 }
34929 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34930 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
34931 if (!SWIG_IsOK(res3)) {
34932 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34933 }
34934 if (!argp3) {
34935 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34936 }
34937 arg3 = reinterpret_cast< wxFont * >(argp3);
34938 {
34939 PyThreadState* __tstate = wxPyBeginAllowThreads();
34940 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
34941 wxPyEndAllowThreads(__tstate);
34942 if (PyErr_Occurred()) SWIG_fail;
34943 }
34944 resultobj = SWIG_Py_Void();
34945 return resultobj;
34946fail:
34947 return NULL;
34948}
34949
34950
34951SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34952 PyObject *resultobj = 0;
34953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34954 wxTreeItemId *arg2 = 0 ;
34955 bool result;
34956 void *argp1 = 0 ;
34957 int res1 = 0 ;
34958 void *argp2 = 0 ;
34959 int res2 = 0 ;
34960 PyObject * obj0 = 0 ;
34961 PyObject * obj1 = 0 ;
34962 char * kwnames[] = {
34963 (char *) "self",(char *) "item", NULL
34964 };
34965
34966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
34967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34968 if (!SWIG_IsOK(res1)) {
34969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34970 }
34971 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34972 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34973 if (!SWIG_IsOK(res2)) {
34974 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34975 }
34976 if (!argp2) {
34977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34978 }
34979 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34980 {
34981 PyThreadState* __tstate = wxPyBeginAllowThreads();
34982 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
34983 wxPyEndAllowThreads(__tstate);
34984 if (PyErr_Occurred()) SWIG_fail;
34985 }
34986 {
34987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34988 }
34989 return resultobj;
34990fail:
34991 return NULL;
34992}
34993
34994
34995SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34996 PyObject *resultobj = 0;
34997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34998 wxTreeItemId *arg2 = 0 ;
34999 bool result;
35000 void *argp1 = 0 ;
35001 int res1 = 0 ;
35002 void *argp2 = 0 ;
35003 int res2 = 0 ;
35004 PyObject * obj0 = 0 ;
35005 PyObject * obj1 = 0 ;
35006 char * kwnames[] = {
35007 (char *) "self",(char *) "item", NULL
35008 };
35009
35010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35012 if (!SWIG_IsOK(res1)) {
35013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35014 }
35015 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35016 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35017 if (!SWIG_IsOK(res2)) {
35018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35019 }
35020 if (!argp2) {
35021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35022 }
35023 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35024 {
35025 PyThreadState* __tstate = wxPyBeginAllowThreads();
35026 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35027 wxPyEndAllowThreads(__tstate);
35028 if (PyErr_Occurred()) SWIG_fail;
35029 }
35030 {
35031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35032 }
35033 return resultobj;
35034fail:
35035 return NULL;
35036}
35037
35038
35039SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35040 PyObject *resultobj = 0;
35041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35042 wxTreeItemId *arg2 = 0 ;
35043 bool result;
35044 void *argp1 = 0 ;
35045 int res1 = 0 ;
35046 void *argp2 = 0 ;
35047 int res2 = 0 ;
35048 PyObject * obj0 = 0 ;
35049 PyObject * obj1 = 0 ;
35050 char * kwnames[] = {
35051 (char *) "self",(char *) "item", NULL
35052 };
35053
35054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35056 if (!SWIG_IsOK(res1)) {
35057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35058 }
35059 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35060 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35061 if (!SWIG_IsOK(res2)) {
35062 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35063 }
35064 if (!argp2) {
35065 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35066 }
35067 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35068 {
35069 PyThreadState* __tstate = wxPyBeginAllowThreads();
35070 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35071 wxPyEndAllowThreads(__tstate);
35072 if (PyErr_Occurred()) SWIG_fail;
35073 }
35074 {
35075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35076 }
35077 return resultobj;
35078fail:
35079 return NULL;
35080}
35081
35082
35083SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35084 PyObject *resultobj = 0;
35085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35086 wxTreeItemId *arg2 = 0 ;
35087 bool result;
35088 void *argp1 = 0 ;
35089 int res1 = 0 ;
35090 void *argp2 = 0 ;
35091 int res2 = 0 ;
35092 PyObject * obj0 = 0 ;
35093 PyObject * obj1 = 0 ;
35094 char * kwnames[] = {
35095 (char *) "self",(char *) "item", NULL
35096 };
35097
35098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35100 if (!SWIG_IsOK(res1)) {
35101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35102 }
35103 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35104 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35105 if (!SWIG_IsOK(res2)) {
35106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35107 }
35108 if (!argp2) {
35109 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35110 }
35111 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35112 {
35113 PyThreadState* __tstate = wxPyBeginAllowThreads();
35114 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35115 wxPyEndAllowThreads(__tstate);
35116 if (PyErr_Occurred()) SWIG_fail;
35117 }
35118 {
35119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35120 }
35121 return resultobj;
35122fail:
35123 return NULL;
35124}
35125
35126
35127SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35128 PyObject *resultobj = 0;
35129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35130 wxTreeItemId *arg2 = 0 ;
35131 bool result;
35132 void *argp1 = 0 ;
35133 int res1 = 0 ;
35134 void *argp2 = 0 ;
35135 int res2 = 0 ;
35136 PyObject * obj0 = 0 ;
35137 PyObject * obj1 = 0 ;
35138 char * kwnames[] = {
35139 (char *) "self",(char *) "item", NULL
35140 };
35141
35142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35144 if (!SWIG_IsOK(res1)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35146 }
35147 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35148 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35149 if (!SWIG_IsOK(res2)) {
35150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35151 }
35152 if (!argp2) {
35153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35154 }
35155 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35156 {
35157 PyThreadState* __tstate = wxPyBeginAllowThreads();
35158 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35159 wxPyEndAllowThreads(__tstate);
35160 if (PyErr_Occurred()) SWIG_fail;
35161 }
35162 {
35163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35164 }
35165 return resultobj;
35166fail:
35167 return NULL;
35168}
35169
35170
35171SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35172 PyObject *resultobj = 0;
35173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35174 wxTreeItemId *arg2 = 0 ;
35175 bool arg3 = (bool) true ;
35176 size_t result;
35177 void *argp1 = 0 ;
35178 int res1 = 0 ;
35179 void *argp2 = 0 ;
35180 int res2 = 0 ;
35181 bool val3 ;
35182 int ecode3 = 0 ;
35183 PyObject * obj0 = 0 ;
35184 PyObject * obj1 = 0 ;
35185 PyObject * obj2 = 0 ;
35186 char * kwnames[] = {
35187 (char *) "self",(char *) "item",(char *) "recursively", NULL
35188 };
35189
35190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35192 if (!SWIG_IsOK(res1)) {
35193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35194 }
35195 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35196 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35197 if (!SWIG_IsOK(res2)) {
35198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35199 }
35200 if (!argp2) {
35201 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35202 }
35203 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35204 if (obj2) {
35205 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35206 if (!SWIG_IsOK(ecode3)) {
35207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35208 }
35209 arg3 = static_cast< bool >(val3);
35210 }
35211 {
35212 PyThreadState* __tstate = wxPyBeginAllowThreads();
35213 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35214 wxPyEndAllowThreads(__tstate);
35215 if (PyErr_Occurred()) SWIG_fail;
35216 }
35217 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35218 return resultobj;
35219fail:
35220 return NULL;
d55e5bfc
RD
35221}
35222
35223
554f62e9
RD
35224SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35225 PyObject *resultobj = 0;
35226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35227 wxTreeItemId result;
35228 void *argp1 = 0 ;
35229 int res1 = 0 ;
35230 PyObject *swig_obj[1] ;
35231
35232 if (!args) SWIG_fail;
35233 swig_obj[0] = args;
35234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35235 if (!SWIG_IsOK(res1)) {
35236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35237 }
35238 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35239 {
35240 PyThreadState* __tstate = wxPyBeginAllowThreads();
35241 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35242 wxPyEndAllowThreads(__tstate);
35243 if (PyErr_Occurred()) SWIG_fail;
35244 }
35245 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35246 return resultobj;
35247fail:
35248 return NULL;
d55e5bfc
RD
35249}
35250
35251
554f62e9
RD
35252SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35253 PyObject *resultobj = 0;
35254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35255 wxTreeItemId result;
35256 void *argp1 = 0 ;
35257 int res1 = 0 ;
35258 PyObject *swig_obj[1] ;
35259
35260 if (!args) SWIG_fail;
35261 swig_obj[0] = args;
35262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35263 if (!SWIG_IsOK(res1)) {
35264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35265 }
35266 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35267 {
35268 PyThreadState* __tstate = wxPyBeginAllowThreads();
35269 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35270 wxPyEndAllowThreads(__tstate);
35271 if (PyErr_Occurred()) SWIG_fail;
35272 }
35273 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35274 return resultobj;
35275fail:
35276 return NULL;
d55e5bfc
RD
35277}
35278
35279
554f62e9
RD
35280SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35281 PyObject *resultobj = 0;
35282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35283 PyObject *result = 0 ;
35284 void *argp1 = 0 ;
35285 int res1 = 0 ;
35286 PyObject *swig_obj[1] ;
35287
35288 if (!args) SWIG_fail;
35289 swig_obj[0] = args;
35290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35291 if (!SWIG_IsOK(res1)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35293 }
35294 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35295 {
35296 PyThreadState* __tstate = wxPyBeginAllowThreads();
35297 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35298 wxPyEndAllowThreads(__tstate);
35299 if (PyErr_Occurred()) SWIG_fail;
35300 }
35301 resultobj = result;
35302 return resultobj;
35303fail:
35304 return NULL;
35305}
35306
35307
35308SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35309 PyObject *resultobj = 0;
35310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35311 wxTreeItemId *arg2 = 0 ;
35312 wxTreeItemId result;
35313 void *argp1 = 0 ;
35314 int res1 = 0 ;
35315 void *argp2 = 0 ;
35316 int res2 = 0 ;
35317 PyObject * obj0 = 0 ;
35318 PyObject * obj1 = 0 ;
35319 char * kwnames[] = {
35320 (char *) "self",(char *) "item", NULL
35321 };
35322
35323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35325 if (!SWIG_IsOK(res1)) {
35326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35327 }
35328 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35329 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35330 if (!SWIG_IsOK(res2)) {
35331 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35332 }
35333 if (!argp2) {
35334 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35335 }
35336 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35337 {
35338 PyThreadState* __tstate = wxPyBeginAllowThreads();
35339 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35340 wxPyEndAllowThreads(__tstate);
35341 if (PyErr_Occurred()) SWIG_fail;
35342 }
35343 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35344 return resultobj;
35345fail:
35346 return NULL;
35347}
35348
35349
35350SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35351 PyObject *resultobj = 0;
35352 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35353 wxTreeItemId *arg2 = 0 ;
35354 PyObject *result = 0 ;
35355 void *argp1 = 0 ;
35356 int res1 = 0 ;
35357 void *argp2 = 0 ;
35358 int res2 = 0 ;
35359 PyObject * obj0 = 0 ;
35360 PyObject * obj1 = 0 ;
35361 char * kwnames[] = {
35362 (char *) "self",(char *) "item", NULL
35363 };
35364
35365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35367 if (!SWIG_IsOK(res1)) {
35368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35369 }
35370 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35371 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35372 if (!SWIG_IsOK(res2)) {
35373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35374 }
35375 if (!argp2) {
35376 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35377 }
35378 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35379 {
35380 PyThreadState* __tstate = wxPyBeginAllowThreads();
35381 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35382 wxPyEndAllowThreads(__tstate);
35383 if (PyErr_Occurred()) SWIG_fail;
35384 }
35385 resultobj = result;
35386 return resultobj;
35387fail:
35388 return NULL;
35389}
35390
35391
35392SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35393 PyObject *resultobj = 0;
35394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35395 wxTreeItemId *arg2 = 0 ;
35396 void *arg3 = (void *) 0 ;
35397 PyObject *result = 0 ;
35398 void *argp1 = 0 ;
35399 int res1 = 0 ;
35400 void *argp2 = 0 ;
35401 int res2 = 0 ;
35402 int res3 ;
35403 PyObject * obj0 = 0 ;
35404 PyObject * obj1 = 0 ;
35405 PyObject * obj2 = 0 ;
35406 char * kwnames[] = {
35407 (char *) "self",(char *) "item",(char *) "cookie", NULL
35408 };
35409
35410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35412 if (!SWIG_IsOK(res1)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35414 }
35415 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35416 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35417 if (!SWIG_IsOK(res2)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35419 }
35420 if (!argp2) {
35421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35422 }
35423 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35424 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35425 if (!SWIG_IsOK(res3)) {
35426 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35427 }
35428 {
35429 PyThreadState* __tstate = wxPyBeginAllowThreads();
35430 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35431 wxPyEndAllowThreads(__tstate);
35432 if (PyErr_Occurred()) SWIG_fail;
35433 }
35434 resultobj = result;
35435 return resultobj;
35436fail:
35437 return NULL;
35438}
35439
35440
35441SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35442 PyObject *resultobj = 0;
35443 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35444 wxTreeItemId *arg2 = 0 ;
35445 wxTreeItemId result;
35446 void *argp1 = 0 ;
35447 int res1 = 0 ;
35448 void *argp2 = 0 ;
35449 int res2 = 0 ;
35450 PyObject * obj0 = 0 ;
35451 PyObject * obj1 = 0 ;
35452 char * kwnames[] = {
35453 (char *) "self",(char *) "item", NULL
35454 };
35455
35456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35458 if (!SWIG_IsOK(res1)) {
35459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35460 }
35461 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35462 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35463 if (!SWIG_IsOK(res2)) {
35464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35465 }
35466 if (!argp2) {
35467 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35468 }
35469 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35470 {
35471 PyThreadState* __tstate = wxPyBeginAllowThreads();
35472 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35473 wxPyEndAllowThreads(__tstate);
35474 if (PyErr_Occurred()) SWIG_fail;
35475 }
35476 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35477 return resultobj;
35478fail:
35479 return NULL;
35480}
35481
35482
35483SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35484 PyObject *resultobj = 0;
35485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35486 wxTreeItemId *arg2 = 0 ;
35487 wxTreeItemId result;
35488 void *argp1 = 0 ;
35489 int res1 = 0 ;
35490 void *argp2 = 0 ;
35491 int res2 = 0 ;
35492 PyObject * obj0 = 0 ;
35493 PyObject * obj1 = 0 ;
35494 char * kwnames[] = {
35495 (char *) "self",(char *) "item", NULL
35496 };
35497
35498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35500 if (!SWIG_IsOK(res1)) {
35501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35502 }
35503 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35504 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35505 if (!SWIG_IsOK(res2)) {
35506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35507 }
35508 if (!argp2) {
35509 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35510 }
35511 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35512 {
35513 PyThreadState* __tstate = wxPyBeginAllowThreads();
35514 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35515 wxPyEndAllowThreads(__tstate);
35516 if (PyErr_Occurred()) SWIG_fail;
35517 }
35518 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35519 return resultobj;
35520fail:
35521 return NULL;
35522}
35523
35524
35525SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35526 PyObject *resultobj = 0;
35527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35528 wxTreeItemId *arg2 = 0 ;
35529 wxTreeItemId result;
35530 void *argp1 = 0 ;
35531 int res1 = 0 ;
35532 void *argp2 = 0 ;
35533 int res2 = 0 ;
35534 PyObject * obj0 = 0 ;
35535 PyObject * obj1 = 0 ;
35536 char * kwnames[] = {
35537 (char *) "self",(char *) "item", NULL
35538 };
35539
35540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35542 if (!SWIG_IsOK(res1)) {
35543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35544 }
35545 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35546 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35547 if (!SWIG_IsOK(res2)) {
35548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35549 }
35550 if (!argp2) {
35551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35552 }
35553 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35554 {
35555 PyThreadState* __tstate = wxPyBeginAllowThreads();
35556 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35557 wxPyEndAllowThreads(__tstate);
35558 if (PyErr_Occurred()) SWIG_fail;
35559 }
35560 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35561 return resultobj;
35562fail:
35563 return NULL;
d55e5bfc
RD
35564}
35565
35566
554f62e9
RD
35567SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35568 PyObject *resultobj = 0;
35569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35570 wxTreeItemId result;
35571 void *argp1 = 0 ;
35572 int res1 = 0 ;
35573 PyObject *swig_obj[1] ;
35574
35575 if (!args) SWIG_fail;
35576 swig_obj[0] = args;
35577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35578 if (!SWIG_IsOK(res1)) {
35579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35580 }
35581 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35582 {
35583 PyThreadState* __tstate = wxPyBeginAllowThreads();
35584 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35585 wxPyEndAllowThreads(__tstate);
35586 if (PyErr_Occurred()) SWIG_fail;
35587 }
35588 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35589 return resultobj;
35590fail:
35591 return NULL;
35592}
35593
35594
35595SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35596 PyObject *resultobj = 0;
35597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35598 wxTreeItemId *arg2 = 0 ;
35599 wxTreeItemId result;
35600 void *argp1 = 0 ;
35601 int res1 = 0 ;
35602 void *argp2 = 0 ;
35603 int res2 = 0 ;
35604 PyObject * obj0 = 0 ;
35605 PyObject * obj1 = 0 ;
35606 char * kwnames[] = {
35607 (char *) "self",(char *) "item", NULL
35608 };
35609
35610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35612 if (!SWIG_IsOK(res1)) {
35613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35614 }
35615 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35616 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35617 if (!SWIG_IsOK(res2)) {
35618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35619 }
35620 if (!argp2) {
35621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35622 }
35623 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35624 {
35625 PyThreadState* __tstate = wxPyBeginAllowThreads();
35626 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35627 wxPyEndAllowThreads(__tstate);
35628 if (PyErr_Occurred()) SWIG_fail;
35629 }
35630 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35631 return resultobj;
35632fail:
35633 return NULL;
35634}
35635
35636
35637SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35638 PyObject *resultobj = 0;
35639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35640 wxTreeItemId *arg2 = 0 ;
35641 wxTreeItemId result;
35642 void *argp1 = 0 ;
35643 int res1 = 0 ;
35644 void *argp2 = 0 ;
35645 int res2 = 0 ;
35646 PyObject * obj0 = 0 ;
35647 PyObject * obj1 = 0 ;
35648 char * kwnames[] = {
35649 (char *) "self",(char *) "item", NULL
35650 };
35651
35652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35654 if (!SWIG_IsOK(res1)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35656 }
35657 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35658 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35659 if (!SWIG_IsOK(res2)) {
35660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35661 }
35662 if (!argp2) {
35663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35664 }
35665 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35666 {
35667 PyThreadState* __tstate = wxPyBeginAllowThreads();
35668 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
35669 wxPyEndAllowThreads(__tstate);
35670 if (PyErr_Occurred()) SWIG_fail;
35671 }
35672 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35673 return resultobj;
35674fail:
35675 return NULL;
35676}
35677
35678
35679SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35680 PyObject *resultobj = 0;
35681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35682 wxString *arg2 = 0 ;
35683 int arg3 = (int) -1 ;
35684 int arg4 = (int) -1 ;
35685 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
35686 wxTreeItemId result;
35687 void *argp1 = 0 ;
35688 int res1 = 0 ;
35689 bool temp2 = false ;
35690 int val3 ;
35691 int ecode3 = 0 ;
35692 int val4 ;
35693 int ecode4 = 0 ;
35694 int res5 = 0 ;
35695 PyObject * obj0 = 0 ;
35696 PyObject * obj1 = 0 ;
35697 PyObject * obj2 = 0 ;
35698 PyObject * obj3 = 0 ;
35699 PyObject * obj4 = 0 ;
35700 char * kwnames[] = {
35701 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35702 };
35703
35704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
35705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35706 if (!SWIG_IsOK(res1)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35708 }
35709 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35710 {
35711 arg2 = wxString_in_helper(obj1);
35712 if (arg2 == NULL) SWIG_fail;
35713 temp2 = true;
35714 }
35715 if (obj2) {
35716 ecode3 = SWIG_AsVal_int(obj2, &val3);
35717 if (!SWIG_IsOK(ecode3)) {
35718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35719 }
35720 arg3 = static_cast< int >(val3);
35721 }
35722 if (obj3) {
35723 ecode4 = SWIG_AsVal_int(obj3, &val4);
35724 if (!SWIG_IsOK(ecode4)) {
35725 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35726 }
35727 arg4 = static_cast< int >(val4);
35728 }
35729 if (obj4) {
35730 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35731 if (!SWIG_IsOK(res5)) {
35732 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35733 }
554f62e9
RD
35734 }
35735 {
35736 PyThreadState* __tstate = wxPyBeginAllowThreads();
35737 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
35738 wxPyEndAllowThreads(__tstate);
35739 if (PyErr_Occurred()) SWIG_fail;
35740 }
35741 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35742 {
35743 if (temp2)
35744 delete arg2;
35745 }
35746 return resultobj;
35747fail:
35748 {
35749 if (temp2)
35750 delete arg2;
35751 }
35752 return NULL;
35753}
35754
35755
35756SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35757 PyObject *resultobj = 0;
35758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35759 wxTreeItemId *arg2 = 0 ;
35760 wxString *arg3 = 0 ;
35761 int arg4 = (int) -1 ;
35762 int arg5 = (int) -1 ;
35763 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35764 wxTreeItemId result;
35765 void *argp1 = 0 ;
35766 int res1 = 0 ;
35767 void *argp2 = 0 ;
35768 int res2 = 0 ;
35769 bool temp3 = false ;
35770 int val4 ;
35771 int ecode4 = 0 ;
35772 int val5 ;
35773 int ecode5 = 0 ;
35774 int res6 = 0 ;
35775 PyObject * obj0 = 0 ;
35776 PyObject * obj1 = 0 ;
35777 PyObject * obj2 = 0 ;
35778 PyObject * obj3 = 0 ;
35779 PyObject * obj4 = 0 ;
35780 PyObject * obj5 = 0 ;
35781 char * kwnames[] = {
35782 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35783 };
35784
35785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35787 if (!SWIG_IsOK(res1)) {
35788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35789 }
35790 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35791 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35792 if (!SWIG_IsOK(res2)) {
35793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35794 }
35795 if (!argp2) {
35796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35797 }
35798 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35799 {
35800 arg3 = wxString_in_helper(obj2);
35801 if (arg3 == NULL) SWIG_fail;
35802 temp3 = true;
35803 }
35804 if (obj3) {
35805 ecode4 = SWIG_AsVal_int(obj3, &val4);
35806 if (!SWIG_IsOK(ecode4)) {
35807 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35808 }
35809 arg4 = static_cast< int >(val4);
35810 }
35811 if (obj4) {
35812 ecode5 = SWIG_AsVal_int(obj4, &val5);
35813 if (!SWIG_IsOK(ecode5)) {
35814 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35815 }
35816 arg5 = static_cast< int >(val5);
35817 }
35818 if (obj5) {
35819 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35820 if (!SWIG_IsOK(res6)) {
35821 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
093d3ff1 35822 }
554f62e9
RD
35823 }
35824 {
35825 PyThreadState* __tstate = wxPyBeginAllowThreads();
35826 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
35827 wxPyEndAllowThreads(__tstate);
35828 if (PyErr_Occurred()) SWIG_fail;
35829 }
35830 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35831 {
35832 if (temp3)
35833 delete arg3;
35834 }
35835 return resultobj;
35836fail:
35837 {
35838 if (temp3)
35839 delete arg3;
35840 }
35841 return NULL;
35842}
35843
35844
35845SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35846 PyObject *resultobj = 0;
35847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35848 wxTreeItemId *arg2 = 0 ;
35849 wxTreeItemId *arg3 = 0 ;
35850 wxString *arg4 = 0 ;
35851 int arg5 = (int) -1 ;
35852 int arg6 = (int) -1 ;
35853 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35854 wxTreeItemId result;
35855 void *argp1 = 0 ;
35856 int res1 = 0 ;
35857 void *argp2 = 0 ;
35858 int res2 = 0 ;
35859 void *argp3 = 0 ;
35860 int res3 = 0 ;
35861 bool temp4 = false ;
35862 int val5 ;
35863 int ecode5 = 0 ;
35864 int val6 ;
35865 int ecode6 = 0 ;
35866 int res7 = 0 ;
35867 PyObject * obj0 = 0 ;
35868 PyObject * obj1 = 0 ;
35869 PyObject * obj2 = 0 ;
35870 PyObject * obj3 = 0 ;
35871 PyObject * obj4 = 0 ;
35872 PyObject * obj5 = 0 ;
35873 PyObject * obj6 = 0 ;
35874 char * kwnames[] = {
35875 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35876 };
35877
35878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35880 if (!SWIG_IsOK(res1)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35882 }
35883 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35884 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35885 if (!SWIG_IsOK(res2)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35887 }
35888 if (!argp2) {
35889 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35890 }
35891 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35892 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35893 if (!SWIG_IsOK(res3)) {
35894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35895 }
35896 if (!argp3) {
35897 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35898 }
35899 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
35900 {
35901 arg4 = wxString_in_helper(obj3);
35902 if (arg4 == NULL) SWIG_fail;
35903 temp4 = true;
35904 }
35905 if (obj4) {
35906 ecode5 = SWIG_AsVal_int(obj4, &val5);
35907 if (!SWIG_IsOK(ecode5)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35909 }
35910 arg5 = static_cast< int >(val5);
35911 }
35912 if (obj5) {
35913 ecode6 = SWIG_AsVal_int(obj5, &val6);
35914 if (!SWIG_IsOK(ecode6)) {
35915 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35916 }
35917 arg6 = static_cast< int >(val6);
35918 }
35919 if (obj6) {
35920 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35921 if (!SWIG_IsOK(res7)) {
35922 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35923 }
554f62e9
RD
35924 }
35925 {
35926 PyThreadState* __tstate = wxPyBeginAllowThreads();
35927 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
35928 wxPyEndAllowThreads(__tstate);
35929 if (PyErr_Occurred()) SWIG_fail;
35930 }
35931 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35932 {
35933 if (temp4)
35934 delete arg4;
35935 }
35936 return resultobj;
35937fail:
35938 {
35939 if (temp4)
35940 delete arg4;
35941 }
35942 return NULL;
35943}
35944
35945
35946SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35947 PyObject *resultobj = 0;
35948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35949 wxTreeItemId *arg2 = 0 ;
35950 size_t arg3 ;
35951 wxString *arg4 = 0 ;
35952 int arg5 = (int) -1 ;
35953 int arg6 = (int) -1 ;
35954 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35955 wxTreeItemId result;
35956 void *argp1 = 0 ;
35957 int res1 = 0 ;
35958 void *argp2 = 0 ;
35959 int res2 = 0 ;
35960 size_t val3 ;
35961 int ecode3 = 0 ;
35962 bool temp4 = false ;
35963 int val5 ;
35964 int ecode5 = 0 ;
35965 int val6 ;
35966 int ecode6 = 0 ;
35967 int res7 = 0 ;
35968 PyObject * obj0 = 0 ;
35969 PyObject * obj1 = 0 ;
35970 PyObject * obj2 = 0 ;
35971 PyObject * obj3 = 0 ;
35972 PyObject * obj4 = 0 ;
35973 PyObject * obj5 = 0 ;
35974 PyObject * obj6 = 0 ;
35975 char * kwnames[] = {
35976 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35977 };
35978
35979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35981 if (!SWIG_IsOK(res1)) {
35982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35983 }
35984 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35985 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35986 if (!SWIG_IsOK(res2)) {
35987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35988 }
35989 if (!argp2) {
35990 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35991 }
35992 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35993 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
35994 if (!SWIG_IsOK(ecode3)) {
35995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35996 }
35997 arg3 = static_cast< size_t >(val3);
35998 {
35999 arg4 = wxString_in_helper(obj3);
36000 if (arg4 == NULL) SWIG_fail;
36001 temp4 = true;
36002 }
36003 if (obj4) {
36004 ecode5 = SWIG_AsVal_int(obj4, &val5);
36005 if (!SWIG_IsOK(ecode5)) {
36006 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36007 }
36008 arg5 = static_cast< int >(val5);
36009 }
36010 if (obj5) {
36011 ecode6 = SWIG_AsVal_int(obj5, &val6);
36012 if (!SWIG_IsOK(ecode6)) {
36013 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36014 }
36015 arg6 = static_cast< int >(val6);
36016 }
36017 if (obj6) {
36018 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36019 if (!SWIG_IsOK(res7)) {
36020 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36021 }
554f62e9
RD
36022 }
36023 {
36024 PyThreadState* __tstate = wxPyBeginAllowThreads();
36025 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36026 wxPyEndAllowThreads(__tstate);
36027 if (PyErr_Occurred()) SWIG_fail;
36028 }
36029 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36030 {
36031 if (temp4)
36032 delete arg4;
36033 }
36034 return resultobj;
36035fail:
36036 {
36037 if (temp4)
36038 delete arg4;
36039 }
36040 return NULL;
36041}
36042
36043
36044SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36045 PyObject *resultobj = 0;
36046 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36047 wxTreeItemId *arg2 = 0 ;
36048 wxString *arg3 = 0 ;
36049 int arg4 = (int) -1 ;
36050 int arg5 = (int) -1 ;
36051 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36052 wxTreeItemId result;
36053 void *argp1 = 0 ;
36054 int res1 = 0 ;
36055 void *argp2 = 0 ;
36056 int res2 = 0 ;
36057 bool temp3 = false ;
36058 int val4 ;
36059 int ecode4 = 0 ;
36060 int val5 ;
36061 int ecode5 = 0 ;
36062 int res6 = 0 ;
36063 PyObject * obj0 = 0 ;
36064 PyObject * obj1 = 0 ;
36065 PyObject * obj2 = 0 ;
36066 PyObject * obj3 = 0 ;
36067 PyObject * obj4 = 0 ;
36068 PyObject * obj5 = 0 ;
36069 char * kwnames[] = {
36070 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36071 };
36072
36073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36075 if (!SWIG_IsOK(res1)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36077 }
36078 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36079 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36080 if (!SWIG_IsOK(res2)) {
36081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36082 }
36083 if (!argp2) {
36084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36085 }
36086 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36087 {
36088 arg3 = wxString_in_helper(obj2);
36089 if (arg3 == NULL) SWIG_fail;
36090 temp3 = true;
36091 }
36092 if (obj3) {
36093 ecode4 = SWIG_AsVal_int(obj3, &val4);
36094 if (!SWIG_IsOK(ecode4)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36096 }
36097 arg4 = static_cast< int >(val4);
36098 }
36099 if (obj4) {
36100 ecode5 = SWIG_AsVal_int(obj4, &val5);
36101 if (!SWIG_IsOK(ecode5)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36103 }
36104 arg5 = static_cast< int >(val5);
36105 }
36106 if (obj5) {
36107 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36108 if (!SWIG_IsOK(res6)) {
36109 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36110 }
554f62e9
RD
36111 }
36112 {
36113 PyThreadState* __tstate = wxPyBeginAllowThreads();
36114 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36115 wxPyEndAllowThreads(__tstate);
36116 if (PyErr_Occurred()) SWIG_fail;
36117 }
36118 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36119 {
36120 if (temp3)
36121 delete arg3;
36122 }
36123 return resultobj;
36124fail:
36125 {
36126 if (temp3)
36127 delete arg3;
36128 }
36129 return NULL;
36130}
36131
36132
36133SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36134 PyObject *resultobj = 0;
36135 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36136 wxTreeItemId *arg2 = 0 ;
36137 void *argp1 = 0 ;
36138 int res1 = 0 ;
36139 void *argp2 = 0 ;
36140 int res2 = 0 ;
36141 PyObject * obj0 = 0 ;
36142 PyObject * obj1 = 0 ;
36143 char * kwnames[] = {
36144 (char *) "self",(char *) "item", NULL
36145 };
36146
36147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36149 if (!SWIG_IsOK(res1)) {
36150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36151 }
36152 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36153 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36154 if (!SWIG_IsOK(res2)) {
36155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36156 }
36157 if (!argp2) {
36158 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36159 }
36160 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36161 {
36162 PyThreadState* __tstate = wxPyBeginAllowThreads();
36163 (arg1)->Delete((wxTreeItemId const &)*arg2);
36164 wxPyEndAllowThreads(__tstate);
36165 if (PyErr_Occurred()) SWIG_fail;
36166 }
36167 resultobj = SWIG_Py_Void();
36168 return resultobj;
36169fail:
36170 return NULL;
36171}
36172
36173
36174SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36175 PyObject *resultobj = 0;
36176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36177 wxTreeItemId *arg2 = 0 ;
36178 void *argp1 = 0 ;
36179 int res1 = 0 ;
36180 void *argp2 = 0 ;
36181 int res2 = 0 ;
36182 PyObject * obj0 = 0 ;
36183 PyObject * obj1 = 0 ;
36184 char * kwnames[] = {
36185 (char *) "self",(char *) "item", NULL
36186 };
36187
36188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36190 if (!SWIG_IsOK(res1)) {
36191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36192 }
36193 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36194 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36195 if (!SWIG_IsOK(res2)) {
36196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36197 }
36198 if (!argp2) {
36199 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36200 }
36201 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36202 {
36203 PyThreadState* __tstate = wxPyBeginAllowThreads();
36204 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36205 wxPyEndAllowThreads(__tstate);
36206 if (PyErr_Occurred()) SWIG_fail;
36207 }
36208 resultobj = SWIG_Py_Void();
36209 return resultobj;
36210fail:
36211 return NULL;
d55e5bfc
RD
36212}
36213
36214
554f62e9
RD
36215SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36216 PyObject *resultobj = 0;
36217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36218 void *argp1 = 0 ;
36219 int res1 = 0 ;
36220 PyObject *swig_obj[1] ;
36221
36222 if (!args) SWIG_fail;
36223 swig_obj[0] = args;
36224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36225 if (!SWIG_IsOK(res1)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36227 }
36228 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36229 {
36230 PyThreadState* __tstate = wxPyBeginAllowThreads();
36231 (arg1)->DeleteAllItems();
36232 wxPyEndAllowThreads(__tstate);
36233 if (PyErr_Occurred()) SWIG_fail;
36234 }
36235 resultobj = SWIG_Py_Void();
36236 return resultobj;
36237fail:
36238 return NULL;
36239}
36240
36241
36242SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36243 PyObject *resultobj = 0;
36244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36245 wxTreeItemId *arg2 = 0 ;
36246 void *argp1 = 0 ;
36247 int res1 = 0 ;
36248 void *argp2 = 0 ;
36249 int res2 = 0 ;
36250 PyObject * obj0 = 0 ;
36251 PyObject * obj1 = 0 ;
36252 char * kwnames[] = {
36253 (char *) "self",(char *) "item", NULL
36254 };
36255
36256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36258 if (!SWIG_IsOK(res1)) {
36259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36260 }
36261 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36262 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36263 if (!SWIG_IsOK(res2)) {
36264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36265 }
36266 if (!argp2) {
36267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36268 }
36269 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36270 {
36271 PyThreadState* __tstate = wxPyBeginAllowThreads();
36272 (arg1)->Expand((wxTreeItemId const &)*arg2);
36273 wxPyEndAllowThreads(__tstate);
36274 if (PyErr_Occurred()) SWIG_fail;
36275 }
36276 resultobj = SWIG_Py_Void();
36277 return resultobj;
36278fail:
36279 return NULL;
36280}
36281
36282
36283SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36284 PyObject *resultobj = 0;
36285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36286 wxTreeItemId *arg2 = 0 ;
36287 void *argp1 = 0 ;
36288 int res1 = 0 ;
36289 void *argp2 = 0 ;
36290 int res2 = 0 ;
36291 PyObject * obj0 = 0 ;
36292 PyObject * obj1 = 0 ;
36293 char * kwnames[] = {
36294 (char *) "self",(char *) "item", NULL
36295 };
36296
36297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36299 if (!SWIG_IsOK(res1)) {
36300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36301 }
36302 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36304 if (!SWIG_IsOK(res2)) {
36305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36306 }
36307 if (!argp2) {
36308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36309 }
36310 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36311 {
36312 PyThreadState* __tstate = wxPyBeginAllowThreads();
36313 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36314 wxPyEndAllowThreads(__tstate);
36315 if (PyErr_Occurred()) SWIG_fail;
36316 }
36317 resultobj = SWIG_Py_Void();
36318 return resultobj;
36319fail:
36320 return NULL;
36321}
36322
36323
36324SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36325 PyObject *resultobj = 0;
36326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36327 wxTreeItemId *arg2 = 0 ;
36328 void *argp1 = 0 ;
36329 int res1 = 0 ;
36330 void *argp2 = 0 ;
36331 int res2 = 0 ;
36332 PyObject * obj0 = 0 ;
36333 PyObject * obj1 = 0 ;
36334 char * kwnames[] = {
36335 (char *) "self",(char *) "item", NULL
36336 };
36337
36338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36340 if (!SWIG_IsOK(res1)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36342 }
36343 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36344 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36345 if (!SWIG_IsOK(res2)) {
36346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36347 }
36348 if (!argp2) {
36349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36350 }
36351 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36352 {
36353 PyThreadState* __tstate = wxPyBeginAllowThreads();
36354 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36355 wxPyEndAllowThreads(__tstate);
36356 if (PyErr_Occurred()) SWIG_fail;
36357 }
36358 resultobj = SWIG_Py_Void();
36359 return resultobj;
36360fail:
36361 return NULL;
36362}
36363
36364
36365SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36366 PyObject *resultobj = 0;
36367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36368 wxTreeItemId *arg2 = 0 ;
36369 void *argp1 = 0 ;
36370 int res1 = 0 ;
36371 void *argp2 = 0 ;
36372 int res2 = 0 ;
36373 PyObject * obj0 = 0 ;
36374 PyObject * obj1 = 0 ;
36375 char * kwnames[] = {
36376 (char *) "self",(char *) "item", NULL
36377 };
36378
36379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36381 if (!SWIG_IsOK(res1)) {
36382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36383 }
36384 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36385 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36386 if (!SWIG_IsOK(res2)) {
36387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36388 }
36389 if (!argp2) {
36390 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36391 }
36392 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36393 {
36394 PyThreadState* __tstate = wxPyBeginAllowThreads();
36395 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36396 wxPyEndAllowThreads(__tstate);
36397 if (PyErr_Occurred()) SWIG_fail;
36398 }
36399 resultobj = SWIG_Py_Void();
36400 return resultobj;
36401fail:
36402 return NULL;
d55e5bfc
RD
36403}
36404
36405
554f62e9
RD
36406SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36407 PyObject *resultobj = 0;
36408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36409 void *argp1 = 0 ;
36410 int res1 = 0 ;
36411 PyObject *swig_obj[1] ;
36412
36413 if (!args) SWIG_fail;
36414 swig_obj[0] = args;
36415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36416 if (!SWIG_IsOK(res1)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36418 }
36419 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36420 {
36421 PyThreadState* __tstate = wxPyBeginAllowThreads();
36422 (arg1)->Unselect();
36423 wxPyEndAllowThreads(__tstate);
36424 if (PyErr_Occurred()) SWIG_fail;
36425 }
36426 resultobj = SWIG_Py_Void();
36427 return resultobj;
36428fail:
36429 return NULL;
36430}
36431
36432
36433SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36434 PyObject *resultobj = 0;
36435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36436 wxTreeItemId *arg2 = 0 ;
36437 void *argp1 = 0 ;
36438 int res1 = 0 ;
36439 void *argp2 = 0 ;
36440 int res2 = 0 ;
36441 PyObject * obj0 = 0 ;
36442 PyObject * obj1 = 0 ;
36443 char * kwnames[] = {
36444 (char *) "self",(char *) "item", NULL
36445 };
36446
36447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36449 if (!SWIG_IsOK(res1)) {
36450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36451 }
36452 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36453 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36454 if (!SWIG_IsOK(res2)) {
36455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36456 }
36457 if (!argp2) {
36458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36459 }
36460 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36461 {
36462 PyThreadState* __tstate = wxPyBeginAllowThreads();
36463 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36464 wxPyEndAllowThreads(__tstate);
36465 if (PyErr_Occurred()) SWIG_fail;
36466 }
36467 resultobj = SWIG_Py_Void();
36468 return resultobj;
36469fail:
36470 return NULL;
d55e5bfc
RD
36471}
36472
36473
554f62e9
RD
36474SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36475 PyObject *resultobj = 0;
36476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36477 void *argp1 = 0 ;
36478 int res1 = 0 ;
36479 PyObject *swig_obj[1] ;
36480
36481 if (!args) SWIG_fail;
36482 swig_obj[0] = args;
36483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36484 if (!SWIG_IsOK(res1)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36486 }
36487 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36488 {
36489 PyThreadState* __tstate = wxPyBeginAllowThreads();
36490 (arg1)->UnselectAll();
36491 wxPyEndAllowThreads(__tstate);
36492 if (PyErr_Occurred()) SWIG_fail;
36493 }
36494 resultobj = SWIG_Py_Void();
36495 return resultobj;
36496fail:
36497 return NULL;
36498}
36499
36500
36501SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36502 PyObject *resultobj = 0;
36503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36504 wxTreeItemId *arg2 = 0 ;
36505 bool arg3 = (bool) true ;
36506 void *argp1 = 0 ;
36507 int res1 = 0 ;
36508 void *argp2 = 0 ;
36509 int res2 = 0 ;
36510 bool val3 ;
36511 int ecode3 = 0 ;
36512 PyObject * obj0 = 0 ;
36513 PyObject * obj1 = 0 ;
36514 PyObject * obj2 = 0 ;
36515 char * kwnames[] = {
36516 (char *) "self",(char *) "item",(char *) "select", NULL
36517 };
36518
36519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36521 if (!SWIG_IsOK(res1)) {
36522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36523 }
36524 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36526 if (!SWIG_IsOK(res2)) {
36527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36528 }
36529 if (!argp2) {
36530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36531 }
36532 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36533 if (obj2) {
36534 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36535 if (!SWIG_IsOK(ecode3)) {
36536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36537 }
36538 arg3 = static_cast< bool >(val3);
36539 }
36540 {
36541 PyThreadState* __tstate = wxPyBeginAllowThreads();
36542 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36543 wxPyEndAllowThreads(__tstate);
36544 if (PyErr_Occurred()) SWIG_fail;
36545 }
36546 resultobj = SWIG_Py_Void();
36547 return resultobj;
36548fail:
36549 return NULL;
36550}
36551
36552
36553SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36554 PyObject *resultobj = 0;
36555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36556 wxTreeItemId *arg2 = 0 ;
36557 void *argp1 = 0 ;
36558 int res1 = 0 ;
36559 void *argp2 = 0 ;
36560 int res2 = 0 ;
36561 PyObject * obj0 = 0 ;
36562 PyObject * obj1 = 0 ;
36563 char * kwnames[] = {
36564 (char *) "self",(char *) "item", NULL
36565 };
36566
36567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36569 if (!SWIG_IsOK(res1)) {
36570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36571 }
36572 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36574 if (!SWIG_IsOK(res2)) {
36575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36576 }
36577 if (!argp2) {
36578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36579 }
36580 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36581 {
36582 PyThreadState* __tstate = wxPyBeginAllowThreads();
36583 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
36584 wxPyEndAllowThreads(__tstate);
36585 if (PyErr_Occurred()) SWIG_fail;
36586 }
36587 resultobj = SWIG_Py_Void();
36588 return resultobj;
36589fail:
36590 return NULL;
36591}
36592
36593
36594SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36595 PyObject *resultobj = 0;
36596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36597 wxTreeItemId *arg2 = 0 ;
36598 void *argp1 = 0 ;
36599 int res1 = 0 ;
36600 void *argp2 = 0 ;
36601 int res2 = 0 ;
36602 PyObject * obj0 = 0 ;
36603 PyObject * obj1 = 0 ;
36604 char * kwnames[] = {
36605 (char *) "self",(char *) "item", NULL
36606 };
36607
36608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36610 if (!SWIG_IsOK(res1)) {
36611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36612 }
36613 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36614 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36615 if (!SWIG_IsOK(res2)) {
36616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36617 }
36618 if (!argp2) {
36619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36620 }
36621 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36622 {
36623 PyThreadState* __tstate = wxPyBeginAllowThreads();
36624 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
36625 wxPyEndAllowThreads(__tstate);
36626 if (PyErr_Occurred()) SWIG_fail;
36627 }
36628 resultobj = SWIG_Py_Void();
36629 return resultobj;
36630fail:
36631 return NULL;
36632}
36633
36634
36635SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36636 PyObject *resultobj = 0;
36637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36638 wxTreeItemId *arg2 = 0 ;
36639 void *argp1 = 0 ;
36640 int res1 = 0 ;
36641 void *argp2 = 0 ;
36642 int res2 = 0 ;
36643 PyObject * obj0 = 0 ;
36644 PyObject * obj1 = 0 ;
36645 char * kwnames[] = {
36646 (char *) "self",(char *) "item", NULL
36647 };
36648
36649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
36650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36651 if (!SWIG_IsOK(res1)) {
36652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36653 }
36654 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36656 if (!SWIG_IsOK(res2)) {
36657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36658 }
36659 if (!argp2) {
36660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36661 }
36662 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36663 {
36664 PyThreadState* __tstate = wxPyBeginAllowThreads();
36665 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
36666 wxPyEndAllowThreads(__tstate);
36667 if (PyErr_Occurred()) SWIG_fail;
36668 }
36669 resultobj = SWIG_Py_Void();
36670 return resultobj;
36671fail:
36672 return NULL;
36673}
36674
36675
36676SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36677 PyObject *resultobj = 0;
36678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36679 wxTreeItemId *arg2 = 0 ;
36680 void *argp1 = 0 ;
36681 int res1 = 0 ;
36682 void *argp2 = 0 ;
36683 int res2 = 0 ;
36684 PyObject * obj0 = 0 ;
36685 PyObject * obj1 = 0 ;
36686 char * kwnames[] = {
36687 (char *) "self",(char *) "item", NULL
36688 };
36689
36690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
36691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36692 if (!SWIG_IsOK(res1)) {
36693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36694 }
36695 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36696 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36697 if (!SWIG_IsOK(res2)) {
36698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36699 }
36700 if (!argp2) {
36701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36702 }
36703 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36704 {
36705 PyThreadState* __tstate = wxPyBeginAllowThreads();
36706 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
36707 wxPyEndAllowThreads(__tstate);
36708 if (PyErr_Occurred()) SWIG_fail;
36709 }
36710 resultobj = SWIG_Py_Void();
36711 return resultobj;
36712fail:
36713 return NULL;
d55e5bfc
RD
36714}
36715
36716
554f62e9
RD
36717SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36718 PyObject *resultobj = 0;
36719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36720 wxTextCtrl *result = 0 ;
36721 void *argp1 = 0 ;
36722 int res1 = 0 ;
36723 PyObject *swig_obj[1] ;
36724
36725 if (!args) SWIG_fail;
36726 swig_obj[0] = args;
36727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36728 if (!SWIG_IsOK(res1)) {
36729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36730 }
36731 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36732 {
36733 PyThreadState* __tstate = wxPyBeginAllowThreads();
36734 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
36735 wxPyEndAllowThreads(__tstate);
36736 if (PyErr_Occurred()) SWIG_fail;
36737 }
36738 {
36739 resultobj = wxPyMake_wxObject(result, 0);
36740 }
36741 return resultobj;
36742fail:
36743 return NULL;
36744}
36745
36746
36747SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36748 PyObject *resultobj = 0;
36749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36750 wxTreeItemId *arg2 = 0 ;
36751 bool arg3 = (bool) false ;
36752 void *argp1 = 0 ;
36753 int res1 = 0 ;
36754 void *argp2 = 0 ;
36755 int res2 = 0 ;
36756 bool val3 ;
36757 int ecode3 = 0 ;
36758 PyObject * obj0 = 0 ;
36759 PyObject * obj1 = 0 ;
36760 PyObject * obj2 = 0 ;
36761 char * kwnames[] = {
36762 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36763 };
36764
36765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36767 if (!SWIG_IsOK(res1)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36769 }
36770 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36771 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36772 if (!SWIG_IsOK(res2)) {
36773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36774 }
36775 if (!argp2) {
36776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36777 }
36778 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36779 if (obj2) {
36780 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36781 if (!SWIG_IsOK(ecode3)) {
36782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36783 }
36784 arg3 = static_cast< bool >(val3);
36785 }
36786 {
36787 PyThreadState* __tstate = wxPyBeginAllowThreads();
36788 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
36789 wxPyEndAllowThreads(__tstate);
36790 if (PyErr_Occurred()) SWIG_fail;
36791 }
36792 resultobj = SWIG_Py_Void();
36793 return resultobj;
36794fail:
36795 return NULL;
36796}
36797
36798
36799SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36800 PyObject *resultobj = 0;
36801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36802 wxTreeItemId *arg2 = 0 ;
36803 void *argp1 = 0 ;
36804 int res1 = 0 ;
36805 void *argp2 = 0 ;
36806 int res2 = 0 ;
36807 PyObject * obj0 = 0 ;
36808 PyObject * obj1 = 0 ;
36809 char * kwnames[] = {
36810 (char *) "self",(char *) "item", NULL
36811 };
36812
36813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36815 if (!SWIG_IsOK(res1)) {
36816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36817 }
36818 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36819 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36820 if (!SWIG_IsOK(res2)) {
36821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36822 }
36823 if (!argp2) {
36824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36825 }
36826 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36827 {
36828 PyThreadState* __tstate = wxPyBeginAllowThreads();
36829 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
36830 wxPyEndAllowThreads(__tstate);
36831 if (PyErr_Occurred()) SWIG_fail;
36832 }
36833 resultobj = SWIG_Py_Void();
36834 return resultobj;
36835fail:
36836 return NULL;
36837}
36838
36839
36840SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36841 PyObject *resultobj = 0;
36842 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36843 wxPoint *arg2 = 0 ;
36844 int *arg3 = 0 ;
36845 wxTreeItemId result;
36846 void *argp1 = 0 ;
36847 int res1 = 0 ;
36848 wxPoint temp2 ;
36849 int temp3 ;
36850 int res3 = SWIG_TMPOBJ ;
36851 PyObject * obj0 = 0 ;
36852 PyObject * obj1 = 0 ;
36853 char * kwnames[] = {
36854 (char *) "self",(char *) "point", NULL
36855 };
36856
36857 arg3 = &temp3;
36858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
36859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36860 if (!SWIG_IsOK(res1)) {
36861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36862 }
36863 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36864 {
36865 arg2 = &temp2;
36866 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
36867 }
36868 {
36869 PyThreadState* __tstate = wxPyBeginAllowThreads();
36870 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
36871 wxPyEndAllowThreads(__tstate);
36872 if (PyErr_Occurred()) SWIG_fail;
36873 }
36874 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36875 if (SWIG_IsTmpObj(res3)) {
36876 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
36877 } else {
36878 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
36879 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
36880 }
36881 return resultobj;
36882fail:
36883 return NULL;
36884}
36885
36886
36887SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36888 PyObject *resultobj = 0;
36889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36890 wxTreeItemId *arg2 = 0 ;
36891 bool arg3 = (bool) false ;
36892 PyObject *result = 0 ;
36893 void *argp1 = 0 ;
36894 int res1 = 0 ;
36895 void *argp2 = 0 ;
36896 int res2 = 0 ;
36897 bool val3 ;
36898 int ecode3 = 0 ;
36899 PyObject * obj0 = 0 ;
36900 PyObject * obj1 = 0 ;
36901 PyObject * obj2 = 0 ;
36902 char * kwnames[] = {
36903 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36904 };
36905
36906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36908 if (!SWIG_IsOK(res1)) {
36909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36910 }
36911 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36912 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36913 if (!SWIG_IsOK(res2)) {
36914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36915 }
36916 if (!argp2) {
36917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36918 }
36919 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36920 if (obj2) {
36921 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36922 if (!SWIG_IsOK(ecode3)) {
36923 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36924 }
36925 arg3 = static_cast< bool >(val3);
36926 }
36927 {
36928 PyThreadState* __tstate = wxPyBeginAllowThreads();
36929 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
36930 wxPyEndAllowThreads(__tstate);
36931 if (PyErr_Occurred()) SWIG_fail;
36932 }
36933 resultobj = result;
36934 return resultobj;
36935fail:
36936 return NULL;
36937}
36938
36939
36940SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36941 PyObject *resultobj = 0;
36942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36943 wxTreeItemId *arg2 = 0 ;
36944 int arg3 ;
36945 void *argp1 = 0 ;
36946 int res1 = 0 ;
36947 void *argp2 = 0 ;
36948 int res2 = 0 ;
36949 int val3 ;
36950 int ecode3 = 0 ;
36951 PyObject * obj0 = 0 ;
36952 PyObject * obj1 = 0 ;
36953 PyObject * obj2 = 0 ;
36954 char * kwnames[] = {
36955 (char *) "self",(char *) "node",(char *) "state", NULL
36956 };
36957
36958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36960 if (!SWIG_IsOK(res1)) {
36961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36962 }
36963 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36964 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36965 if (!SWIG_IsOK(res2)) {
36966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36967 }
36968 if (!argp2) {
36969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36970 }
36971 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36972 ecode3 = SWIG_AsVal_int(obj2, &val3);
36973 if (!SWIG_IsOK(ecode3)) {
36974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36975 }
36976 arg3 = static_cast< int >(val3);
36977 {
36978 PyThreadState* __tstate = wxPyBeginAllowThreads();
36979 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
36980 wxPyEndAllowThreads(__tstate);
36981 if (PyErr_Occurred()) SWIG_fail;
36982 }
36983 resultobj = SWIG_Py_Void();
36984 return resultobj;
36985fail:
36986 return NULL;
36987}
36988
36989
36990SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36991 PyObject *resultobj = 0;
36992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36993 wxTreeItemId *arg2 = 0 ;
36994 int result;
36995 void *argp1 = 0 ;
36996 int res1 = 0 ;
36997 void *argp2 = 0 ;
36998 int res2 = 0 ;
36999 PyObject * obj0 = 0 ;
37000 PyObject * obj1 = 0 ;
37001 char * kwnames[] = {
37002 (char *) "self",(char *) "node", NULL
37003 };
37004
37005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37007 if (!SWIG_IsOK(res1)) {
37008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37009 }
37010 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37012 if (!SWIG_IsOK(res2)) {
37013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37014 }
37015 if (!argp2) {
37016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37017 }
37018 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37019 {
37020 PyThreadState* __tstate = wxPyBeginAllowThreads();
37021 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37022 wxPyEndAllowThreads(__tstate);
37023 if (PyErr_Occurred()) SWIG_fail;
37024 }
37025 resultobj = SWIG_From_int(static_cast< int >(result));
37026 return resultobj;
37027fail:
37028 return NULL;
37029}
37030
37031
37032SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37033 PyObject *resultobj = 0;
37034 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37035 SwigValueWrapper<wxVisualAttributes > result;
37036 int val1 ;
37037 int ecode1 = 0 ;
37038 PyObject * obj0 = 0 ;
37039 char * kwnames[] = {
37040 (char *) "variant", NULL
37041 };
37042
37043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37044 if (obj0) {
37045 ecode1 = SWIG_AsVal_int(obj0, &val1);
37046 if (!SWIG_IsOK(ecode1)) {
37047 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37048 }
37049 arg1 = static_cast< wxWindowVariant >(val1);
37050 }
37051 {
37052 if (!wxPyCheckForApp()) SWIG_fail;
37053 PyThreadState* __tstate = wxPyBeginAllowThreads();
37054 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37055 wxPyEndAllowThreads(__tstate);
37056 if (PyErr_Occurred()) SWIG_fail;
37057 }
37058 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37059 return resultobj;
37060fail:
37061 return NULL;
d55e5bfc
RD
37062}
37063
37064
2131d850
RD
37065SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37066 PyObject *resultobj = 0;
37067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37068 bool arg2 ;
37069 void *argp1 = 0 ;
37070 int res1 = 0 ;
37071 bool val2 ;
37072 int ecode2 = 0 ;
37073 PyObject * obj0 = 0 ;
37074 PyObject * obj1 = 0 ;
37075 char * kwnames[] = {
37076 (char *) "self",(char *) "q", NULL
37077 };
37078
37079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37081 if (!SWIG_IsOK(res1)) {
37082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37083 }
37084 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37085 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37086 if (!SWIG_IsOK(ecode2)) {
37087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37088 }
37089 arg2 = static_cast< bool >(val2);
37090 {
37091 PyThreadState* __tstate = wxPyBeginAllowThreads();
37092 (arg1)->SetQuickBestSize(arg2);
37093 wxPyEndAllowThreads(__tstate);
37094 if (PyErr_Occurred()) SWIG_fail;
37095 }
37096 resultobj = SWIG_Py_Void();
37097 return resultobj;
37098fail:
37099 return NULL;
37100}
37101
37102
37103SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37104 PyObject *resultobj = 0;
37105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37106 bool result;
37107 void *argp1 = 0 ;
37108 int res1 = 0 ;
37109 PyObject *swig_obj[1] ;
37110
37111 if (!args) SWIG_fail;
37112 swig_obj[0] = args;
37113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37114 if (!SWIG_IsOK(res1)) {
37115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37116 }
37117 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37118 {
37119 PyThreadState* __tstate = wxPyBeginAllowThreads();
37120 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37121 wxPyEndAllowThreads(__tstate);
37122 if (PyErr_Occurred()) SWIG_fail;
37123 }
37124 {
37125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37126 }
37127 return resultobj;
37128fail:
37129 return NULL;
37130}
37131
37132
554f62e9
RD
37133SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37134 PyObject *obj;
37135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37137 return SWIG_Py_Void();
d55e5bfc
RD
37138}
37139
554f62e9
RD
37140SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37141 return SWIG_Python_InitShadowInstance(args);
37142}
d55e5bfc 37143
554f62e9
RD
37144SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37145 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37146 return 1;
d55e5bfc
RD
37147}
37148
37149
554f62e9
RD
37150SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37151 PyObject *pyobj = 0;
37152
37153 {
d55e5bfc 37154#if wxUSE_UNICODE
554f62e9 37155 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37156#else
554f62e9 37157 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37158#endif
554f62e9
RD
37159 }
37160 return pyobj;
37161}
37162
37163
37164SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37165 PyObject *resultobj = 0;
37166 wxWindow *arg1 = (wxWindow *) 0 ;
37167 int arg2 = (int) (int)-1 ;
37168 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37169 wxString *arg3 = (wxString *) &arg3_defvalue ;
37170 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37171 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37172 wxSize const &arg5_defvalue = wxDefaultSize ;
37173 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37174 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37175 wxString const &arg7_defvalue = wxPyEmptyString ;
37176 wxString *arg7 = (wxString *) &arg7_defvalue ;
37177 int arg8 = (int) 0 ;
37178 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37179 wxString *arg9 = (wxString *) &arg9_defvalue ;
37180 wxGenericDirCtrl *result = 0 ;
37181 void *argp1 = 0 ;
37182 int res1 = 0 ;
37183 int val2 ;
37184 int ecode2 = 0 ;
37185 bool temp3 = false ;
37186 wxPoint temp4 ;
37187 wxSize temp5 ;
37188 long val6 ;
37189 int ecode6 = 0 ;
37190 bool temp7 = false ;
37191 int val8 ;
37192 int ecode8 = 0 ;
37193 bool temp9 = false ;
37194 PyObject * obj0 = 0 ;
37195 PyObject * obj1 = 0 ;
37196 PyObject * obj2 = 0 ;
37197 PyObject * obj3 = 0 ;
37198 PyObject * obj4 = 0 ;
37199 PyObject * obj5 = 0 ;
37200 PyObject * obj6 = 0 ;
37201 PyObject * obj7 = 0 ;
37202 PyObject * obj8 = 0 ;
37203 char * kwnames[] = {
37204 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37205 };
37206
37207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37209 if (!SWIG_IsOK(res1)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37211 }
37212 arg1 = reinterpret_cast< wxWindow * >(argp1);
37213 if (obj1) {
37214 ecode2 = SWIG_AsVal_int(obj1, &val2);
37215 if (!SWIG_IsOK(ecode2)) {
37216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37217 }
37218 arg2 = static_cast< int >(val2);
37219 }
37220 if (obj2) {
093d3ff1 37221 {
554f62e9
RD
37222 arg3 = wxString_in_helper(obj2);
37223 if (arg3 == NULL) SWIG_fail;
37224 temp3 = true;
093d3ff1 37225 }
554f62e9
RD
37226 }
37227 if (obj3) {
093d3ff1 37228 {
554f62e9
RD
37229 arg4 = &temp4;
37230 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 37231 }
554f62e9
RD
37232 }
37233 if (obj4) {
d55e5bfc 37234 {
554f62e9
RD
37235 arg5 = &temp5;
37236 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 37237 }
554f62e9
RD
37238 }
37239 if (obj5) {
37240 ecode6 = SWIG_AsVal_long(obj5, &val6);
37241 if (!SWIG_IsOK(ecode6)) {
37242 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37243 }
37244 arg6 = static_cast< long >(val6);
37245 }
37246 if (obj6) {
d55e5bfc 37247 {
554f62e9
RD
37248 arg7 = wxString_in_helper(obj6);
37249 if (arg7 == NULL) SWIG_fail;
37250 temp7 = true;
d55e5bfc 37251 }
554f62e9
RD
37252 }
37253 if (obj7) {
37254 ecode8 = SWIG_AsVal_int(obj7, &val8);
37255 if (!SWIG_IsOK(ecode8)) {
37256 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37257 }
37258 arg8 = static_cast< int >(val8);
37259 }
37260 if (obj8) {
d55e5bfc 37261 {
554f62e9
RD
37262 arg9 = wxString_in_helper(obj8);
37263 if (arg9 == NULL) SWIG_fail;
37264 temp9 = true;
d55e5bfc 37265 }
554f62e9
RD
37266 }
37267 {
37268 if (!wxPyCheckForApp()) SWIG_fail;
37269 PyThreadState* __tstate = wxPyBeginAllowThreads();
37270 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37271 wxPyEndAllowThreads(__tstate);
37272 if (PyErr_Occurred()) SWIG_fail;
37273 }
37274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37275 {
37276 if (temp3)
37277 delete arg3;
37278 }
37279 {
37280 if (temp7)
37281 delete arg7;
37282 }
37283 {
37284 if (temp9)
37285 delete arg9;
37286 }
37287 return resultobj;
37288fail:
37289 {
37290 if (temp3)
37291 delete arg3;
37292 }
37293 {
37294 if (temp7)
37295 delete arg7;
37296 }
37297 {
37298 if (temp9)
37299 delete arg9;
37300 }
37301 return NULL;
d55e5bfc
RD
37302}
37303
37304
554f62e9
RD
37305SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37306 PyObject *resultobj = 0;
37307 wxGenericDirCtrl *result = 0 ;
37308
37309 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37310 {
37311 if (!wxPyCheckForApp()) SWIG_fail;
37312 PyThreadState* __tstate = wxPyBeginAllowThreads();
37313 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37314 wxPyEndAllowThreads(__tstate);
37315 if (PyErr_Occurred()) SWIG_fail;
37316 }
37317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37318 return resultobj;
37319fail:
37320 return NULL;
37321}
37322
37323
37324SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37325 PyObject *resultobj = 0;
37326 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37327 wxWindow *arg2 = (wxWindow *) 0 ;
37328 int arg3 = (int) (int)-1 ;
37329 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37330 wxString *arg4 = (wxString *) &arg4_defvalue ;
37331 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37332 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37333 wxSize const &arg6_defvalue = wxDefaultSize ;
37334 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37335 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37336 wxString const &arg8_defvalue = wxPyEmptyString ;
37337 wxString *arg8 = (wxString *) &arg8_defvalue ;
37338 int arg9 = (int) 0 ;
37339 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37340 wxString *arg10 = (wxString *) &arg10_defvalue ;
37341 bool result;
37342 void *argp1 = 0 ;
37343 int res1 = 0 ;
37344 void *argp2 = 0 ;
37345 int res2 = 0 ;
37346 int val3 ;
37347 int ecode3 = 0 ;
37348 bool temp4 = false ;
37349 wxPoint temp5 ;
37350 wxSize temp6 ;
37351 long val7 ;
37352 int ecode7 = 0 ;
37353 bool temp8 = false ;
37354 int val9 ;
37355 int ecode9 = 0 ;
37356 bool temp10 = false ;
37357 PyObject * obj0 = 0 ;
37358 PyObject * obj1 = 0 ;
37359 PyObject * obj2 = 0 ;
37360 PyObject * obj3 = 0 ;
37361 PyObject * obj4 = 0 ;
37362 PyObject * obj5 = 0 ;
37363 PyObject * obj6 = 0 ;
37364 PyObject * obj7 = 0 ;
37365 PyObject * obj8 = 0 ;
37366 PyObject * obj9 = 0 ;
37367 char * kwnames[] = {
37368 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37369 };
37370
37371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37373 if (!SWIG_IsOK(res1)) {
37374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37375 }
37376 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37378 if (!SWIG_IsOK(res2)) {
37379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37380 }
37381 arg2 = reinterpret_cast< wxWindow * >(argp2);
37382 if (obj2) {
37383 ecode3 = SWIG_AsVal_int(obj2, &val3);
37384 if (!SWIG_IsOK(ecode3)) {
37385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37386 }
37387 arg3 = static_cast< int >(val3);
37388 }
37389 if (obj3) {
d55e5bfc 37390 {
554f62e9
RD
37391 arg4 = wxString_in_helper(obj3);
37392 if (arg4 == NULL) SWIG_fail;
37393 temp4 = true;
d55e5bfc 37394 }
554f62e9
RD
37395 }
37396 if (obj4) {
093d3ff1 37397 {
554f62e9
RD
37398 arg5 = &temp5;
37399 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37400 }
554f62e9
RD
37401 }
37402 if (obj5) {
d55e5bfc 37403 {
554f62e9
RD
37404 arg6 = &temp6;
37405 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37406 }
554f62e9
RD
37407 }
37408 if (obj6) {
37409 ecode7 = SWIG_AsVal_long(obj6, &val7);
37410 if (!SWIG_IsOK(ecode7)) {
37411 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37412 }
37413 arg7 = static_cast< long >(val7);
37414 }
37415 if (obj7) {
d55e5bfc 37416 {
554f62e9
RD
37417 arg8 = wxString_in_helper(obj7);
37418 if (arg8 == NULL) SWIG_fail;
37419 temp8 = true;
d55e5bfc 37420 }
554f62e9
RD
37421 }
37422 if (obj8) {
37423 ecode9 = SWIG_AsVal_int(obj8, &val9);
37424 if (!SWIG_IsOK(ecode9)) {
37425 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37426 }
37427 arg9 = static_cast< int >(val9);
37428 }
37429 if (obj9) {
d55e5bfc 37430 {
554f62e9
RD
37431 arg10 = wxString_in_helper(obj9);
37432 if (arg10 == NULL) SWIG_fail;
37433 temp10 = true;
d55e5bfc 37434 }
554f62e9
RD
37435 }
37436 {
37437 PyThreadState* __tstate = wxPyBeginAllowThreads();
37438 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37439 wxPyEndAllowThreads(__tstate);
37440 if (PyErr_Occurred()) SWIG_fail;
37441 }
37442 {
37443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37444 }
37445 {
37446 if (temp4)
37447 delete arg4;
37448 }
37449 {
37450 if (temp8)
37451 delete arg8;
37452 }
37453 {
37454 if (temp10)
37455 delete arg10;
37456 }
37457 return resultobj;
37458fail:
37459 {
37460 if (temp4)
37461 delete arg4;
37462 }
37463 {
37464 if (temp8)
37465 delete arg8;
37466 }
37467 {
37468 if (temp10)
37469 delete arg10;
37470 }
37471 return NULL;
37472}
37473
37474
37475SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37476 PyObject *resultobj = 0;
37477 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37478 wxString *arg2 = 0 ;
37479 bool result;
37480 void *argp1 = 0 ;
37481 int res1 = 0 ;
37482 bool temp2 = false ;
37483 PyObject * obj0 = 0 ;
37484 PyObject * obj1 = 0 ;
37485 char * kwnames[] = {
37486 (char *) "self",(char *) "path", NULL
37487 };
37488
37489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37491 if (!SWIG_IsOK(res1)) {
37492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37493 }
37494 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37495 {
37496 arg2 = wxString_in_helper(obj1);
37497 if (arg2 == NULL) SWIG_fail;
37498 temp2 = true;
37499 }
37500 {
37501 PyThreadState* __tstate = wxPyBeginAllowThreads();
37502 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37503 wxPyEndAllowThreads(__tstate);
37504 if (PyErr_Occurred()) SWIG_fail;
37505 }
37506 {
37507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37508 }
37509 {
37510 if (temp2)
37511 delete arg2;
37512 }
37513 return resultobj;
37514fail:
37515 {
37516 if (temp2)
37517 delete arg2;
37518 }
37519 return NULL;
d55e5bfc
RD
37520}
37521
37522
704eda0c
RD
37523SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37524 PyObject *resultobj = 0;
37525 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37526 wxString *arg2 = 0 ;
37527 bool result;
37528 void *argp1 = 0 ;
37529 int res1 = 0 ;
37530 bool temp2 = false ;
37531 PyObject * obj0 = 0 ;
37532 PyObject * obj1 = 0 ;
37533 char * kwnames[] = {
37534 (char *) "self",(char *) "path", NULL
37535 };
37536
37537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37539 if (!SWIG_IsOK(res1)) {
37540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37541 }
37542 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37543 {
37544 arg2 = wxString_in_helper(obj1);
37545 if (arg2 == NULL) SWIG_fail;
37546 temp2 = true;
37547 }
37548 {
37549 PyThreadState* __tstate = wxPyBeginAllowThreads();
37550 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37551 wxPyEndAllowThreads(__tstate);
37552 if (PyErr_Occurred()) SWIG_fail;
37553 }
37554 {
37555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37556 }
37557 {
37558 if (temp2)
37559 delete arg2;
37560 }
37561 return resultobj;
37562fail:
37563 {
37564 if (temp2)
37565 delete arg2;
37566 }
37567 return NULL;
37568}
37569
37570
554f62e9
RD
37571SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37572 PyObject *resultobj = 0;
37573 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37574 wxString result;
37575 void *argp1 = 0 ;
37576 int res1 = 0 ;
37577 PyObject *swig_obj[1] ;
37578
37579 if (!args) SWIG_fail;
37580 swig_obj[0] = args;
37581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37582 if (!SWIG_IsOK(res1)) {
37583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37584 }
37585 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37586 {
37587 PyThreadState* __tstate = wxPyBeginAllowThreads();
37588 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37589 wxPyEndAllowThreads(__tstate);
37590 if (PyErr_Occurred()) SWIG_fail;
37591 }
37592 {
37593#if wxUSE_UNICODE
37594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37595#else
37596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37597#endif
37598 }
37599 return resultobj;
37600fail:
37601 return NULL;
37602}
37603
37604
37605SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37606 PyObject *resultobj = 0;
37607 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37608 wxString *arg2 = 0 ;
37609 void *argp1 = 0 ;
37610 int res1 = 0 ;
37611 bool temp2 = false ;
37612 PyObject * obj0 = 0 ;
37613 PyObject * obj1 = 0 ;
37614 char * kwnames[] = {
37615 (char *) "self",(char *) "path", NULL
37616 };
37617
37618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37620 if (!SWIG_IsOK(res1)) {
37621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37622 }
37623 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37624 {
37625 arg2 = wxString_in_helper(obj1);
37626 if (arg2 == NULL) SWIG_fail;
37627 temp2 = true;
37628 }
37629 {
37630 PyThreadState* __tstate = wxPyBeginAllowThreads();
37631 (arg1)->SetDefaultPath((wxString const &)*arg2);
37632 wxPyEndAllowThreads(__tstate);
37633 if (PyErr_Occurred()) SWIG_fail;
37634 }
37635 resultobj = SWIG_Py_Void();
37636 {
37637 if (temp2)
37638 delete arg2;
37639 }
37640 return resultobj;
37641fail:
37642 {
37643 if (temp2)
37644 delete arg2;
37645 }
37646 return NULL;
d55e5bfc
RD
37647}
37648
37649
554f62e9
RD
37650SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37651 PyObject *resultobj = 0;
37652 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37653 wxString result;
37654 void *argp1 = 0 ;
37655 int res1 = 0 ;
37656 PyObject *swig_obj[1] ;
37657
37658 if (!args) SWIG_fail;
37659 swig_obj[0] = args;
37660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37661 if (!SWIG_IsOK(res1)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37663 }
37664 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37665 {
37666 PyThreadState* __tstate = wxPyBeginAllowThreads();
37667 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37668 wxPyEndAllowThreads(__tstate);
37669 if (PyErr_Occurred()) SWIG_fail;
37670 }
37671 {
37672#if wxUSE_UNICODE
37673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37674#else
37675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37676#endif
37677 }
37678 return resultobj;
37679fail:
37680 return NULL;
d55e5bfc
RD
37681}
37682
37683
554f62e9
RD
37684SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37685 PyObject *resultobj = 0;
37686 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37687 wxString result;
37688 void *argp1 = 0 ;
37689 int res1 = 0 ;
37690 PyObject *swig_obj[1] ;
37691
37692 if (!args) SWIG_fail;
37693 swig_obj[0] = args;
37694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37695 if (!SWIG_IsOK(res1)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37697 }
37698 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37699 {
37700 PyThreadState* __tstate = wxPyBeginAllowThreads();
37701 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37702 wxPyEndAllowThreads(__tstate);
37703 if (PyErr_Occurred()) SWIG_fail;
37704 }
37705 {
37706#if wxUSE_UNICODE
37707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37708#else
37709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37710#endif
37711 }
37712 return resultobj;
37713fail:
37714 return NULL;
37715}
37716
37717
37718SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37719 PyObject *resultobj = 0;
37720 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37721 wxString *arg2 = 0 ;
37722 void *argp1 = 0 ;
37723 int res1 = 0 ;
37724 bool temp2 = false ;
37725 PyObject * obj0 = 0 ;
37726 PyObject * obj1 = 0 ;
37727 char * kwnames[] = {
37728 (char *) "self",(char *) "path", NULL
37729 };
37730
37731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
37732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37733 if (!SWIG_IsOK(res1)) {
37734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37735 }
37736 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37737 {
37738 arg2 = wxString_in_helper(obj1);
37739 if (arg2 == NULL) SWIG_fail;
37740 temp2 = true;
37741 }
37742 {
37743 PyThreadState* __tstate = wxPyBeginAllowThreads();
37744 (arg1)->SetPath((wxString const &)*arg2);
37745 wxPyEndAllowThreads(__tstate);
37746 if (PyErr_Occurred()) SWIG_fail;
37747 }
37748 resultobj = SWIG_Py_Void();
37749 {
37750 if (temp2)
37751 delete arg2;
37752 }
37753 return resultobj;
37754fail:
37755 {
37756 if (temp2)
37757 delete arg2;
37758 }
37759 return NULL;
37760}
37761
37762
37763SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37764 PyObject *resultobj = 0;
37765 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37766 bool arg2 ;
37767 void *argp1 = 0 ;
37768 int res1 = 0 ;
37769 bool val2 ;
37770 int ecode2 = 0 ;
37771 PyObject * obj0 = 0 ;
37772 PyObject * obj1 = 0 ;
37773 char * kwnames[] = {
37774 (char *) "self",(char *) "show", NULL
37775 };
37776
37777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
37778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37779 if (!SWIG_IsOK(res1)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37781 }
37782 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37783 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37784 if (!SWIG_IsOK(ecode2)) {
37785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37786 }
37787 arg2 = static_cast< bool >(val2);
37788 {
37789 PyThreadState* __tstate = wxPyBeginAllowThreads();
37790 (arg1)->ShowHidden(arg2);
37791 wxPyEndAllowThreads(__tstate);
37792 if (PyErr_Occurred()) SWIG_fail;
37793 }
37794 resultobj = SWIG_Py_Void();
37795 return resultobj;
37796fail:
37797 return NULL;
d55e5bfc
RD
37798}
37799
37800
554f62e9
RD
37801SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37802 PyObject *resultobj = 0;
37803 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37804 bool result;
37805 void *argp1 = 0 ;
37806 int res1 = 0 ;
37807 PyObject *swig_obj[1] ;
37808
37809 if (!args) SWIG_fail;
37810 swig_obj[0] = args;
37811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37812 if (!SWIG_IsOK(res1)) {
37813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37814 }
37815 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37816 {
37817 PyThreadState* __tstate = wxPyBeginAllowThreads();
37818 result = (bool)(arg1)->GetShowHidden();
37819 wxPyEndAllowThreads(__tstate);
37820 if (PyErr_Occurred()) SWIG_fail;
37821 }
37822 {
37823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37824 }
37825 return resultobj;
37826fail:
37827 return NULL;
d55e5bfc
RD
37828}
37829
37830
554f62e9
RD
37831SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37832 PyObject *resultobj = 0;
37833 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37834 wxString result;
37835 void *argp1 = 0 ;
37836 int res1 = 0 ;
37837 PyObject *swig_obj[1] ;
37838
37839 if (!args) SWIG_fail;
37840 swig_obj[0] = args;
37841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37842 if (!SWIG_IsOK(res1)) {
37843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37844 }
37845 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37846 {
37847 PyThreadState* __tstate = wxPyBeginAllowThreads();
37848 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
37849 wxPyEndAllowThreads(__tstate);
37850 if (PyErr_Occurred()) SWIG_fail;
37851 }
37852 {
37853#if wxUSE_UNICODE
37854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37855#else
37856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37857#endif
37858 }
37859 return resultobj;
37860fail:
37861 return NULL;
37862}
37863
37864
37865SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37866 PyObject *resultobj = 0;
37867 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37868 wxString *arg2 = 0 ;
37869 void *argp1 = 0 ;
37870 int res1 = 0 ;
37871 bool temp2 = false ;
37872 PyObject * obj0 = 0 ;
37873 PyObject * obj1 = 0 ;
37874 char * kwnames[] = {
37875 (char *) "self",(char *) "filter", NULL
37876 };
37877
37878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
37879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37880 if (!SWIG_IsOK(res1)) {
37881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37882 }
37883 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37884 {
37885 arg2 = wxString_in_helper(obj1);
37886 if (arg2 == NULL) SWIG_fail;
37887 temp2 = true;
37888 }
37889 {
37890 PyThreadState* __tstate = wxPyBeginAllowThreads();
37891 (arg1)->SetFilter((wxString const &)*arg2);
37892 wxPyEndAllowThreads(__tstate);
37893 if (PyErr_Occurred()) SWIG_fail;
37894 }
37895 resultobj = SWIG_Py_Void();
37896 {
37897 if (temp2)
37898 delete arg2;
37899 }
37900 return resultobj;
37901fail:
37902 {
37903 if (temp2)
37904 delete arg2;
37905 }
37906 return NULL;
d55e5bfc
RD
37907}
37908
37909
554f62e9
RD
37910SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37911 PyObject *resultobj = 0;
37912 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37913 int result;
37914 void *argp1 = 0 ;
37915 int res1 = 0 ;
37916 PyObject *swig_obj[1] ;
37917
37918 if (!args) SWIG_fail;
37919 swig_obj[0] = args;
37920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37921 if (!SWIG_IsOK(res1)) {
37922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37923 }
37924 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37925 {
37926 PyThreadState* __tstate = wxPyBeginAllowThreads();
37927 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
37928 wxPyEndAllowThreads(__tstate);
37929 if (PyErr_Occurred()) SWIG_fail;
37930 }
37931 resultobj = SWIG_From_int(static_cast< int >(result));
37932 return resultobj;
37933fail:
37934 return NULL;
37935}
37936
37937
37938SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37939 PyObject *resultobj = 0;
37940 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37941 int arg2 ;
37942 void *argp1 = 0 ;
37943 int res1 = 0 ;
37944 int val2 ;
37945 int ecode2 = 0 ;
37946 PyObject * obj0 = 0 ;
37947 PyObject * obj1 = 0 ;
37948 char * kwnames[] = {
37949 (char *) "self",(char *) "n", NULL
37950 };
37951
37952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
37953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37954 if (!SWIG_IsOK(res1)) {
37955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37956 }
37957 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37958 ecode2 = SWIG_AsVal_int(obj1, &val2);
37959 if (!SWIG_IsOK(ecode2)) {
37960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37961 }
37962 arg2 = static_cast< int >(val2);
37963 {
37964 PyThreadState* __tstate = wxPyBeginAllowThreads();
37965 (arg1)->SetFilterIndex(arg2);
37966 wxPyEndAllowThreads(__tstate);
37967 if (PyErr_Occurred()) SWIG_fail;
37968 }
37969 resultobj = SWIG_Py_Void();
37970 return resultobj;
37971fail:
37972 return NULL;
d55e5bfc
RD
37973}
37974
37975
554f62e9
RD
37976SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37977 PyObject *resultobj = 0;
37978 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37979 wxTreeItemId result;
37980 void *argp1 = 0 ;
37981 int res1 = 0 ;
37982 PyObject *swig_obj[1] ;
37983
37984 if (!args) SWIG_fail;
37985 swig_obj[0] = args;
37986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37987 if (!SWIG_IsOK(res1)) {
37988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37989 }
37990 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37991 {
37992 PyThreadState* __tstate = wxPyBeginAllowThreads();
37993 result = (arg1)->GetRootId();
37994 wxPyEndAllowThreads(__tstate);
37995 if (PyErr_Occurred()) SWIG_fail;
37996 }
37997 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37998 return resultobj;
37999fail:
38000 return NULL;
d55e5bfc
RD
38001}
38002
38003
554f62e9
RD
38004SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38005 PyObject *resultobj = 0;
38006 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38007 wxPyTreeCtrl *result = 0 ;
38008 void *argp1 = 0 ;
38009 int res1 = 0 ;
38010 PyObject *swig_obj[1] ;
38011
38012 if (!args) SWIG_fail;
38013 swig_obj[0] = args;
38014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38015 if (!SWIG_IsOK(res1)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38017 }
38018 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38019 {
38020 PyThreadState* __tstate = wxPyBeginAllowThreads();
38021 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38022 wxPyEndAllowThreads(__tstate);
38023 if (PyErr_Occurred()) SWIG_fail;
38024 }
38025 {
38026 resultobj = wxPyMake_wxObject(result, 0);
38027 }
38028 return resultobj;
38029fail:
38030 return NULL;
d55e5bfc
RD
38031}
38032
38033
554f62e9
RD
38034SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38035 PyObject *resultobj = 0;
38036 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38037 wxDirFilterListCtrl *result = 0 ;
38038 void *argp1 = 0 ;
38039 int res1 = 0 ;
38040 PyObject *swig_obj[1] ;
38041
38042 if (!args) SWIG_fail;
38043 swig_obj[0] = args;
38044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38045 if (!SWIG_IsOK(res1)) {
38046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38047 }
38048 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38049 {
38050 PyThreadState* __tstate = wxPyBeginAllowThreads();
38051 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38052 wxPyEndAllowThreads(__tstate);
38053 if (PyErr_Occurred()) SWIG_fail;
38054 }
38055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38056 return resultobj;
38057fail:
38058 return NULL;
38059}
38060
38061
38062SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38063 PyObject *resultobj = 0;
38064 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38065 wxTreeItemId arg2 ;
38066 wxString *arg3 = 0 ;
38067 bool *arg4 = 0 ;
38068 wxTreeItemId result;
38069 void *argp1 = 0 ;
38070 int res1 = 0 ;
38071 void *argp2 ;
38072 int res2 = 0 ;
38073 bool temp3 = false ;
38074 bool temp4 ;
38075 int res4 = SWIG_TMPOBJ ;
38076 PyObject * obj0 = 0 ;
38077 PyObject * obj1 = 0 ;
38078 PyObject * obj2 = 0 ;
38079 char * kwnames[] = {
38080 (char *) "self",(char *) "parentId",(char *) "path", NULL
38081 };
38082
38083 arg4 = &temp4;
38084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38086 if (!SWIG_IsOK(res1)) {
38087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38088 }
38089 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38090 {
38091 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38092 if (!SWIG_IsOK(res2)) {
38093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38094 }
38095 if (!argp2) {
38096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38097 } else {
38098 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38099 arg2 = *temp;
38100 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 38101 }
554f62e9
RD
38102 }
38103 {
38104 arg3 = wxString_in_helper(obj2);
38105 if (arg3 == NULL) SWIG_fail;
38106 temp3 = true;
38107 }
38108 {
38109 PyThreadState* __tstate = wxPyBeginAllowThreads();
38110 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38111 wxPyEndAllowThreads(__tstate);
38112 if (PyErr_Occurred()) SWIG_fail;
38113 }
38114 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38115 if (SWIG_IsTmpObj(res4)) {
38116 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38117 } else {
38118 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38119 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38120 }
38121 {
38122 if (temp3)
38123 delete arg3;
38124 }
38125 return resultobj;
38126fail:
38127 {
38128 if (temp3)
38129 delete arg3;
38130 }
38131 return NULL;
d55e5bfc
RD
38132}
38133
38134
554f62e9
RD
38135SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38136 PyObject *resultobj = 0;
38137 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38138 void *argp1 = 0 ;
38139 int res1 = 0 ;
38140 PyObject *swig_obj[1] ;
38141
38142 if (!args) SWIG_fail;
38143 swig_obj[0] = args;
38144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38145 if (!SWIG_IsOK(res1)) {
38146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38147 }
38148 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38149 {
38150 PyThreadState* __tstate = wxPyBeginAllowThreads();
38151 (arg1)->DoResize();
38152 wxPyEndAllowThreads(__tstate);
38153 if (PyErr_Occurred()) SWIG_fail;
38154 }
38155 resultobj = SWIG_Py_Void();
38156 return resultobj;
38157fail:
38158 return NULL;
38159}
38160
38161
38162SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38163 PyObject *resultobj = 0;
38164 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
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_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38174 }
38175 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38176 {
38177 PyThreadState* __tstate = wxPyBeginAllowThreads();
38178 (arg1)->ReCreateTree();
38179 wxPyEndAllowThreads(__tstate);
38180 if (PyErr_Occurred()) SWIG_fail;
38181 }
38182 resultobj = SWIG_Py_Void();
38183 return resultobj;
38184fail:
38185 return NULL;
38186}
38187
38188
38189SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38190 PyObject *obj;
38191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38192 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38193 return SWIG_Py_Void();
38194}
38195
38196SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38197 return SWIG_Python_InitShadowInstance(args);
38198}
38199
38200SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38201 PyObject *resultobj = 0;
38202 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38203 int arg2 = (int) (int)-1 ;
38204 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38205 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38206 wxSize const &arg4_defvalue = wxDefaultSize ;
38207 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38208 long arg5 = (long) 0 ;
38209 wxDirFilterListCtrl *result = 0 ;
38210 void *argp1 = 0 ;
38211 int res1 = 0 ;
38212 int val2 ;
38213 int ecode2 = 0 ;
38214 wxPoint temp3 ;
38215 wxSize temp4 ;
38216 long val5 ;
38217 int ecode5 = 0 ;
38218 PyObject * obj0 = 0 ;
38219 PyObject * obj1 = 0 ;
38220 PyObject * obj2 = 0 ;
38221 PyObject * obj3 = 0 ;
38222 PyObject * obj4 = 0 ;
38223 char * kwnames[] = {
38224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38225 };
38226
38227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38229 if (!SWIG_IsOK(res1)) {
38230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38231 }
38232 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38233 if (obj1) {
38234 ecode2 = SWIG_AsVal_int(obj1, &val2);
38235 if (!SWIG_IsOK(ecode2)) {
38236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38237 }
38238 arg2 = static_cast< int >(val2);
38239 }
38240 if (obj2) {
d55e5bfc 38241 {
554f62e9
RD
38242 arg3 = &temp3;
38243 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38244 }
554f62e9
RD
38245 }
38246 if (obj3) {
d55e5bfc 38247 {
554f62e9
RD
38248 arg4 = &temp4;
38249 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38250 }
554f62e9
RD
38251 }
38252 if (obj4) {
38253 ecode5 = SWIG_AsVal_long(obj4, &val5);
38254 if (!SWIG_IsOK(ecode5)) {
38255 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38256 }
38257 arg5 = static_cast< long >(val5);
38258 }
38259 {
38260 if (!wxPyCheckForApp()) SWIG_fail;
38261 PyThreadState* __tstate = wxPyBeginAllowThreads();
38262 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38263 wxPyEndAllowThreads(__tstate);
38264 if (PyErr_Occurred()) SWIG_fail;
38265 }
38266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38267 return resultobj;
38268fail:
38269 return NULL;
d55e5bfc
RD
38270}
38271
38272
554f62e9
RD
38273SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38274 PyObject *resultobj = 0;
38275 wxDirFilterListCtrl *result = 0 ;
38276
38277 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38278 {
38279 if (!wxPyCheckForApp()) SWIG_fail;
38280 PyThreadState* __tstate = wxPyBeginAllowThreads();
38281 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38282 wxPyEndAllowThreads(__tstate);
38283 if (PyErr_Occurred()) SWIG_fail;
38284 }
38285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38286 return resultobj;
38287fail:
38288 return NULL;
38289}
38290
38291
38292SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38293 PyObject *resultobj = 0;
38294 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38295 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38296 int arg3 = (int) (int)-1 ;
38297 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38298 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38299 wxSize const &arg5_defvalue = wxDefaultSize ;
38300 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38301 long arg6 = (long) 0 ;
38302 bool result;
38303 void *argp1 = 0 ;
38304 int res1 = 0 ;
38305 void *argp2 = 0 ;
38306 int res2 = 0 ;
38307 int val3 ;
38308 int ecode3 = 0 ;
38309 wxPoint temp4 ;
38310 wxSize temp5 ;
38311 long val6 ;
38312 int ecode6 = 0 ;
38313 PyObject * obj0 = 0 ;
38314 PyObject * obj1 = 0 ;
38315 PyObject * obj2 = 0 ;
38316 PyObject * obj3 = 0 ;
38317 PyObject * obj4 = 0 ;
38318 PyObject * obj5 = 0 ;
38319 char * kwnames[] = {
38320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38321 };
38322
38323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38325 if (!SWIG_IsOK(res1)) {
38326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38327 }
38328 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38329 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38330 if (!SWIG_IsOK(res2)) {
38331 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38332 }
38333 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38334 if (obj2) {
38335 ecode3 = SWIG_AsVal_int(obj2, &val3);
38336 if (!SWIG_IsOK(ecode3)) {
38337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38338 }
38339 arg3 = static_cast< int >(val3);
38340 }
38341 if (obj3) {
093d3ff1 38342 {
554f62e9
RD
38343 arg4 = &temp4;
38344 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38345 }
554f62e9
RD
38346 }
38347 if (obj4) {
093d3ff1 38348 {
554f62e9
RD
38349 arg5 = &temp5;
38350 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 38351 }
554f62e9
RD
38352 }
38353 if (obj5) {
38354 ecode6 = SWIG_AsVal_long(obj5, &val6);
38355 if (!SWIG_IsOK(ecode6)) {
38356 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38357 }
38358 arg6 = static_cast< long >(val6);
38359 }
38360 {
38361 PyThreadState* __tstate = wxPyBeginAllowThreads();
38362 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38363 wxPyEndAllowThreads(__tstate);
38364 if (PyErr_Occurred()) SWIG_fail;
38365 }
38366 {
38367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38368 }
38369 return resultobj;
38370fail:
38371 return NULL;
38372}
38373
38374
38375SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38376 PyObject *resultobj = 0;
38377 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38378 wxString *arg2 = 0 ;
38379 int arg3 ;
38380 void *argp1 = 0 ;
38381 int res1 = 0 ;
38382 bool temp2 = false ;
38383 int val3 ;
38384 int ecode3 = 0 ;
38385 PyObject * obj0 = 0 ;
38386 PyObject * obj1 = 0 ;
38387 PyObject * obj2 = 0 ;
38388 char * kwnames[] = {
38389 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38390 };
38391
38392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38394 if (!SWIG_IsOK(res1)) {
38395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38396 }
38397 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38398 {
38399 arg2 = wxString_in_helper(obj1);
38400 if (arg2 == NULL) SWIG_fail;
38401 temp2 = true;
38402 }
38403 ecode3 = SWIG_AsVal_int(obj2, &val3);
38404 if (!SWIG_IsOK(ecode3)) {
38405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38406 }
38407 arg3 = static_cast< int >(val3);
38408 {
38409 PyThreadState* __tstate = wxPyBeginAllowThreads();
38410 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38411 wxPyEndAllowThreads(__tstate);
38412 if (PyErr_Occurred()) SWIG_fail;
38413 }
38414 resultobj = SWIG_Py_Void();
38415 {
38416 if (temp2)
38417 delete arg2;
38418 }
38419 return resultobj;
38420fail:
38421 {
38422 if (temp2)
38423 delete arg2;
38424 }
38425 return NULL;
38426}
38427
38428
38429SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38430 PyObject *obj;
38431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38432 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38433 return SWIG_Py_Void();
38434}
38435
38436SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38437 return SWIG_Python_InitShadowInstance(args);
38438}
38439
38440SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38441 PyObject *resultobj = 0;
38442 wxWindow *arg1 = (wxWindow *) 0 ;
38443 int arg2 = (int) (int)-1 ;
38444 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38445 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38446 wxSize const &arg4_defvalue = wxDefaultSize ;
38447 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38448 long arg5 = (long) 0 ;
38449 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38450 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38451 wxString const &arg7_defvalue = wxPyControlNameStr ;
38452 wxString *arg7 = (wxString *) &arg7_defvalue ;
38453 wxPyControl *result = 0 ;
38454 void *argp1 = 0 ;
38455 int res1 = 0 ;
38456 int val2 ;
38457 int ecode2 = 0 ;
38458 wxPoint temp3 ;
38459 wxSize temp4 ;
38460 long val5 ;
38461 int ecode5 = 0 ;
38462 void *argp6 = 0 ;
38463 int res6 = 0 ;
38464 bool temp7 = false ;
38465 PyObject * obj0 = 0 ;
38466 PyObject * obj1 = 0 ;
38467 PyObject * obj2 = 0 ;
38468 PyObject * obj3 = 0 ;
38469 PyObject * obj4 = 0 ;
38470 PyObject * obj5 = 0 ;
38471 PyObject * obj6 = 0 ;
38472 char * kwnames[] = {
38473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38474 };
38475
38476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38478 if (!SWIG_IsOK(res1)) {
38479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38480 }
38481 arg1 = reinterpret_cast< wxWindow * >(argp1);
38482 if (obj1) {
38483 ecode2 = SWIG_AsVal_int(obj1, &val2);
38484 if (!SWIG_IsOK(ecode2)) {
38485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38486 }
38487 arg2 = static_cast< int >(val2);
38488 }
38489 if (obj2) {
d55e5bfc 38490 {
554f62e9
RD
38491 arg3 = &temp3;
38492 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38493 }
554f62e9
RD
38494 }
38495 if (obj3) {
d55e5bfc 38496 {
554f62e9
RD
38497 arg4 = &temp4;
38498 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38499 }
554f62e9
RD
38500 }
38501 if (obj4) {
38502 ecode5 = SWIG_AsVal_long(obj4, &val5);
38503 if (!SWIG_IsOK(ecode5)) {
38504 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38505 }
38506 arg5 = static_cast< long >(val5);
38507 }
38508 if (obj5) {
38509 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38510 if (!SWIG_IsOK(res6)) {
38511 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
093d3ff1 38512 }
554f62e9
RD
38513 if (!argp6) {
38514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 38515 }
554f62e9
RD
38516 arg6 = reinterpret_cast< wxValidator * >(argp6);
38517 }
38518 if (obj6) {
d55e5bfc 38519 {
554f62e9
RD
38520 arg7 = wxString_in_helper(obj6);
38521 if (arg7 == NULL) SWIG_fail;
38522 temp7 = true;
d55e5bfc 38523 }
554f62e9
RD
38524 }
38525 {
38526 if (!wxPyCheckForApp()) SWIG_fail;
38527 PyThreadState* __tstate = wxPyBeginAllowThreads();
38528 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38529 wxPyEndAllowThreads(__tstate);
38530 if (PyErr_Occurred()) SWIG_fail;
38531 }
38532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38533 {
38534 if (temp7)
38535 delete arg7;
38536 }
38537 return resultobj;
38538fail:
38539 {
38540 if (temp7)
38541 delete arg7;
38542 }
38543 return NULL;
d55e5bfc
RD
38544}
38545
38546
554f62e9
RD
38547SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38548 PyObject *resultobj = 0;
38549 wxPyControl *result = 0 ;
38550
38551 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38552 {
38553 if (!wxPyCheckForApp()) SWIG_fail;
38554 PyThreadState* __tstate = wxPyBeginAllowThreads();
38555 result = (wxPyControl *)new wxPyControl();
38556 wxPyEndAllowThreads(__tstate);
38557 if (PyErr_Occurred()) SWIG_fail;
38558 }
38559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38560 return resultobj;
38561fail:
38562 return NULL;
38563}
38564
38565
38566SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38567 PyObject *resultobj = 0;
38568 wxPyControl *arg1 = (wxPyControl *) 0 ;
38569 PyObject *arg2 = (PyObject *) 0 ;
38570 PyObject *arg3 = (PyObject *) 0 ;
38571 void *argp1 = 0 ;
38572 int res1 = 0 ;
38573 PyObject * obj0 = 0 ;
38574 PyObject * obj1 = 0 ;
38575 PyObject * obj2 = 0 ;
38576 char * kwnames[] = {
38577 (char *) "self",(char *) "self",(char *) "_class", NULL
38578 };
38579
38580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38582 if (!SWIG_IsOK(res1)) {
38583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38584 }
38585 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38586 arg2 = obj1;
38587 arg3 = obj2;
38588 {
38589 PyThreadState* __tstate = wxPyBeginAllowThreads();
38590 (arg1)->_setCallbackInfo(arg2,arg3);
38591 wxPyEndAllowThreads(__tstate);
38592 if (PyErr_Occurred()) SWIG_fail;
38593 }
38594 resultobj = SWIG_Py_Void();
38595 return resultobj;
38596fail:
38597 return NULL;
38598}
38599
38600
38601SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38602 PyObject *resultobj = 0;
38603 wxPyControl *arg1 = (wxPyControl *) 0 ;
38604 wxSize *arg2 = 0 ;
38605 void *argp1 = 0 ;
38606 int res1 = 0 ;
38607 wxSize temp2 ;
38608 PyObject * obj0 = 0 ;
38609 PyObject * obj1 = 0 ;
38610 char * kwnames[] = {
38611 (char *) "self",(char *) "size", NULL
38612 };
38613
38614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
38615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38616 if (!SWIG_IsOK(res1)) {
38617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38618 }
38619 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38620 {
38621 arg2 = &temp2;
38622 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38623 }
38624 {
38625 PyThreadState* __tstate = wxPyBeginAllowThreads();
38626 (arg1)->SetBestSize((wxSize const &)*arg2);
38627 wxPyEndAllowThreads(__tstate);
38628 if (PyErr_Occurred()) SWIG_fail;
38629 }
38630 resultobj = SWIG_Py_Void();
38631 return resultobj;
38632fail:
38633 return NULL;
38634}
38635
38636
38637SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38638 PyObject *resultobj = 0;
38639 wxPyControl *arg1 = (wxPyControl *) 0 ;
38640 wxDC *arg2 = (wxDC *) 0 ;
38641 bool result;
38642 void *argp1 = 0 ;
38643 int res1 = 0 ;
38644 void *argp2 = 0 ;
38645 int res2 = 0 ;
38646 PyObject * obj0 = 0 ;
38647 PyObject * obj1 = 0 ;
38648 char * kwnames[] = {
38649 (char *) "self",(char *) "dc", NULL
38650 };
38651
38652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38654 if (!SWIG_IsOK(res1)) {
38655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38656 }
38657 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38658 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38659 if (!SWIG_IsOK(res2)) {
38660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38661 }
38662 arg2 = reinterpret_cast< wxDC * >(argp2);
38663 {
38664 PyThreadState* __tstate = wxPyBeginAllowThreads();
38665 result = (bool)(arg1)->DoEraseBackground(arg2);
38666 wxPyEndAllowThreads(__tstate);
38667 if (PyErr_Occurred()) SWIG_fail;
38668 }
38669 {
38670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38671 }
38672 return resultobj;
38673fail:
38674 return NULL;
38675}
38676
38677
38678SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38679 PyObject *resultobj = 0;
38680 wxPyControl *arg1 = (wxPyControl *) 0 ;
38681 int arg2 ;
38682 int arg3 ;
38683 int arg4 ;
38684 int arg5 ;
38685 void *argp1 = 0 ;
38686 int res1 = 0 ;
38687 int val2 ;
38688 int ecode2 = 0 ;
38689 int val3 ;
38690 int ecode3 = 0 ;
38691 int val4 ;
38692 int ecode4 = 0 ;
38693 int 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 *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38702 };
38703
38704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38706 if (!SWIG_IsOK(res1)) {
38707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38708 }
38709 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38710 ecode2 = SWIG_AsVal_int(obj1, &val2);
38711 if (!SWIG_IsOK(ecode2)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38713 }
38714 arg2 = static_cast< int >(val2);
38715 ecode3 = SWIG_AsVal_int(obj2, &val3);
38716 if (!SWIG_IsOK(ecode3)) {
38717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38718 }
38719 arg3 = static_cast< int >(val3);
38720 ecode4 = SWIG_AsVal_int(obj3, &val4);
38721 if (!SWIG_IsOK(ecode4)) {
38722 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38723 }
38724 arg4 = static_cast< int >(val4);
38725 ecode5 = SWIG_AsVal_int(obj4, &val5);
38726 if (!SWIG_IsOK(ecode5)) {
38727 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38728 }
38729 arg5 = static_cast< int >(val5);
38730 {
38731 PyThreadState* __tstate = wxPyBeginAllowThreads();
38732 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38733 wxPyEndAllowThreads(__tstate);
38734 if (PyErr_Occurred()) SWIG_fail;
38735 }
38736 resultobj = SWIG_Py_Void();
38737 return resultobj;
38738fail:
38739 return NULL;
38740}
38741
38742
38743SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38744 PyObject *resultobj = 0;
38745 wxPyControl *arg1 = (wxPyControl *) 0 ;
38746 int arg2 ;
38747 int arg3 ;
38748 int arg4 ;
38749 int arg5 ;
38750 int arg6 = (int) wxSIZE_AUTO ;
38751 void *argp1 = 0 ;
38752 int res1 = 0 ;
38753 int val2 ;
38754 int ecode2 = 0 ;
38755 int val3 ;
38756 int ecode3 = 0 ;
38757 int val4 ;
38758 int ecode4 = 0 ;
38759 int val5 ;
38760 int ecode5 = 0 ;
38761 int val6 ;
38762 int ecode6 = 0 ;
38763 PyObject * obj0 = 0 ;
38764 PyObject * obj1 = 0 ;
38765 PyObject * obj2 = 0 ;
38766 PyObject * obj3 = 0 ;
38767 PyObject * obj4 = 0 ;
38768 PyObject * obj5 = 0 ;
38769 char * kwnames[] = {
38770 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38771 };
38772
38773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38775 if (!SWIG_IsOK(res1)) {
38776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38777 }
38778 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38779 ecode2 = SWIG_AsVal_int(obj1, &val2);
38780 if (!SWIG_IsOK(ecode2)) {
38781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38782 }
38783 arg2 = static_cast< int >(val2);
38784 ecode3 = SWIG_AsVal_int(obj2, &val3);
38785 if (!SWIG_IsOK(ecode3)) {
38786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38787 }
38788 arg3 = static_cast< int >(val3);
38789 ecode4 = SWIG_AsVal_int(obj3, &val4);
38790 if (!SWIG_IsOK(ecode4)) {
38791 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38792 }
38793 arg4 = static_cast< int >(val4);
38794 ecode5 = SWIG_AsVal_int(obj4, &val5);
38795 if (!SWIG_IsOK(ecode5)) {
38796 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38797 }
38798 arg5 = static_cast< int >(val5);
38799 if (obj5) {
38800 ecode6 = SWIG_AsVal_int(obj5, &val6);
38801 if (!SWIG_IsOK(ecode6)) {
38802 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38803 }
38804 arg6 = static_cast< int >(val6);
38805 }
38806 {
38807 PyThreadState* __tstate = wxPyBeginAllowThreads();
38808 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
38809 wxPyEndAllowThreads(__tstate);
38810 if (PyErr_Occurred()) SWIG_fail;
38811 }
38812 resultobj = SWIG_Py_Void();
38813 return resultobj;
38814fail:
38815 return NULL;
38816}
38817
38818
38819SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38820 PyObject *resultobj = 0;
38821 wxPyControl *arg1 = (wxPyControl *) 0 ;
38822 int arg2 ;
38823 int arg3 ;
38824 void *argp1 = 0 ;
38825 int res1 = 0 ;
38826 int val2 ;
38827 int ecode2 = 0 ;
38828 int val3 ;
38829 int ecode3 = 0 ;
38830 PyObject * obj0 = 0 ;
38831 PyObject * obj1 = 0 ;
38832 PyObject * obj2 = 0 ;
38833 char * kwnames[] = {
38834 (char *) "self",(char *) "width",(char *) "height", NULL
38835 };
38836
38837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38839 if (!SWIG_IsOK(res1)) {
38840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38841 }
38842 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38843 ecode2 = SWIG_AsVal_int(obj1, &val2);
38844 if (!SWIG_IsOK(ecode2)) {
38845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38846 }
38847 arg2 = static_cast< int >(val2);
38848 ecode3 = SWIG_AsVal_int(obj2, &val3);
38849 if (!SWIG_IsOK(ecode3)) {
38850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38851 }
38852 arg3 = static_cast< int >(val3);
38853 {
38854 PyThreadState* __tstate = wxPyBeginAllowThreads();
38855 (arg1)->DoSetClientSize(arg2,arg3);
38856 wxPyEndAllowThreads(__tstate);
38857 if (PyErr_Occurred()) SWIG_fail;
38858 }
38859 resultobj = SWIG_Py_Void();
38860 return resultobj;
38861fail:
38862 return NULL;
38863}
38864
38865
38866SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38867 PyObject *resultobj = 0;
38868 wxPyControl *arg1 = (wxPyControl *) 0 ;
38869 int arg2 ;
38870 int arg3 ;
38871 void *argp1 = 0 ;
38872 int res1 = 0 ;
38873 int val2 ;
38874 int ecode2 = 0 ;
38875 int val3 ;
38876 int ecode3 = 0 ;
38877 PyObject * obj0 = 0 ;
38878 PyObject * obj1 = 0 ;
38879 PyObject * obj2 = 0 ;
38880 char * kwnames[] = {
38881 (char *) "self",(char *) "x",(char *) "y", NULL
38882 };
38883
38884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38886 if (!SWIG_IsOK(res1)) {
38887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38888 }
38889 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38890 ecode2 = SWIG_AsVal_int(obj1, &val2);
38891 if (!SWIG_IsOK(ecode2)) {
38892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38893 }
38894 arg2 = static_cast< int >(val2);
38895 ecode3 = SWIG_AsVal_int(obj2, &val3);
38896 if (!SWIG_IsOK(ecode3)) {
38897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38898 }
38899 arg3 = static_cast< int >(val3);
38900 {
38901 PyThreadState* __tstate = wxPyBeginAllowThreads();
38902 (arg1)->DoSetVirtualSize(arg2,arg3);
38903 wxPyEndAllowThreads(__tstate);
38904 if (PyErr_Occurred()) SWIG_fail;
38905 }
38906 resultobj = SWIG_Py_Void();
38907 return resultobj;
38908fail:
38909 return NULL;
38910}
38911
38912
38913SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38914 PyObject *resultobj = 0;
38915 wxPyControl *arg1 = (wxPyControl *) 0 ;
38916 int *arg2 = (int *) 0 ;
38917 int *arg3 = (int *) 0 ;
38918 void *argp1 = 0 ;
38919 int res1 = 0 ;
38920 int temp2 ;
38921 int res2 = SWIG_TMPOBJ ;
38922 int temp3 ;
38923 int res3 = SWIG_TMPOBJ ;
38924 PyObject *swig_obj[1] ;
38925
38926 arg2 = &temp2;
38927 arg3 = &temp3;
38928 if (!args) SWIG_fail;
38929 swig_obj[0] = args;
38930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38931 if (!SWIG_IsOK(res1)) {
38932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38933 }
38934 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38935 {
38936 PyThreadState* __tstate = wxPyBeginAllowThreads();
38937 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
38938 wxPyEndAllowThreads(__tstate);
38939 if (PyErr_Occurred()) SWIG_fail;
38940 }
38941 resultobj = SWIG_Py_Void();
38942 if (SWIG_IsTmpObj(res2)) {
38943 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38944 } else {
38945 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38946 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38947 }
38948 if (SWIG_IsTmpObj(res3)) {
38949 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38950 } else {
38951 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38952 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38953 }
38954 return resultobj;
38955fail:
38956 return NULL;
38957}
38958
38959
38960SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38961 PyObject *resultobj = 0;
38962 wxPyControl *arg1 = (wxPyControl *) 0 ;
38963 int *arg2 = (int *) 0 ;
38964 int *arg3 = (int *) 0 ;
38965 void *argp1 = 0 ;
38966 int res1 = 0 ;
38967 int temp2 ;
38968 int res2 = SWIG_TMPOBJ ;
38969 int temp3 ;
38970 int res3 = SWIG_TMPOBJ ;
38971 PyObject *swig_obj[1] ;
38972
38973 arg2 = &temp2;
38974 arg3 = &temp3;
38975 if (!args) SWIG_fail;
38976 swig_obj[0] = args;
38977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38978 if (!SWIG_IsOK(res1)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38980 }
38981 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38982 {
38983 PyThreadState* __tstate = wxPyBeginAllowThreads();
38984 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
38985 wxPyEndAllowThreads(__tstate);
38986 if (PyErr_Occurred()) SWIG_fail;
38987 }
38988 resultobj = SWIG_Py_Void();
38989 if (SWIG_IsTmpObj(res2)) {
38990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38991 } else {
38992 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38994 }
38995 if (SWIG_IsTmpObj(res3)) {
38996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38997 } else {
38998 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39000 }
39001 return resultobj;
39002fail:
39003 return NULL;
39004}
39005
39006
39007SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39008 PyObject *resultobj = 0;
39009 wxPyControl *arg1 = (wxPyControl *) 0 ;
39010 int *arg2 = (int *) 0 ;
39011 int *arg3 = (int *) 0 ;
39012 void *argp1 = 0 ;
39013 int res1 = 0 ;
39014 int temp2 ;
39015 int res2 = SWIG_TMPOBJ ;
39016 int temp3 ;
39017 int res3 = SWIG_TMPOBJ ;
39018 PyObject *swig_obj[1] ;
39019
39020 arg2 = &temp2;
39021 arg3 = &temp3;
39022 if (!args) SWIG_fail;
39023 swig_obj[0] = args;
39024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39025 if (!SWIG_IsOK(res1)) {
39026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39027 }
39028 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39029 {
39030 PyThreadState* __tstate = wxPyBeginAllowThreads();
39031 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39032 wxPyEndAllowThreads(__tstate);
39033 if (PyErr_Occurred()) SWIG_fail;
39034 }
39035 resultobj = SWIG_Py_Void();
39036 if (SWIG_IsTmpObj(res2)) {
39037 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39038 } else {
39039 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39040 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39041 }
39042 if (SWIG_IsTmpObj(res3)) {
39043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39044 } else {
39045 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39047 }
39048 return resultobj;
39049fail:
39050 return NULL;
d55e5bfc
RD
39051}
39052
39053
554f62e9
RD
39054SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39055 PyObject *resultobj = 0;
39056 wxPyControl *arg1 = (wxPyControl *) 0 ;
39057 wxSize result;
39058 void *argp1 = 0 ;
39059 int res1 = 0 ;
39060 PyObject *swig_obj[1] ;
39061
39062 if (!args) SWIG_fail;
39063 swig_obj[0] = args;
39064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39065 if (!SWIG_IsOK(res1)) {
39066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39067 }
39068 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39069 {
39070 PyThreadState* __tstate = wxPyBeginAllowThreads();
39071 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39072 wxPyEndAllowThreads(__tstate);
39073 if (PyErr_Occurred()) SWIG_fail;
39074 }
39075 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39076 return resultobj;
39077fail:
39078 return NULL;
d55e5bfc
RD
39079}
39080
39081
554f62e9
RD
39082SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39083 PyObject *resultobj = 0;
39084 wxPyControl *arg1 = (wxPyControl *) 0 ;
39085 wxSize result;
39086 void *argp1 = 0 ;
39087 int res1 = 0 ;
39088 PyObject *swig_obj[1] ;
39089
39090 if (!args) SWIG_fail;
39091 swig_obj[0] = args;
39092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39093 if (!SWIG_IsOK(res1)) {
39094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39095 }
39096 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39097 {
39098 PyThreadState* __tstate = wxPyBeginAllowThreads();
39099 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39100 wxPyEndAllowThreads(__tstate);
39101 if (PyErr_Occurred()) SWIG_fail;
39102 }
39103 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39104 return resultobj;
39105fail:
39106 return NULL;
d55e5bfc
RD
39107}
39108
39109
554f62e9
RD
39110SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39111 PyObject *resultobj = 0;
39112 wxPyControl *arg1 = (wxPyControl *) 0 ;
39113 SwigValueWrapper<wxVisualAttributes > result;
39114 void *argp1 = 0 ;
39115 int res1 = 0 ;
39116 PyObject *swig_obj[1] ;
39117
39118 if (!args) SWIG_fail;
39119 swig_obj[0] = args;
39120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39121 if (!SWIG_IsOK(res1)) {
39122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39123 }
39124 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39125 {
39126 PyThreadState* __tstate = wxPyBeginAllowThreads();
39127 result = (arg1)->GetDefaultAttributes();
39128 wxPyEndAllowThreads(__tstate);
39129 if (PyErr_Occurred()) SWIG_fail;
39130 }
39131 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39132 return resultobj;
39133fail:
39134 return NULL;
d55e5bfc
RD
39135}
39136
39137
554f62e9
RD
39138SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39139 PyObject *resultobj = 0;
39140 wxPyControl *arg1 = (wxPyControl *) 0 ;
39141 void *argp1 = 0 ;
39142 int res1 = 0 ;
39143 PyObject *swig_obj[1] ;
39144
39145 if (!args) SWIG_fail;
39146 swig_obj[0] = args;
39147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39148 if (!SWIG_IsOK(res1)) {
39149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39150 }
39151 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39152 {
39153 PyThreadState* __tstate = wxPyBeginAllowThreads();
39154 (arg1)->OnInternalIdle();
39155 wxPyEndAllowThreads(__tstate);
39156 if (PyErr_Occurred()) SWIG_fail;
39157 }
39158 resultobj = SWIG_Py_Void();
39159 return resultobj;
39160fail:
39161 return NULL;
39162}
39163
39164
39165SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39166 PyObject *obj;
39167 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39168 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39169 return SWIG_Py_Void();
39170}
39171
39172SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39173 return SWIG_Python_InitShadowInstance(args);
39174}
39175
39176SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39177 PyObject *resultobj = 0;
39178 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39179 int arg2 = (int) 0 ;
39180 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39181 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39182 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
554f62e9
RD
39183 wxHelpEvent *result = 0 ;
39184 int val1 ;
39185 int ecode1 = 0 ;
39186 int val2 ;
39187 int ecode2 = 0 ;
39188 wxPoint temp3 ;
704eda0c
RD
39189 int val4 ;
39190 int ecode4 = 0 ;
554f62e9
RD
39191 PyObject * obj0 = 0 ;
39192 PyObject * obj1 = 0 ;
39193 PyObject * obj2 = 0 ;
704eda0c 39194 PyObject * obj3 = 0 ;
554f62e9 39195 char * kwnames[] = {
704eda0c 39196 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
554f62e9
RD
39197 };
39198
704eda0c 39199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
554f62e9
RD
39200 if (obj0) {
39201 ecode1 = SWIG_AsVal_int(obj0, &val1);
39202 if (!SWIG_IsOK(ecode1)) {
39203 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39204 }
39205 arg1 = static_cast< wxEventType >(val1);
39206 }
39207 if (obj1) {
39208 ecode2 = SWIG_AsVal_int(obj1, &val2);
39209 if (!SWIG_IsOK(ecode2)) {
39210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39211 }
39212 arg2 = static_cast< int >(val2);
39213 }
39214 if (obj2) {
d55e5bfc 39215 {
554f62e9
RD
39216 arg3 = &temp3;
39217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39218 }
554f62e9 39219 }
704eda0c
RD
39220 if (obj3) {
39221 ecode4 = SWIG_AsVal_int(obj3, &val4);
39222 if (!SWIG_IsOK(ecode4)) {
39223 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39224 }
39225 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39226 }
554f62e9
RD
39227 {
39228 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39229 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
554f62e9
RD
39230 wxPyEndAllowThreads(__tstate);
39231 if (PyErr_Occurred()) SWIG_fail;
39232 }
39233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39234 return resultobj;
39235fail:
39236 return NULL;
d55e5bfc
RD
39237}
39238
39239
554f62e9
RD
39240SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39241 PyObject *resultobj = 0;
39242 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39243 wxPoint result;
39244 void *argp1 = 0 ;
39245 int res1 = 0 ;
39246 PyObject *swig_obj[1] ;
39247
39248 if (!args) SWIG_fail;
39249 swig_obj[0] = args;
39250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39251 if (!SWIG_IsOK(res1)) {
39252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39253 }
39254 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39255 {
39256 PyThreadState* __tstate = wxPyBeginAllowThreads();
39257 result = ((wxHelpEvent const *)arg1)->GetPosition();
39258 wxPyEndAllowThreads(__tstate);
39259 if (PyErr_Occurred()) SWIG_fail;
39260 }
39261 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39262 return resultobj;
39263fail:
39264 return NULL;
39265}
39266
39267
39268SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39269 PyObject *resultobj = 0;
39270 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39271 wxPoint *arg2 = 0 ;
39272 void *argp1 = 0 ;
39273 int res1 = 0 ;
39274 wxPoint temp2 ;
39275 PyObject * obj0 = 0 ;
39276 PyObject * obj1 = 0 ;
39277 char * kwnames[] = {
39278 (char *) "self",(char *) "pos", NULL
39279 };
39280
39281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39283 if (!SWIG_IsOK(res1)) {
39284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39285 }
39286 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39287 {
39288 arg2 = &temp2;
39289 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39290 }
39291 {
39292 PyThreadState* __tstate = wxPyBeginAllowThreads();
39293 (arg1)->SetPosition((wxPoint const &)*arg2);
39294 wxPyEndAllowThreads(__tstate);
39295 if (PyErr_Occurred()) SWIG_fail;
39296 }
39297 resultobj = SWIG_Py_Void();
39298 return resultobj;
39299fail:
39300 return NULL;
f20a2e1f
RD
39301}
39302
39303
554f62e9
RD
39304SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39305 PyObject *resultobj = 0;
39306 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39307 wxString *result = 0 ;
39308 void *argp1 = 0 ;
39309 int res1 = 0 ;
39310 PyObject *swig_obj[1] ;
39311
39312 if (!args) SWIG_fail;
39313 swig_obj[0] = args;
39314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39315 if (!SWIG_IsOK(res1)) {
39316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39317 }
39318 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39319 {
39320 PyThreadState* __tstate = wxPyBeginAllowThreads();
39321 {
39322 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39323 result = (wxString *) &_result_ref;
39324 }
39325 wxPyEndAllowThreads(__tstate);
39326 if (PyErr_Occurred()) SWIG_fail;
39327 }
39328 {
39329#if wxUSE_UNICODE
39330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39331#else
39332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39333#endif
39334 }
39335 return resultobj;
39336fail:
39337 return NULL;
39338}
39339
39340
39341SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39342 PyObject *resultobj = 0;
39343 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39344 wxString *arg2 = 0 ;
39345 void *argp1 = 0 ;
39346 int res1 = 0 ;
39347 bool temp2 = false ;
39348 PyObject * obj0 = 0 ;
39349 PyObject * obj1 = 0 ;
39350 char * kwnames[] = {
39351 (char *) "self",(char *) "link", NULL
39352 };
39353
39354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39356 if (!SWIG_IsOK(res1)) {
39357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39358 }
39359 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39360 {
39361 arg2 = wxString_in_helper(obj1);
39362 if (arg2 == NULL) SWIG_fail;
39363 temp2 = true;
39364 }
39365 {
39366 PyThreadState* __tstate = wxPyBeginAllowThreads();
39367 (arg1)->SetLink((wxString const &)*arg2);
39368 wxPyEndAllowThreads(__tstate);
39369 if (PyErr_Occurred()) SWIG_fail;
39370 }
39371 resultobj = SWIG_Py_Void();
39372 {
39373 if (temp2)
39374 delete arg2;
39375 }
39376 return resultobj;
39377fail:
39378 {
39379 if (temp2)
39380 delete arg2;
39381 }
39382 return NULL;
d55e5bfc
RD
39383}
39384
39385
554f62e9
RD
39386SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39387 PyObject *resultobj = 0;
39388 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39389 wxString *result = 0 ;
39390 void *argp1 = 0 ;
39391 int res1 = 0 ;
39392 PyObject *swig_obj[1] ;
39393
39394 if (!args) SWIG_fail;
39395 swig_obj[0] = args;
39396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39397 if (!SWIG_IsOK(res1)) {
39398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39399 }
39400 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39401 {
39402 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39403 {
554f62e9
RD
39404 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39405 result = (wxString *) &_result_ref;
39406 }
39407 wxPyEndAllowThreads(__tstate);
39408 if (PyErr_Occurred()) SWIG_fail;
39409 }
39410 {
d55e5bfc 39411#if wxUSE_UNICODE
554f62e9 39412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 39413#else
554f62e9 39414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 39415#endif
554f62e9
RD
39416 }
39417 return resultobj;
39418fail:
39419 return NULL;
39420}
39421
39422
39423SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39424 PyObject *resultobj = 0;
39425 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39426 wxString *arg2 = 0 ;
39427 void *argp1 = 0 ;
39428 int res1 = 0 ;
39429 bool temp2 = false ;
39430 PyObject * obj0 = 0 ;
39431 PyObject * obj1 = 0 ;
39432 char * kwnames[] = {
39433 (char *) "self",(char *) "target", NULL
39434 };
39435
39436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39438 if (!SWIG_IsOK(res1)) {
39439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39440 }
39441 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39442 {
39443 arg2 = wxString_in_helper(obj1);
39444 if (arg2 == NULL) SWIG_fail;
39445 temp2 = true;
39446 }
39447 {
39448 PyThreadState* __tstate = wxPyBeginAllowThreads();
39449 (arg1)->SetTarget((wxString const &)*arg2);
39450 wxPyEndAllowThreads(__tstate);
39451 if (PyErr_Occurred()) SWIG_fail;
39452 }
39453 resultobj = SWIG_Py_Void();
39454 {
39455 if (temp2)
39456 delete arg2;
39457 }
39458 return resultobj;
39459fail:
39460 {
39461 if (temp2)
39462 delete arg2;
39463 }
39464 return NULL;
d55e5bfc
RD
39465}
39466
39467
704eda0c
RD
39468SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39469 PyObject *resultobj = 0;
39470 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39471 wxHelpEvent::Origin result;
39472 void *argp1 = 0 ;
39473 int res1 = 0 ;
39474 PyObject *swig_obj[1] ;
39475
39476 if (!args) SWIG_fail;
39477 swig_obj[0] = args;
39478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39479 if (!SWIG_IsOK(res1)) {
39480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39481 }
39482 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39483 {
39484 PyThreadState* __tstate = wxPyBeginAllowThreads();
39485 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39486 wxPyEndAllowThreads(__tstate);
39487 if (PyErr_Occurred()) SWIG_fail;
39488 }
39489 resultobj = SWIG_From_int(static_cast< int >(result));
39490 return resultobj;
39491fail:
39492 return NULL;
39493}
39494
39495
39496SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39497 PyObject *resultobj = 0;
39498 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39499 wxHelpEvent::Origin arg2 ;
39500 void *argp1 = 0 ;
39501 int res1 = 0 ;
39502 int val2 ;
39503 int ecode2 = 0 ;
39504 PyObject * obj0 = 0 ;
39505 PyObject * obj1 = 0 ;
39506 char * kwnames[] = {
39507 (char *) "self",(char *) "origin", NULL
39508 };
39509
39510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39512 if (!SWIG_IsOK(res1)) {
39513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39514 }
39515 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39516 ecode2 = SWIG_AsVal_int(obj1, &val2);
39517 if (!SWIG_IsOK(ecode2)) {
39518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39519 }
39520 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39521 {
39522 PyThreadState* __tstate = wxPyBeginAllowThreads();
39523 (arg1)->SetOrigin(arg2);
39524 wxPyEndAllowThreads(__tstate);
39525 if (PyErr_Occurred()) SWIG_fail;
39526 }
39527 resultobj = SWIG_Py_Void();
39528 return resultobj;
39529fail:
39530 return NULL;
39531}
39532
39533
554f62e9
RD
39534SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39535 PyObject *obj;
39536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39537 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39538 return SWIG_Py_Void();
7e08d4ef
RD
39539}
39540
554f62e9
RD
39541SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39542 return SWIG_Python_InitShadowInstance(args);
39543}
7e08d4ef 39544
554f62e9
RD
39545SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39546 PyObject *resultobj = 0;
39547 wxWindow *arg1 = (wxWindow *) NULL ;
39548 bool arg2 = (bool) true ;
39549 wxContextHelp *result = 0 ;
39550 void *argp1 = 0 ;
39551 int res1 = 0 ;
39552 bool val2 ;
39553 int ecode2 = 0 ;
39554 PyObject * obj0 = 0 ;
39555 PyObject * obj1 = 0 ;
39556 char * kwnames[] = {
39557 (char *) "window",(char *) "doNow", NULL
39558 };
39559
39560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39561 if (obj0) {
39562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39563 if (!SWIG_IsOK(res1)) {
39564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 39565 }
554f62e9
RD
39566 arg1 = reinterpret_cast< wxWindow * >(argp1);
39567 }
39568 if (obj1) {
39569 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39570 if (!SWIG_IsOK(ecode2)) {
39571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39572 }
39573 arg2 = static_cast< bool >(val2);
39574 }
39575 {
39576 if (!wxPyCheckForApp()) SWIG_fail;
39577 PyThreadState* __tstate = wxPyBeginAllowThreads();
39578 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39579 wxPyEndAllowThreads(__tstate);
39580 if (PyErr_Occurred()) SWIG_fail;
39581 }
39582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39583 return resultobj;
39584fail:
39585 return NULL;
d55e5bfc
RD
39586}
39587
39588
554f62e9
RD
39589SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39590 PyObject *resultobj = 0;
39591 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39592 void *argp1 = 0 ;
39593 int res1 = 0 ;
39594 PyObject *swig_obj[1] ;
39595
39596 if (!args) SWIG_fail;
39597 swig_obj[0] = args;
39598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39599 if (!SWIG_IsOK(res1)) {
39600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39601 }
39602 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39603 {
39604 PyThreadState* __tstate = wxPyBeginAllowThreads();
39605 delete arg1;
d55e5bfc 39606
554f62e9
RD
39607 wxPyEndAllowThreads(__tstate);
39608 if (PyErr_Occurred()) SWIG_fail;
39609 }
39610 resultobj = SWIG_Py_Void();
39611 return resultobj;
39612fail:
39613 return NULL;
39614}
39615
39616
39617SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39618 PyObject *resultobj = 0;
39619 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39620 wxWindow *arg2 = (wxWindow *) NULL ;
39621 bool result;
39622 void *argp1 = 0 ;
39623 int res1 = 0 ;
39624 void *argp2 = 0 ;
39625 int res2 = 0 ;
39626 PyObject * obj0 = 0 ;
39627 PyObject * obj1 = 0 ;
39628 char * kwnames[] = {
39629 (char *) "self",(char *) "window", NULL
39630 };
39631
39632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39634 if (!SWIG_IsOK(res1)) {
39635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39636 }
39637 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39638 if (obj1) {
39639 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39640 if (!SWIG_IsOK(res2)) {
39641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 39642 }
554f62e9
RD
39643 arg2 = reinterpret_cast< wxWindow * >(argp2);
39644 }
39645 {
39646 PyThreadState* __tstate = wxPyBeginAllowThreads();
39647 result = (bool)(arg1)->BeginContextHelp(arg2);
39648 wxPyEndAllowThreads(__tstate);
39649 if (PyErr_Occurred()) SWIG_fail;
39650 }
39651 {
39652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39653 }
39654 return resultobj;
39655fail:
39656 return NULL;
d55e5bfc
RD
39657}
39658
39659
554f62e9
RD
39660SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39661 PyObject *resultobj = 0;
39662 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39663 bool result;
39664 void *argp1 = 0 ;
39665 int res1 = 0 ;
39666 PyObject *swig_obj[1] ;
39667
39668 if (!args) SWIG_fail;
39669 swig_obj[0] = args;
39670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39671 if (!SWIG_IsOK(res1)) {
39672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39673 }
39674 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39675 {
39676 PyThreadState* __tstate = wxPyBeginAllowThreads();
39677 result = (bool)(arg1)->EndContextHelp();
39678 wxPyEndAllowThreads(__tstate);
39679 if (PyErr_Occurred()) SWIG_fail;
39680 }
39681 {
39682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39683 }
39684 return resultobj;
39685fail:
39686 return NULL;
39687}
39688
39689
39690SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39691 PyObject *obj;
39692 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39693 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39694 return SWIG_Py_Void();
39695}
39696
39697SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39698 return SWIG_Python_InitShadowInstance(args);
39699}
39700
39701SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39702 PyObject *resultobj = 0;
39703 wxWindow *arg1 = (wxWindow *) 0 ;
39704 int arg2 = (int) wxID_CONTEXT_HELP ;
39705 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39706 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39707 wxSize const &arg4_defvalue = wxDefaultSize ;
39708 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39709 long arg5 = (long) wxBU_AUTODRAW ;
39710 wxContextHelpButton *result = 0 ;
39711 void *argp1 = 0 ;
39712 int res1 = 0 ;
39713 int val2 ;
39714 int ecode2 = 0 ;
39715 wxPoint temp3 ;
39716 wxSize temp4 ;
39717 long val5 ;
39718 int ecode5 = 0 ;
39719 PyObject * obj0 = 0 ;
39720 PyObject * obj1 = 0 ;
39721 PyObject * obj2 = 0 ;
39722 PyObject * obj3 = 0 ;
39723 PyObject * obj4 = 0 ;
39724 char * kwnames[] = {
39725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39726 };
39727
39728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39730 if (!SWIG_IsOK(res1)) {
39731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39732 }
39733 arg1 = reinterpret_cast< wxWindow * >(argp1);
39734 if (obj1) {
39735 ecode2 = SWIG_AsVal_int(obj1, &val2);
39736 if (!SWIG_IsOK(ecode2)) {
39737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39738 }
39739 arg2 = static_cast< int >(val2);
39740 }
39741 if (obj2) {
d55e5bfc 39742 {
554f62e9
RD
39743 arg3 = &temp3;
39744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39745 }
554f62e9
RD
39746 }
39747 if (obj3) {
d55e5bfc 39748 {
554f62e9
RD
39749 arg4 = &temp4;
39750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 39751 }
554f62e9
RD
39752 }
39753 if (obj4) {
39754 ecode5 = SWIG_AsVal_long(obj4, &val5);
39755 if (!SWIG_IsOK(ecode5)) {
39756 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39757 }
39758 arg5 = static_cast< long >(val5);
39759 }
39760 {
39761 if (!wxPyCheckForApp()) SWIG_fail;
39762 PyThreadState* __tstate = wxPyBeginAllowThreads();
39763 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
39764 wxPyEndAllowThreads(__tstate);
39765 if (PyErr_Occurred()) SWIG_fail;
39766 }
39767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
39768 return resultobj;
39769fail:
39770 return NULL;
d55e5bfc
RD
39771}
39772
39773
554f62e9
RD
39774SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39775 PyObject *obj;
39776 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39777 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
39778 return SWIG_Py_Void();
d55e5bfc
RD
39779}
39780
554f62e9
RD
39781SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39782 return SWIG_Python_InitShadowInstance(args);
39783}
d55e5bfc 39784
f52cbe90
RD
39785SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39786 PyObject *resultobj = 0;
39787 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39788 void *argp1 = 0 ;
39789 int res1 = 0 ;
39790 PyObject *swig_obj[1] ;
39791
39792 if (!args) SWIG_fail;
39793 swig_obj[0] = args;
39794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39795 if (!SWIG_IsOK(res1)) {
39796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39797 }
39798 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39799 {
39800 PyThreadState* __tstate = wxPyBeginAllowThreads();
39801 delete arg1;
39802
39803 wxPyEndAllowThreads(__tstate);
39804 if (PyErr_Occurred()) SWIG_fail;
39805 }
39806 resultobj = SWIG_Py_Void();
39807 return resultobj;
39808fail:
39809 return NULL;
39810}
39811
39812
554f62e9
RD
39813SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39814 PyObject *resultobj = 0;
39815 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39816 wxHelpProvider *result = 0 ;
39817 int res1 = 0 ;
39818 PyObject * obj0 = 0 ;
39819 char * kwnames[] = {
39820 (char *) "helpProvider", NULL
39821 };
39822
39823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
39824 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39825 if (!SWIG_IsOK(res1)) {
39826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39827 }
39828 {
39829 PyThreadState* __tstate = wxPyBeginAllowThreads();
39830 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
39831 wxPyEndAllowThreads(__tstate);
39832 if (PyErr_Occurred()) SWIG_fail;
39833 }
39834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
39835 return resultobj;
39836fail:
39837 return NULL;
d55e5bfc
RD
39838}
39839
39840
554f62e9
RD
39841SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39842 PyObject *resultobj = 0;
39843 wxHelpProvider *result = 0 ;
39844
39845 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
39846 {
39847 PyThreadState* __tstate = wxPyBeginAllowThreads();
39848 result = (wxHelpProvider *)wxHelpProvider::Get();
39849 wxPyEndAllowThreads(__tstate);
39850 if (PyErr_Occurred()) SWIG_fail;
39851 }
39852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39853 return resultobj;
39854fail:
39855 return NULL;
39856}
39857
39858
39859SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39860 PyObject *resultobj = 0;
39861 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39862 wxWindow *arg2 = (wxWindow *) 0 ;
39863 wxString result;
39864 void *argp1 = 0 ;
39865 int res1 = 0 ;
39866 void *argp2 = 0 ;
39867 int res2 = 0 ;
39868 PyObject * obj0 = 0 ;
39869 PyObject * obj1 = 0 ;
39870 char * kwnames[] = {
39871 (char *) "self",(char *) "window", NULL
39872 };
39873
39874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39876 if (!SWIG_IsOK(res1)) {
39877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39878 }
39879 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39880 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39881 if (!SWIG_IsOK(res2)) {
39882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39883 }
39884 arg2 = reinterpret_cast< wxWindow * >(argp2);
39885 {
39886 PyThreadState* __tstate = wxPyBeginAllowThreads();
39887 result = (arg1)->GetHelp((wxWindow const *)arg2);
39888 wxPyEndAllowThreads(__tstate);
39889 if (PyErr_Occurred()) SWIG_fail;
39890 }
39891 {
39892#if wxUSE_UNICODE
39893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
39894#else
39895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
39896#endif
39897 }
39898 return resultobj;
39899fail:
39900 return NULL;
39901}
39902
39903
39904SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39905 PyObject *resultobj = 0;
39906 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39907 wxWindow *arg2 = (wxWindow *) 0 ;
39908 bool result;
39909 void *argp1 = 0 ;
39910 int res1 = 0 ;
39911 void *argp2 = 0 ;
39912 int res2 = 0 ;
39913 PyObject * obj0 = 0 ;
39914 PyObject * obj1 = 0 ;
39915 char * kwnames[] = {
39916 (char *) "self",(char *) "window", NULL
39917 };
39918
39919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39921 if (!SWIG_IsOK(res1)) {
39922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39923 }
39924 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39925 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39926 if (!SWIG_IsOK(res2)) {
39927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39928 }
39929 arg2 = reinterpret_cast< wxWindow * >(argp2);
39930 {
39931 PyThreadState* __tstate = wxPyBeginAllowThreads();
39932 result = (bool)(arg1)->ShowHelp(arg2);
39933 wxPyEndAllowThreads(__tstate);
39934 if (PyErr_Occurred()) SWIG_fail;
39935 }
39936 {
39937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39938 }
39939 return resultobj;
39940fail:
39941 return NULL;
39942}
39943
39944
b850e7f3
RD
39945SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39946 PyObject *resultobj = 0;
39947 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39948 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
39949 wxPoint *arg3 = 0 ;
39950 wxHelpEvent::Origin arg4 ;
39951 bool result;
39952 void *argp1 = 0 ;
39953 int res1 = 0 ;
39954 void *argp2 = 0 ;
39955 int res2 = 0 ;
39956 wxPoint temp3 ;
39957 int val4 ;
39958 int ecode4 = 0 ;
39959 PyObject * obj0 = 0 ;
39960 PyObject * obj1 = 0 ;
39961 PyObject * obj2 = 0 ;
39962 PyObject * obj3 = 0 ;
39963 char * kwnames[] = {
39964 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39965 };
39966
39967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39969 if (!SWIG_IsOK(res1)) {
39970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39971 }
39972 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
39974 if (!SWIG_IsOK(res2)) {
39975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39976 }
39977 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
39978 {
39979 arg3 = &temp3;
39980 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39981 }
39982 ecode4 = SWIG_AsVal_int(obj3, &val4);
39983 if (!SWIG_IsOK(ecode4)) {
39984 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39985 }
39986 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39987 {
39988 PyThreadState* __tstate = wxPyBeginAllowThreads();
39989 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
39990 wxPyEndAllowThreads(__tstate);
39991 if (PyErr_Occurred()) SWIG_fail;
39992 }
39993 {
39994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39995 }
39996 return resultobj;
39997fail:
39998 return NULL;
39999}
40000
40001
554f62e9
RD
40002SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40003 PyObject *resultobj = 0;
40004 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40005 wxWindow *arg2 = (wxWindow *) 0 ;
40006 wxString *arg3 = 0 ;
40007 void *argp1 = 0 ;
40008 int res1 = 0 ;
40009 void *argp2 = 0 ;
40010 int res2 = 0 ;
40011 bool temp3 = false ;
40012 PyObject * obj0 = 0 ;
40013 PyObject * obj1 = 0 ;
40014 PyObject * obj2 = 0 ;
40015 char * kwnames[] = {
40016 (char *) "self",(char *) "window",(char *) "text", NULL
40017 };
40018
40019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40021 if (!SWIG_IsOK(res1)) {
40022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40023 }
40024 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40025 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40026 if (!SWIG_IsOK(res2)) {
40027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40028 }
40029 arg2 = reinterpret_cast< wxWindow * >(argp2);
40030 {
40031 arg3 = wxString_in_helper(obj2);
40032 if (arg3 == NULL) SWIG_fail;
40033 temp3 = true;
40034 }
40035 {
40036 PyThreadState* __tstate = wxPyBeginAllowThreads();
40037 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40038 wxPyEndAllowThreads(__tstate);
40039 if (PyErr_Occurred()) SWIG_fail;
40040 }
40041 resultobj = SWIG_Py_Void();
40042 {
40043 if (temp3)
40044 delete arg3;
40045 }
40046 return resultobj;
40047fail:
40048 {
40049 if (temp3)
40050 delete arg3;
40051 }
40052 return NULL;
40053}
40054
40055
40056SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40057 PyObject *resultobj = 0;
40058 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40059 int arg2 ;
40060 wxString *arg3 = 0 ;
40061 void *argp1 = 0 ;
40062 int res1 = 0 ;
40063 int val2 ;
40064 int ecode2 = 0 ;
40065 bool temp3 = false ;
40066 PyObject * obj0 = 0 ;
40067 PyObject * obj1 = 0 ;
40068 PyObject * obj2 = 0 ;
40069 char * kwnames[] = {
40070 (char *) "self",(char *) "id",(char *) "text", NULL
40071 };
40072
40073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40075 if (!SWIG_IsOK(res1)) {
40076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40077 }
40078 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40079 ecode2 = SWIG_AsVal_int(obj1, &val2);
40080 if (!SWIG_IsOK(ecode2)) {
40081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40082 }
40083 arg2 = static_cast< int >(val2);
40084 {
40085 arg3 = wxString_in_helper(obj2);
40086 if (arg3 == NULL) SWIG_fail;
40087 temp3 = true;
40088 }
40089 {
40090 PyThreadState* __tstate = wxPyBeginAllowThreads();
40091 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40092 wxPyEndAllowThreads(__tstate);
40093 if (PyErr_Occurred()) SWIG_fail;
40094 }
40095 resultobj = SWIG_Py_Void();
40096 {
40097 if (temp3)
40098 delete arg3;
40099 }
40100 return resultobj;
40101fail:
40102 {
40103 if (temp3)
40104 delete arg3;
40105 }
40106 return NULL;
40107}
40108
40109
40110SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40111 PyObject *resultobj = 0;
40112 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40113 wxWindow *arg2 = (wxWindow *) 0 ;
40114 void *argp1 = 0 ;
40115 int res1 = 0 ;
40116 void *argp2 = 0 ;
40117 int res2 = 0 ;
40118 PyObject * obj0 = 0 ;
40119 PyObject * obj1 = 0 ;
40120 char * kwnames[] = {
40121 (char *) "self",(char *) "window", NULL
40122 };
40123
40124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40126 if (!SWIG_IsOK(res1)) {
40127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40128 }
40129 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40130 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40131 if (!SWIG_IsOK(res2)) {
40132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40133 }
40134 arg2 = reinterpret_cast< wxWindow * >(argp2);
40135 {
40136 PyThreadState* __tstate = wxPyBeginAllowThreads();
40137 (arg1)->RemoveHelp(arg2);
40138 wxPyEndAllowThreads(__tstate);
40139 if (PyErr_Occurred()) SWIG_fail;
40140 }
40141 resultobj = SWIG_Py_Void();
40142 return resultobj;
40143fail:
40144 return NULL;
d55e5bfc
RD
40145}
40146
40147
554f62e9
RD
40148SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40149 PyObject *resultobj = 0;
40150 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40151 void *argp1 = 0 ;
40152 int res1 = 0 ;
40153 PyObject *swig_obj[1] ;
40154
40155 if (!args) SWIG_fail;
40156 swig_obj[0] = args;
40157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40158 if (!SWIG_IsOK(res1)) {
40159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40160 }
40161 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40162 {
40163 PyThreadState* __tstate = wxPyBeginAllowThreads();
40164 wxHelpProvider_Destroy(arg1);
40165 wxPyEndAllowThreads(__tstate);
40166 if (PyErr_Occurred()) SWIG_fail;
40167 }
40168 resultobj = SWIG_Py_Void();
40169 return resultobj;
40170fail:
40171 return NULL;
d55e5bfc
RD
40172}
40173
40174
554f62e9
RD
40175SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40176 PyObject *obj;
40177 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40178 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40179 return SWIG_Py_Void();
d55e5bfc
RD
40180}
40181
554f62e9
RD
40182SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40183 PyObject *resultobj = 0;
40184 wxSimpleHelpProvider *result = 0 ;
40185
40186 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40187 {
40188 PyThreadState* __tstate = wxPyBeginAllowThreads();
40189 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40190 wxPyEndAllowThreads(__tstate);
40191 if (PyErr_Occurred()) SWIG_fail;
40192 }
40193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40194 return resultobj;
40195fail:
40196 return NULL;
40197}
40198
40199
40200SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40201 PyObject *obj;
40202 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40203 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40204 return SWIG_Py_Void();
40205}
40206
40207SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40208 return SWIG_Python_InitShadowInstance(args);
40209}
40210
40211SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40212 PyObject *resultobj = 0;
40213 wxBitmap *arg1 = 0 ;
40214 wxCursor const &arg2_defvalue = wxNullCursor ;
40215 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40216 wxGenericDragImage *result = 0 ;
40217 void *argp1 = 0 ;
40218 int res1 = 0 ;
40219 void *argp2 = 0 ;
40220 int res2 = 0 ;
40221 PyObject * obj0 = 0 ;
40222 PyObject * obj1 = 0 ;
40223 char * kwnames[] = {
40224 (char *) "image",(char *) "cursor", NULL
40225 };
40226
40227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40228 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40229 if (!SWIG_IsOK(res1)) {
40230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40231 }
40232 if (!argp1) {
40233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40234 }
40235 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40236 if (obj1) {
40237 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40238 if (!SWIG_IsOK(res2)) {
40239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40240 }
554f62e9
RD
40241 if (!argp2) {
40242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40243 }
554f62e9
RD
40244 arg2 = reinterpret_cast< wxCursor * >(argp2);
40245 }
40246 {
40247 if (!wxPyCheckForApp()) SWIG_fail;
40248 PyThreadState* __tstate = wxPyBeginAllowThreads();
40249 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40250 wxPyEndAllowThreads(__tstate);
40251 if (PyErr_Occurred()) SWIG_fail;
40252 }
40253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40254 return resultobj;
40255fail:
40256 return NULL;
40257}
40258
40259
40260SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40261 PyObject *resultobj = 0;
40262 wxIcon *arg1 = 0 ;
40263 wxCursor const &arg2_defvalue = wxNullCursor ;
40264 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40265 wxGenericDragImage *result = 0 ;
40266 void *argp1 = 0 ;
40267 int res1 = 0 ;
40268 void *argp2 = 0 ;
40269 int res2 = 0 ;
40270 PyObject * obj0 = 0 ;
40271 PyObject * obj1 = 0 ;
40272 char * kwnames[] = {
40273 (char *) "image",(char *) "cursor", NULL
40274 };
40275
40276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40277 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40278 if (!SWIG_IsOK(res1)) {
40279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40280 }
40281 if (!argp1) {
40282 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40283 }
40284 arg1 = reinterpret_cast< wxIcon * >(argp1);
40285 if (obj1) {
40286 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40287 if (!SWIG_IsOK(res2)) {
40288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40289 }
554f62e9
RD
40290 if (!argp2) {
40291 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40292 }
554f62e9
RD
40293 arg2 = reinterpret_cast< wxCursor * >(argp2);
40294 }
40295 {
40296 if (!wxPyCheckForApp()) SWIG_fail;
40297 PyThreadState* __tstate = wxPyBeginAllowThreads();
40298 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40299 wxPyEndAllowThreads(__tstate);
40300 if (PyErr_Occurred()) SWIG_fail;
40301 }
40302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40303 return resultobj;
40304fail:
40305 return NULL;
40306}
40307
40308
40309SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40310 PyObject *resultobj = 0;
40311 wxString *arg1 = 0 ;
40312 wxCursor const &arg2_defvalue = wxNullCursor ;
40313 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40314 wxGenericDragImage *result = 0 ;
40315 bool temp1 = false ;
40316 void *argp2 = 0 ;
40317 int res2 = 0 ;
40318 PyObject * obj0 = 0 ;
40319 PyObject * obj1 = 0 ;
40320 char * kwnames[] = {
40321 (char *) "str",(char *) "cursor", NULL
40322 };
40323
40324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40325 {
40326 arg1 = wxString_in_helper(obj0);
40327 if (arg1 == NULL) SWIG_fail;
40328 temp1 = true;
40329 }
40330 if (obj1) {
40331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40332 if (!SWIG_IsOK(res2)) {
40333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40334 }
554f62e9
RD
40335 if (!argp2) {
40336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40337 }
554f62e9
RD
40338 arg2 = reinterpret_cast< wxCursor * >(argp2);
40339 }
40340 {
40341 if (!wxPyCheckForApp()) SWIG_fail;
40342 PyThreadState* __tstate = wxPyBeginAllowThreads();
40343 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40344 wxPyEndAllowThreads(__tstate);
40345 if (PyErr_Occurred()) SWIG_fail;
40346 }
40347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40348 {
40349 if (temp1)
40350 delete arg1;
40351 }
40352 return resultobj;
40353fail:
40354 {
40355 if (temp1)
40356 delete arg1;
40357 }
40358 return NULL;
40359}
40360
40361
40362SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40363 PyObject *resultobj = 0;
40364 wxPyTreeCtrl *arg1 = 0 ;
40365 wxTreeItemId *arg2 = 0 ;
40366 wxGenericDragImage *result = 0 ;
40367 void *argp1 = 0 ;
40368 int res1 = 0 ;
40369 void *argp2 = 0 ;
40370 int res2 = 0 ;
40371 PyObject * obj0 = 0 ;
40372 PyObject * obj1 = 0 ;
40373 char * kwnames[] = {
40374 (char *) "treeCtrl",(char *) "id", NULL
40375 };
40376
40377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40378 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40379 if (!SWIG_IsOK(res1)) {
40380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40381 }
40382 if (!argp1) {
40383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40384 }
40385 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40386 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40387 if (!SWIG_IsOK(res2)) {
40388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40389 }
40390 if (!argp2) {
40391 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40392 }
40393 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40394 {
40395 if (!wxPyCheckForApp()) SWIG_fail;
40396 PyThreadState* __tstate = wxPyBeginAllowThreads();
40397 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40398 wxPyEndAllowThreads(__tstate);
40399 if (PyErr_Occurred()) SWIG_fail;
40400 }
40401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40402 return resultobj;
40403fail:
40404 return NULL;
40405}
40406
40407
40408SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40409 PyObject *resultobj = 0;
40410 wxPyListCtrl *arg1 = 0 ;
40411 long arg2 ;
40412 wxGenericDragImage *result = 0 ;
40413 void *argp1 = 0 ;
40414 int res1 = 0 ;
40415 long val2 ;
40416 int ecode2 = 0 ;
40417 PyObject * obj0 = 0 ;
40418 PyObject * obj1 = 0 ;
40419 char * kwnames[] = {
40420 (char *) "listCtrl",(char *) "id", NULL
40421 };
40422
40423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40424 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40425 if (!SWIG_IsOK(res1)) {
40426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40427 }
40428 if (!argp1) {
40429 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40430 }
40431 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40432 ecode2 = SWIG_AsVal_long(obj1, &val2);
40433 if (!SWIG_IsOK(ecode2)) {
40434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40435 }
40436 arg2 = static_cast< long >(val2);
40437 {
40438 if (!wxPyCheckForApp()) SWIG_fail;
40439 PyThreadState* __tstate = wxPyBeginAllowThreads();
40440 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40441 wxPyEndAllowThreads(__tstate);
40442 if (PyErr_Occurred()) SWIG_fail;
40443 }
40444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40445 return resultobj;
40446fail:
40447 return NULL;
d55e5bfc
RD
40448}
40449
40450
554f62e9
RD
40451SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40452 PyObject *resultobj = 0;
40453 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40454 void *argp1 = 0 ;
40455 int res1 = 0 ;
40456 PyObject *swig_obj[1] ;
40457
40458 if (!args) SWIG_fail;
40459 swig_obj[0] = args;
40460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40461 if (!SWIG_IsOK(res1)) {
40462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40463 }
40464 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40465 {
40466 PyThreadState* __tstate = wxPyBeginAllowThreads();
40467 delete arg1;
d55e5bfc 40468
554f62e9
RD
40469 wxPyEndAllowThreads(__tstate);
40470 if (PyErr_Occurred()) SWIG_fail;
40471 }
40472 resultobj = SWIG_Py_Void();
40473 return resultobj;
40474fail:
40475 return NULL;
40476}
40477
40478
40479SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40480 PyObject *resultobj = 0;
40481 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40482 wxBitmap *arg2 = (wxBitmap *) 0 ;
40483 void *argp1 = 0 ;
40484 int res1 = 0 ;
40485 void *argp2 = 0 ;
40486 int res2 = 0 ;
40487 PyObject * obj0 = 0 ;
40488 PyObject * obj1 = 0 ;
40489 char * kwnames[] = {
40490 (char *) "self",(char *) "bitmap", NULL
40491 };
40492
40493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40495 if (!SWIG_IsOK(res1)) {
40496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40497 }
40498 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40500 if (!SWIG_IsOK(res2)) {
40501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40502 }
40503 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40504 {
40505 PyThreadState* __tstate = wxPyBeginAllowThreads();
40506 (arg1)->SetBackingBitmap(arg2);
40507 wxPyEndAllowThreads(__tstate);
40508 if (PyErr_Occurred()) SWIG_fail;
40509 }
40510 resultobj = SWIG_Py_Void();
40511 return resultobj;
40512fail:
40513 return NULL;
40514}
40515
40516
40517SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40518 PyObject *resultobj = 0;
40519 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40520 wxPoint *arg2 = 0 ;
40521 wxWindow *arg3 = (wxWindow *) 0 ;
40522 bool arg4 = (bool) false ;
40523 wxRect *arg5 = (wxRect *) NULL ;
40524 bool result;
40525 void *argp1 = 0 ;
40526 int res1 = 0 ;
40527 wxPoint temp2 ;
40528 void *argp3 = 0 ;
40529 int res3 = 0 ;
40530 bool val4 ;
40531 int ecode4 = 0 ;
40532 void *argp5 = 0 ;
40533 int res5 = 0 ;
40534 PyObject * obj0 = 0 ;
40535 PyObject * obj1 = 0 ;
40536 PyObject * obj2 = 0 ;
40537 PyObject * obj3 = 0 ;
40538 PyObject * obj4 = 0 ;
40539 char * kwnames[] = {
40540 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40541 };
40542
40543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40545 if (!SWIG_IsOK(res1)) {
40546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40547 }
40548 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40549 {
40550 arg2 = &temp2;
40551 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40552 }
40553 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40554 if (!SWIG_IsOK(res3)) {
40555 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40556 }
40557 arg3 = reinterpret_cast< wxWindow * >(argp3);
40558 if (obj3) {
40559 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40560 if (!SWIG_IsOK(ecode4)) {
40561 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40562 }
40563 arg4 = static_cast< bool >(val4);
40564 }
40565 if (obj4) {
40566 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40567 if (!SWIG_IsOK(res5)) {
40568 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 40569 }
554f62e9
RD
40570 arg5 = reinterpret_cast< wxRect * >(argp5);
40571 }
40572 {
40573 PyThreadState* __tstate = wxPyBeginAllowThreads();
40574 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40575 wxPyEndAllowThreads(__tstate);
40576 if (PyErr_Occurred()) SWIG_fail;
40577 }
40578 {
40579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40580 }
40581 return resultobj;
40582fail:
40583 return NULL;
40584}
40585
40586
40587SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40588 PyObject *resultobj = 0;
40589 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40590 wxPoint *arg2 = 0 ;
40591 wxWindow *arg3 = (wxWindow *) 0 ;
40592 wxWindow *arg4 = (wxWindow *) 0 ;
40593 bool result;
40594 void *argp1 = 0 ;
40595 int res1 = 0 ;
40596 wxPoint temp2 ;
40597 void *argp3 = 0 ;
40598 int res3 = 0 ;
40599 void *argp4 = 0 ;
40600 int res4 = 0 ;
40601 PyObject * obj0 = 0 ;
40602 PyObject * obj1 = 0 ;
40603 PyObject * obj2 = 0 ;
40604 PyObject * obj3 = 0 ;
40605 char * kwnames[] = {
40606 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40607 };
40608
40609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40611 if (!SWIG_IsOK(res1)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40613 }
40614 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40615 {
40616 arg2 = &temp2;
40617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40618 }
40619 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40620 if (!SWIG_IsOK(res3)) {
40621 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40622 }
40623 arg3 = reinterpret_cast< wxWindow * >(argp3);
40624 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40625 if (!SWIG_IsOK(res4)) {
40626 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40627 }
40628 arg4 = reinterpret_cast< wxWindow * >(argp4);
40629 {
40630 PyThreadState* __tstate = wxPyBeginAllowThreads();
40631 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40632 wxPyEndAllowThreads(__tstate);
40633 if (PyErr_Occurred()) SWIG_fail;
40634 }
40635 {
40636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40637 }
40638 return resultobj;
40639fail:
40640 return NULL;
d55e5bfc
RD
40641}
40642
40643
554f62e9
RD
40644SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40645 PyObject *resultobj = 0;
40646 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40647 bool result;
40648 void *argp1 = 0 ;
40649 int res1 = 0 ;
40650 PyObject *swig_obj[1] ;
40651
40652 if (!args) SWIG_fail;
40653 swig_obj[0] = args;
40654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40655 if (!SWIG_IsOK(res1)) {
40656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40657 }
40658 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40659 {
40660 PyThreadState* __tstate = wxPyBeginAllowThreads();
40661 result = (bool)(arg1)->EndDrag();
40662 wxPyEndAllowThreads(__tstate);
40663 if (PyErr_Occurred()) SWIG_fail;
40664 }
40665 {
40666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40667 }
40668 return resultobj;
40669fail:
40670 return NULL;
40671}
40672
40673
40674SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40675 PyObject *resultobj = 0;
40676 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40677 wxPoint *arg2 = 0 ;
40678 bool result;
40679 void *argp1 = 0 ;
40680 int res1 = 0 ;
40681 wxPoint temp2 ;
40682 PyObject * obj0 = 0 ;
40683 PyObject * obj1 = 0 ;
40684 char * kwnames[] = {
40685 (char *) "self",(char *) "pt", NULL
40686 };
40687
40688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40690 if (!SWIG_IsOK(res1)) {
40691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40692 }
40693 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40694 {
40695 arg2 = &temp2;
40696 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40697 }
40698 {
40699 PyThreadState* __tstate = wxPyBeginAllowThreads();
40700 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40701 wxPyEndAllowThreads(__tstate);
40702 if (PyErr_Occurred()) SWIG_fail;
40703 }
40704 {
40705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40706 }
40707 return resultobj;
40708fail:
40709 return NULL;
d55e5bfc
RD
40710}
40711
40712
554f62e9
RD
40713SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40714 PyObject *resultobj = 0;
40715 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40716 bool result;
40717 void *argp1 = 0 ;
40718 int res1 = 0 ;
40719 PyObject *swig_obj[1] ;
40720
40721 if (!args) SWIG_fail;
40722 swig_obj[0] = args;
40723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40724 if (!SWIG_IsOK(res1)) {
40725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40726 }
40727 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40728 {
40729 PyThreadState* __tstate = wxPyBeginAllowThreads();
40730 result = (bool)(arg1)->Show();
40731 wxPyEndAllowThreads(__tstate);
40732 if (PyErr_Occurred()) SWIG_fail;
40733 }
40734 {
40735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40736 }
40737 return resultobj;
40738fail:
40739 return NULL;
d55e5bfc
RD
40740}
40741
40742
554f62e9
RD
40743SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40744 PyObject *resultobj = 0;
40745 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40746 bool result;
40747 void *argp1 = 0 ;
40748 int res1 = 0 ;
40749 PyObject *swig_obj[1] ;
40750
40751 if (!args) SWIG_fail;
40752 swig_obj[0] = args;
40753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40754 if (!SWIG_IsOK(res1)) {
40755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40756 }
40757 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40758 {
40759 PyThreadState* __tstate = wxPyBeginAllowThreads();
40760 result = (bool)(arg1)->Hide();
40761 wxPyEndAllowThreads(__tstate);
40762 if (PyErr_Occurred()) SWIG_fail;
40763 }
40764 {
40765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40766 }
40767 return resultobj;
40768fail:
40769 return NULL;
40770}
40771
40772
40773SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40774 PyObject *resultobj = 0;
40775 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40776 wxPoint *arg2 = 0 ;
40777 wxRect result;
40778 void *argp1 = 0 ;
40779 int res1 = 0 ;
40780 wxPoint temp2 ;
40781 PyObject * obj0 = 0 ;
40782 PyObject * obj1 = 0 ;
40783 char * kwnames[] = {
40784 (char *) "self",(char *) "pos", NULL
40785 };
40786
40787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
40788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40789 if (!SWIG_IsOK(res1)) {
40790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40791 }
40792 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40793 {
40794 arg2 = &temp2;
40795 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40796 }
40797 {
40798 PyThreadState* __tstate = wxPyBeginAllowThreads();
40799 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
40800 wxPyEndAllowThreads(__tstate);
40801 if (PyErr_Occurred()) SWIG_fail;
40802 }
40803 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
40804 return resultobj;
40805fail:
40806 return NULL;
40807}
40808
40809
40810SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40811 PyObject *resultobj = 0;
40812 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40813 wxDC *arg2 = 0 ;
40814 wxPoint *arg3 = 0 ;
40815 bool result;
40816 void *argp1 = 0 ;
40817 int res1 = 0 ;
40818 void *argp2 = 0 ;
40819 int res2 = 0 ;
40820 wxPoint temp3 ;
40821 PyObject * obj0 = 0 ;
40822 PyObject * obj1 = 0 ;
40823 PyObject * obj2 = 0 ;
40824 char * kwnames[] = {
40825 (char *) "self",(char *) "dc",(char *) "pos", NULL
40826 };
40827
40828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40830 if (!SWIG_IsOK(res1)) {
40831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40832 }
40833 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40835 if (!SWIG_IsOK(res2)) {
40836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40837 }
40838 if (!argp2) {
40839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40840 }
40841 arg2 = reinterpret_cast< wxDC * >(argp2);
40842 {
40843 arg3 = &temp3;
40844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40845 }
40846 {
40847 PyThreadState* __tstate = wxPyBeginAllowThreads();
40848 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
40849 wxPyEndAllowThreads(__tstate);
40850 if (PyErr_Occurred()) SWIG_fail;
40851 }
40852 {
40853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40854 }
40855 return resultobj;
40856fail:
40857 return NULL;
40858}
40859
40860
40861SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40862 PyObject *resultobj = 0;
40863 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40864 wxDC *arg2 = 0 ;
40865 wxMemoryDC *arg3 = 0 ;
40866 wxRect *arg4 = 0 ;
40867 wxRect *arg5 = 0 ;
40868 bool result;
40869 void *argp1 = 0 ;
40870 int res1 = 0 ;
40871 void *argp2 = 0 ;
40872 int res2 = 0 ;
40873 void *argp3 = 0 ;
40874 int res3 = 0 ;
40875 wxRect temp4 ;
40876 wxRect temp5 ;
40877 PyObject * obj0 = 0 ;
40878 PyObject * obj1 = 0 ;
40879 PyObject * obj2 = 0 ;
40880 PyObject * obj3 = 0 ;
40881 PyObject * obj4 = 0 ;
40882 char * kwnames[] = {
40883 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40884 };
40885
40886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40888 if (!SWIG_IsOK(res1)) {
40889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40890 }
40891 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40892 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40893 if (!SWIG_IsOK(res2)) {
40894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40895 }
40896 if (!argp2) {
40897 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40898 }
40899 arg2 = reinterpret_cast< wxDC * >(argp2);
40900 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
40901 if (!SWIG_IsOK(res3)) {
40902 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40903 }
40904 if (!argp3) {
40905 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40906 }
40907 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
40908 {
40909 arg4 = &temp4;
40910 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
40911 }
40912 {
40913 arg5 = &temp5;
40914 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
40915 }
40916 {
40917 PyThreadState* __tstate = wxPyBeginAllowThreads();
40918 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
40919 wxPyEndAllowThreads(__tstate);
40920 if (PyErr_Occurred()) SWIG_fail;
40921 }
40922 {
40923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40924 }
40925 return resultobj;
40926fail:
40927 return NULL;
40928}
40929
40930
40931SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40932 PyObject *resultobj = 0;
40933 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40934 wxPoint *arg2 = 0 ;
40935 wxPoint *arg3 = 0 ;
40936 bool arg4 ;
40937 bool arg5 ;
40938 bool result;
40939 void *argp1 = 0 ;
40940 int res1 = 0 ;
40941 wxPoint temp2 ;
40942 wxPoint temp3 ;
40943 bool val4 ;
40944 int ecode4 = 0 ;
40945 bool val5 ;
40946 int ecode5 = 0 ;
40947 PyObject * obj0 = 0 ;
40948 PyObject * obj1 = 0 ;
40949 PyObject * obj2 = 0 ;
40950 PyObject * obj3 = 0 ;
40951 PyObject * obj4 = 0 ;
40952 char * kwnames[] = {
40953 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40954 };
40955
40956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40958 if (!SWIG_IsOK(res1)) {
40959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40960 }
40961 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40962 {
40963 arg2 = &temp2;
40964 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40965 }
40966 {
40967 arg3 = &temp3;
40968 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40969 }
40970 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40971 if (!SWIG_IsOK(ecode4)) {
40972 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40973 }
40974 arg4 = static_cast< bool >(val4);
40975 ecode5 = SWIG_AsVal_bool(obj4, &val5);
40976 if (!SWIG_IsOK(ecode5)) {
40977 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40978 }
40979 arg5 = static_cast< bool >(val5);
40980 {
40981 PyThreadState* __tstate = wxPyBeginAllowThreads();
40982 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
40983 wxPyEndAllowThreads(__tstate);
40984 if (PyErr_Occurred()) SWIG_fail;
40985 }
40986 {
40987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40988 }
40989 return resultobj;
40990fail:
40991 return NULL;
d55e5bfc
RD
40992}
40993
40994
554f62e9
RD
40995SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40996 PyObject *obj;
40997 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40998 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
40999 return SWIG_Py_Void();
d55e5bfc
RD
41000}
41001
554f62e9
RD
41002SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41003 return SWIG_Python_InitShadowInstance(args);
41004}
d55e5bfc 41005
554f62e9
RD
41006SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41007 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41008 return 1;
d55e5bfc
RD
41009}
41010
41011
554f62e9
RD
41012SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41013 PyObject *pyobj = 0;
41014
41015 {
41016#if wxUSE_UNICODE
41017 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41018#else
41019 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41020#endif
41021 }
41022 return pyobj;
41023}
41024
41025
41026SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41027 PyObject *resultobj = 0;
41028 wxWindow *arg1 = (wxWindow *) 0 ;
41029 int arg2 = (int) -1 ;
41030 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41031 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41034 wxSize const &arg5_defvalue = wxDefaultSize ;
41035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41036 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41037 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41038 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41039 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41040 wxString *arg8 = (wxString *) &arg8_defvalue ;
41041 wxDatePickerCtrl *result = 0 ;
41042 void *argp1 = 0 ;
41043 int res1 = 0 ;
41044 int val2 ;
41045 int ecode2 = 0 ;
41046 void *argp3 = 0 ;
41047 int res3 = 0 ;
41048 wxPoint temp4 ;
41049 wxSize temp5 ;
41050 long val6 ;
41051 int ecode6 = 0 ;
41052 void *argp7 = 0 ;
41053 int res7 = 0 ;
41054 bool temp8 = false ;
41055 PyObject * obj0 = 0 ;
41056 PyObject * obj1 = 0 ;
41057 PyObject * obj2 = 0 ;
41058 PyObject * obj3 = 0 ;
41059 PyObject * obj4 = 0 ;
41060 PyObject * obj5 = 0 ;
41061 PyObject * obj6 = 0 ;
41062 PyObject * obj7 = 0 ;
41063 char * kwnames[] = {
41064 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41065 };
41066
41067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41069 if (!SWIG_IsOK(res1)) {
41070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41071 }
41072 arg1 = reinterpret_cast< wxWindow * >(argp1);
41073 if (obj1) {
41074 ecode2 = SWIG_AsVal_int(obj1, &val2);
41075 if (!SWIG_IsOK(ecode2)) {
41076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41077 }
41078 arg2 = static_cast< int >(val2);
41079 }
41080 if (obj2) {
41081 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41082 if (!SWIG_IsOK(res3)) {
41083 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41084 }
554f62e9
RD
41085 if (!argp3) {
41086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41087 }
554f62e9
RD
41088 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41089 }
41090 if (obj3) {
d55e5bfc 41091 {
554f62e9
RD
41092 arg4 = &temp4;
41093 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 41094 }
554f62e9
RD
41095 }
41096 if (obj4) {
093d3ff1 41097 {
554f62e9
RD
41098 arg5 = &temp5;
41099 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41100 }
554f62e9
RD
41101 }
41102 if (obj5) {
41103 ecode6 = SWIG_AsVal_long(obj5, &val6);
41104 if (!SWIG_IsOK(ecode6)) {
41105 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41106 }
41107 arg6 = static_cast< long >(val6);
41108 }
41109 if (obj6) {
41110 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41111 if (!SWIG_IsOK(res7)) {
41112 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 41113 }
554f62e9
RD
41114 if (!argp7) {
41115 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 41116 }
554f62e9
RD
41117 arg7 = reinterpret_cast< wxValidator * >(argp7);
41118 }
41119 if (obj7) {
d55e5bfc 41120 {
554f62e9
RD
41121 arg8 = wxString_in_helper(obj7);
41122 if (arg8 == NULL) SWIG_fail;
41123 temp8 = true;
d55e5bfc 41124 }
554f62e9
RD
41125 }
41126 {
41127 if (!wxPyCheckForApp()) SWIG_fail;
41128 PyThreadState* __tstate = wxPyBeginAllowThreads();
41129 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41130 wxPyEndAllowThreads(__tstate);
41131 if (PyErr_Occurred()) SWIG_fail;
41132 }
41133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41134 {
41135 if (temp8)
41136 delete arg8;
41137 }
41138 return resultobj;
41139fail:
41140 {
41141 if (temp8)
41142 delete arg8;
41143 }
41144 return NULL;
d55e5bfc
RD
41145}
41146
41147
554f62e9
RD
41148SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41149 PyObject *resultobj = 0;
41150 wxDatePickerCtrl *result = 0 ;
41151
41152 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41153 {
41154 if (!wxPyCheckForApp()) SWIG_fail;
41155 PyThreadState* __tstate = wxPyBeginAllowThreads();
41156 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41157 wxPyEndAllowThreads(__tstate);
41158 if (PyErr_Occurred()) SWIG_fail;
41159 }
41160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41161 return resultobj;
41162fail:
41163 return NULL;
41164}
41165
41166
41167SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41168 PyObject *resultobj = 0;
41169 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41170 wxWindow *arg2 = (wxWindow *) 0 ;
41171 int arg3 = (int) -1 ;
41172 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41173 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41174 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41175 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41176 wxSize const &arg6_defvalue = wxDefaultSize ;
41177 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41178 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41179 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41180 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41181 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41182 wxString *arg9 = (wxString *) &arg9_defvalue ;
41183 bool result;
41184 void *argp1 = 0 ;
41185 int res1 = 0 ;
41186 void *argp2 = 0 ;
41187 int res2 = 0 ;
41188 int val3 ;
41189 int ecode3 = 0 ;
41190 void *argp4 = 0 ;
41191 int res4 = 0 ;
41192 wxPoint temp5 ;
41193 wxSize temp6 ;
41194 long val7 ;
41195 int ecode7 = 0 ;
41196 void *argp8 = 0 ;
41197 int res8 = 0 ;
41198 bool temp9 = false ;
41199 PyObject * obj0 = 0 ;
41200 PyObject * obj1 = 0 ;
41201 PyObject * obj2 = 0 ;
41202 PyObject * obj3 = 0 ;
41203 PyObject * obj4 = 0 ;
41204 PyObject * obj5 = 0 ;
41205 PyObject * obj6 = 0 ;
41206 PyObject * obj7 = 0 ;
41207 PyObject * obj8 = 0 ;
41208 char * kwnames[] = {
41209 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41210 };
41211
41212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41214 if (!SWIG_IsOK(res1)) {
41215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41216 }
41217 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41219 if (!SWIG_IsOK(res2)) {
41220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41221 }
41222 arg2 = reinterpret_cast< wxWindow * >(argp2);
41223 if (obj2) {
41224 ecode3 = SWIG_AsVal_int(obj2, &val3);
41225 if (!SWIG_IsOK(ecode3)) {
41226 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41227 }
41228 arg3 = static_cast< int >(val3);
41229 }
41230 if (obj3) {
41231 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41232 if (!SWIG_IsOK(res4)) {
41233 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
093d3ff1 41234 }
554f62e9
RD
41235 if (!argp4) {
41236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 41237 }
554f62e9
RD
41238 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41239 }
41240 if (obj4) {
093d3ff1 41241 {
554f62e9
RD
41242 arg5 = &temp5;
41243 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41244 }
554f62e9
RD
41245 }
41246 if (obj5) {
d55e5bfc 41247 {
554f62e9
RD
41248 arg6 = &temp6;
41249 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 41250 }
554f62e9
RD
41251 }
41252 if (obj6) {
41253 ecode7 = SWIG_AsVal_long(obj6, &val7);
41254 if (!SWIG_IsOK(ecode7)) {
41255 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41256 }
41257 arg7 = static_cast< long >(val7);
41258 }
41259 if (obj7) {
41260 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41261 if (!SWIG_IsOK(res8)) {
41262 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41263 }
41264 if (!argp8) {
41265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 41266 }
554f62e9
RD
41267 arg8 = reinterpret_cast< wxValidator * >(argp8);
41268 }
41269 if (obj8) {
d55e5bfc 41270 {
554f62e9
RD
41271 arg9 = wxString_in_helper(obj8);
41272 if (arg9 == NULL) SWIG_fail;
41273 temp9 = true;
d55e5bfc 41274 }
554f62e9
RD
41275 }
41276 {
41277 PyThreadState* __tstate = wxPyBeginAllowThreads();
41278 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41279 wxPyEndAllowThreads(__tstate);
41280 if (PyErr_Occurred()) SWIG_fail;
41281 }
41282 {
41283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41284 }
41285 {
41286 if (temp9)
41287 delete arg9;
41288 }
41289 return resultobj;
41290fail:
41291 {
41292 if (temp9)
41293 delete arg9;
41294 }
41295 return NULL;
41296}
41297
41298
41299SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41300 PyObject *resultobj = 0;
41301 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41302 wxDateTime *arg2 = 0 ;
41303 void *argp1 = 0 ;
41304 int res1 = 0 ;
41305 void *argp2 = 0 ;
41306 int res2 = 0 ;
41307 PyObject * obj0 = 0 ;
41308 PyObject * obj1 = 0 ;
41309 char * kwnames[] = {
41310 (char *) "self",(char *) "dt", NULL
41311 };
41312
41313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41315 if (!SWIG_IsOK(res1)) {
41316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41317 }
41318 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41319 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41320 if (!SWIG_IsOK(res2)) {
41321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41322 }
41323 if (!argp2) {
41324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41325 }
41326 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41327 {
41328 PyThreadState* __tstate = wxPyBeginAllowThreads();
41329 (arg1)->SetValue((wxDateTime const &)*arg2);
41330 wxPyEndAllowThreads(__tstate);
41331 if (PyErr_Occurred()) SWIG_fail;
41332 }
41333 resultobj = SWIG_Py_Void();
41334 return resultobj;
41335fail:
41336 return NULL;
d55e5bfc
RD
41337}
41338
41339
554f62e9
RD
41340SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41341 PyObject *resultobj = 0;
41342 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41343 wxDateTime result;
41344 void *argp1 = 0 ;
41345 int res1 = 0 ;
41346 PyObject *swig_obj[1] ;
41347
41348 if (!args) SWIG_fail;
41349 swig_obj[0] = args;
41350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41351 if (!SWIG_IsOK(res1)) {
41352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41353 }
41354 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41355 {
41356 PyThreadState* __tstate = wxPyBeginAllowThreads();
41357 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41358 wxPyEndAllowThreads(__tstate);
41359 if (PyErr_Occurred()) SWIG_fail;
41360 }
41361 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41362 return resultobj;
41363fail:
41364 return NULL;
41365}
41366
41367
41368SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41369 PyObject *resultobj = 0;
41370 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41371 wxDateTime *arg2 = 0 ;
41372 wxDateTime *arg3 = 0 ;
41373 void *argp1 = 0 ;
41374 int res1 = 0 ;
41375 void *argp2 = 0 ;
41376 int res2 = 0 ;
41377 void *argp3 = 0 ;
41378 int res3 = 0 ;
41379 PyObject * obj0 = 0 ;
41380 PyObject * obj1 = 0 ;
41381 PyObject * obj2 = 0 ;
41382 char * kwnames[] = {
41383 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41384 };
41385
41386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41388 if (!SWIG_IsOK(res1)) {
41389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41390 }
41391 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41393 if (!SWIG_IsOK(res2)) {
41394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41395 }
41396 if (!argp2) {
41397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41398 }
41399 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41400 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41401 if (!SWIG_IsOK(res3)) {
41402 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41403 }
41404 if (!argp3) {
41405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41406 }
41407 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41408 {
41409 PyThreadState* __tstate = wxPyBeginAllowThreads();
41410 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41411 wxPyEndAllowThreads(__tstate);
41412 if (PyErr_Occurred()) SWIG_fail;
41413 }
41414 resultobj = SWIG_Py_Void();
41415 return resultobj;
41416fail:
41417 return NULL;
d55e5bfc
RD
41418}
41419
41420
554f62e9
RD
41421SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41422 PyObject *resultobj = 0;
41423 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41424 wxDateTime result;
41425 void *argp1 = 0 ;
41426 int res1 = 0 ;
41427 PyObject *swig_obj[1] ;
41428
41429 if (!args) SWIG_fail;
41430 swig_obj[0] = args;
41431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41432 if (!SWIG_IsOK(res1)) {
41433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41434 }
41435 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41436 {
41437 PyThreadState* __tstate = wxPyBeginAllowThreads();
41438 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41439 wxPyEndAllowThreads(__tstate);
41440 if (PyErr_Occurred()) SWIG_fail;
41441 }
41442 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41443 return resultobj;
41444fail:
41445 return NULL;
d55e5bfc
RD
41446}
41447
41448
554f62e9
RD
41449SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41450 PyObject *resultobj = 0;
41451 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41452 wxDateTime result;
41453 void *argp1 = 0 ;
41454 int res1 = 0 ;
41455 PyObject *swig_obj[1] ;
41456
41457 if (!args) SWIG_fail;
41458 swig_obj[0] = args;
41459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41460 if (!SWIG_IsOK(res1)) {
41461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41462 }
41463 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41464 {
41465 PyThreadState* __tstate = wxPyBeginAllowThreads();
41466 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41467 wxPyEndAllowThreads(__tstate);
41468 if (PyErr_Occurred()) SWIG_fail;
41469 }
41470 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41471 return resultobj;
41472fail:
41473 return NULL;
d55e5bfc
RD
41474}
41475
41476
554f62e9
RD
41477SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41478 PyObject *obj;
41479 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41480 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41481 return SWIG_Py_Void();
d55e5bfc
RD
41482}
41483
554f62e9
RD
41484SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41485 return SWIG_Python_InitShadowInstance(args);
41486}
d55e5bfc 41487
704eda0c
RD
41488SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41489 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41490 return 1;
41491}
41492
41493
41494SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41495 PyObject *pyobj = 0;
41496
41497 {
41498#if wxUSE_UNICODE
41499 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41500#else
41501 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41502#endif
41503 }
41504 return pyobj;
41505}
41506
41507
41508SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41509 PyObject *resultobj = 0;
41510 wxWindow *arg1 = (wxWindow *) 0 ;
41511 int arg2 ;
41512 wxString *arg3 = 0 ;
41513 wxString *arg4 = 0 ;
41514 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41515 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41516 wxSize const &arg6_defvalue = wxDefaultSize ;
41517 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41518 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41519 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41520 wxString *arg8 = (wxString *) &arg8_defvalue ;
41521 wxHyperlinkCtrl *result = 0 ;
41522 void *argp1 = 0 ;
41523 int res1 = 0 ;
41524 int val2 ;
41525 int ecode2 = 0 ;
41526 bool temp3 = false ;
41527 bool temp4 = false ;
41528 wxPoint temp5 ;
41529 wxSize temp6 ;
41530 long val7 ;
41531 int ecode7 = 0 ;
41532 bool temp8 = false ;
41533 PyObject * obj0 = 0 ;
41534 PyObject * obj1 = 0 ;
41535 PyObject * obj2 = 0 ;
41536 PyObject * obj3 = 0 ;
41537 PyObject * obj4 = 0 ;
41538 PyObject * obj5 = 0 ;
41539 PyObject * obj6 = 0 ;
41540 PyObject * obj7 = 0 ;
41541 char * kwnames[] = {
41542 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41543 };
41544
41545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41547 if (!SWIG_IsOK(res1)) {
41548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41549 }
41550 arg1 = reinterpret_cast< wxWindow * >(argp1);
41551 ecode2 = SWIG_AsVal_int(obj1, &val2);
41552 if (!SWIG_IsOK(ecode2)) {
41553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41554 }
41555 arg2 = static_cast< int >(val2);
41556 {
41557 arg3 = wxString_in_helper(obj2);
41558 if (arg3 == NULL) SWIG_fail;
41559 temp3 = true;
41560 }
41561 {
41562 arg4 = wxString_in_helper(obj3);
41563 if (arg4 == NULL) SWIG_fail;
41564 temp4 = true;
41565 }
41566 if (obj4) {
41567 {
41568 arg5 = &temp5;
41569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41570 }
41571 }
41572 if (obj5) {
41573 {
41574 arg6 = &temp6;
41575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41576 }
41577 }
41578 if (obj6) {
41579 ecode7 = SWIG_AsVal_long(obj6, &val7);
41580 if (!SWIG_IsOK(ecode7)) {
41581 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41582 }
41583 arg7 = static_cast< long >(val7);
41584 }
41585 if (obj7) {
41586 {
41587 arg8 = wxString_in_helper(obj7);
41588 if (arg8 == NULL) SWIG_fail;
41589 temp8 = true;
41590 }
41591 }
41592 {
41593 if (!wxPyCheckForApp()) SWIG_fail;
41594 PyThreadState* __tstate = wxPyBeginAllowThreads();
41595 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41596 wxPyEndAllowThreads(__tstate);
41597 if (PyErr_Occurred()) SWIG_fail;
41598 }
41599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41600 {
41601 if (temp3)
41602 delete arg3;
41603 }
41604 {
41605 if (temp4)
41606 delete arg4;
41607 }
41608 {
41609 if (temp8)
41610 delete arg8;
41611 }
41612 return resultobj;
41613fail:
41614 {
41615 if (temp3)
41616 delete arg3;
41617 }
41618 {
41619 if (temp4)
41620 delete arg4;
41621 }
41622 {
41623 if (temp8)
41624 delete arg8;
41625 }
41626 return NULL;
41627}
41628
41629
41630SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41631 PyObject *resultobj = 0;
41632 wxHyperlinkCtrl *result = 0 ;
41633
41634 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41635 {
41636 if (!wxPyCheckForApp()) SWIG_fail;
41637 PyThreadState* __tstate = wxPyBeginAllowThreads();
41638 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41639 wxPyEndAllowThreads(__tstate);
41640 if (PyErr_Occurred()) SWIG_fail;
41641 }
41642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41643 return resultobj;
41644fail:
41645 return NULL;
41646}
41647
41648
41649SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41650 PyObject *resultobj = 0;
41651 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41652 wxWindow *arg2 = (wxWindow *) 0 ;
41653 int arg3 ;
41654 wxString *arg4 = 0 ;
41655 wxString *arg5 = 0 ;
41656 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41657 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41658 wxSize const &arg7_defvalue = wxDefaultSize ;
41659 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41660 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41661 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41662 wxString *arg9 = (wxString *) &arg9_defvalue ;
41663 bool result;
41664 void *argp1 = 0 ;
41665 int res1 = 0 ;
41666 void *argp2 = 0 ;
41667 int res2 = 0 ;
41668 int val3 ;
41669 int ecode3 = 0 ;
41670 bool temp4 = false ;
41671 bool temp5 = false ;
41672 wxPoint temp6 ;
41673 wxSize temp7 ;
41674 long val8 ;
41675 int ecode8 = 0 ;
41676 bool temp9 = false ;
41677 PyObject * obj0 = 0 ;
41678 PyObject * obj1 = 0 ;
41679 PyObject * obj2 = 0 ;
41680 PyObject * obj3 = 0 ;
41681 PyObject * obj4 = 0 ;
41682 PyObject * obj5 = 0 ;
41683 PyObject * obj6 = 0 ;
41684 PyObject * obj7 = 0 ;
41685 PyObject * obj8 = 0 ;
41686 char * kwnames[] = {
41687 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41688 };
41689
41690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41692 if (!SWIG_IsOK(res1)) {
41693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41694 }
41695 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41696 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41697 if (!SWIG_IsOK(res2)) {
41698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41699 }
41700 arg2 = reinterpret_cast< wxWindow * >(argp2);
41701 ecode3 = SWIG_AsVal_int(obj2, &val3);
41702 if (!SWIG_IsOK(ecode3)) {
41703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41704 }
41705 arg3 = static_cast< int >(val3);
41706 {
41707 arg4 = wxString_in_helper(obj3);
41708 if (arg4 == NULL) SWIG_fail;
41709 temp4 = true;
41710 }
41711 {
41712 arg5 = wxString_in_helper(obj4);
41713 if (arg5 == NULL) SWIG_fail;
41714 temp5 = true;
41715 }
41716 if (obj5) {
41717 {
41718 arg6 = &temp6;
41719 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41720 }
41721 }
41722 if (obj6) {
41723 {
41724 arg7 = &temp7;
41725 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41726 }
41727 }
41728 if (obj7) {
41729 ecode8 = SWIG_AsVal_long(obj7, &val8);
41730 if (!SWIG_IsOK(ecode8)) {
41731 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41732 }
41733 arg8 = static_cast< long >(val8);
41734 }
41735 if (obj8) {
41736 {
41737 arg9 = wxString_in_helper(obj8);
41738 if (arg9 == NULL) SWIG_fail;
41739 temp9 = true;
41740 }
41741 }
41742 {
41743 PyThreadState* __tstate = wxPyBeginAllowThreads();
41744 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41745 wxPyEndAllowThreads(__tstate);
41746 if (PyErr_Occurred()) SWIG_fail;
41747 }
41748 {
41749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41750 }
41751 {
41752 if (temp4)
41753 delete arg4;
41754 }
41755 {
41756 if (temp5)
41757 delete arg5;
41758 }
41759 {
41760 if (temp9)
41761 delete arg9;
41762 }
41763 return resultobj;
41764fail:
41765 {
41766 if (temp4)
41767 delete arg4;
41768 }
41769 {
41770 if (temp5)
41771 delete arg5;
41772 }
41773 {
41774 if (temp9)
41775 delete arg9;
41776 }
41777 return NULL;
41778}
41779
41780
41781SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41782 PyObject *resultobj = 0;
41783 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41784 wxColour 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_wxHyperlinkCtrl, 0 | 0 );
41792 if (!SWIG_IsOK(res1)) {
41793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41794 }
41795 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41796 {
41797 PyThreadState* __tstate = wxPyBeginAllowThreads();
41798 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
41799 wxPyEndAllowThreads(__tstate);
41800 if (PyErr_Occurred()) SWIG_fail;
41801 }
41802 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41803 return resultobj;
41804fail:
41805 return NULL;
41806}
41807
41808
41809SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41810 PyObject *resultobj = 0;
41811 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41812 wxColour *arg2 = 0 ;
41813 void *argp1 = 0 ;
41814 int res1 = 0 ;
41815 wxColour temp2 ;
41816 PyObject * obj0 = 0 ;
41817 PyObject * obj1 = 0 ;
41818 char * kwnames[] = {
41819 (char *) "self",(char *) "colour", NULL
41820 };
41821
41822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
41823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41824 if (!SWIG_IsOK(res1)) {
41825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41826 }
41827 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41828 {
41829 arg2 = &temp2;
41830 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41831 }
41832 {
41833 PyThreadState* __tstate = wxPyBeginAllowThreads();
41834 (arg1)->SetHoverColour((wxColour const &)*arg2);
41835 wxPyEndAllowThreads(__tstate);
41836 if (PyErr_Occurred()) SWIG_fail;
41837 }
41838 resultobj = SWIG_Py_Void();
41839 return resultobj;
41840fail:
41841 return NULL;
41842}
41843
41844
41845SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41846 PyObject *resultobj = 0;
41847 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41848 wxColour result;
41849 void *argp1 = 0 ;
41850 int res1 = 0 ;
41851 PyObject *swig_obj[1] ;
41852
41853 if (!args) SWIG_fail;
41854 swig_obj[0] = args;
41855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41856 if (!SWIG_IsOK(res1)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41858 }
41859 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41860 {
41861 PyThreadState* __tstate = wxPyBeginAllowThreads();
41862 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
41863 wxPyEndAllowThreads(__tstate);
41864 if (PyErr_Occurred()) SWIG_fail;
41865 }
41866 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41867 return resultobj;
41868fail:
41869 return NULL;
41870}
41871
41872
41873SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41874 PyObject *resultobj = 0;
41875 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41876 wxColour *arg2 = 0 ;
41877 void *argp1 = 0 ;
41878 int res1 = 0 ;
41879 wxColour temp2 ;
41880 PyObject * obj0 = 0 ;
41881 PyObject * obj1 = 0 ;
41882 char * kwnames[] = {
41883 (char *) "self",(char *) "colour", NULL
41884 };
41885
41886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
41887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41888 if (!SWIG_IsOK(res1)) {
41889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41890 }
41891 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41892 {
41893 arg2 = &temp2;
41894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41895 }
41896 {
41897 PyThreadState* __tstate = wxPyBeginAllowThreads();
41898 (arg1)->SetNormalColour((wxColour const &)*arg2);
41899 wxPyEndAllowThreads(__tstate);
41900 if (PyErr_Occurred()) SWIG_fail;
41901 }
41902 resultobj = SWIG_Py_Void();
41903 return resultobj;
41904fail:
41905 return NULL;
41906}
41907
41908
41909SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41910 PyObject *resultobj = 0;
41911 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41912 wxColour result;
41913 void *argp1 = 0 ;
41914 int res1 = 0 ;
41915 PyObject *swig_obj[1] ;
41916
41917 if (!args) SWIG_fail;
41918 swig_obj[0] = args;
41919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41920 if (!SWIG_IsOK(res1)) {
41921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41922 }
41923 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41924 {
41925 PyThreadState* __tstate = wxPyBeginAllowThreads();
41926 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
41927 wxPyEndAllowThreads(__tstate);
41928 if (PyErr_Occurred()) SWIG_fail;
41929 }
41930 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41931 return resultobj;
41932fail:
41933 return NULL;
41934}
41935
41936
41937SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41938 PyObject *resultobj = 0;
41939 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41940 wxColour *arg2 = 0 ;
41941 void *argp1 = 0 ;
41942 int res1 = 0 ;
41943 wxColour temp2 ;
41944 PyObject * obj0 = 0 ;
41945 PyObject * obj1 = 0 ;
41946 char * kwnames[] = {
41947 (char *) "self",(char *) "colour", NULL
41948 };
41949
41950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
41951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41952 if (!SWIG_IsOK(res1)) {
41953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41954 }
41955 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41956 {
41957 arg2 = &temp2;
41958 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41959 }
41960 {
41961 PyThreadState* __tstate = wxPyBeginAllowThreads();
41962 (arg1)->SetVisitedColour((wxColour const &)*arg2);
41963 wxPyEndAllowThreads(__tstate);
41964 if (PyErr_Occurred()) SWIG_fail;
41965 }
41966 resultobj = SWIG_Py_Void();
41967 return resultobj;
41968fail:
41969 return NULL;
41970}
41971
41972
41973SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41974 PyObject *resultobj = 0;
41975 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41976 wxString result;
41977 void *argp1 = 0 ;
41978 int res1 = 0 ;
41979 PyObject *swig_obj[1] ;
41980
41981 if (!args) SWIG_fail;
41982 swig_obj[0] = args;
41983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41984 if (!SWIG_IsOK(res1)) {
41985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41986 }
41987 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41988 {
41989 PyThreadState* __tstate = wxPyBeginAllowThreads();
41990 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
41991 wxPyEndAllowThreads(__tstate);
41992 if (PyErr_Occurred()) SWIG_fail;
41993 }
41994 {
41995#if wxUSE_UNICODE
41996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
41997#else
41998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
41999#endif
42000 }
42001 return resultobj;
42002fail:
42003 return NULL;
42004}
42005
42006
42007SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42008 PyObject *resultobj = 0;
42009 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42010 wxString *arg2 = 0 ;
42011 void *argp1 = 0 ;
42012 int res1 = 0 ;
42013 bool temp2 = false ;
42014 PyObject * obj0 = 0 ;
42015 PyObject * obj1 = 0 ;
42016 char * kwnames[] = {
42017 (char *) "self",(char *) "url", NULL
42018 };
42019
42020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42022 if (!SWIG_IsOK(res1)) {
42023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42024 }
42025 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42026 {
42027 arg2 = wxString_in_helper(obj1);
42028 if (arg2 == NULL) SWIG_fail;
42029 temp2 = true;
42030 }
42031 {
42032 PyThreadState* __tstate = wxPyBeginAllowThreads();
42033 (arg1)->SetURL((wxString const &)*arg2);
42034 wxPyEndAllowThreads(__tstate);
42035 if (PyErr_Occurred()) SWIG_fail;
42036 }
42037 resultobj = SWIG_Py_Void();
42038 {
42039 if (temp2)
42040 delete arg2;
42041 }
42042 return resultobj;
42043fail:
42044 {
42045 if (temp2)
42046 delete arg2;
42047 }
42048 return NULL;
42049}
42050
42051
42052SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42053 PyObject *resultobj = 0;
42054 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42055 bool arg2 = (bool) true ;
42056 void *argp1 = 0 ;
42057 int res1 = 0 ;
42058 bool val2 ;
42059 int ecode2 = 0 ;
42060 PyObject * obj0 = 0 ;
42061 PyObject * obj1 = 0 ;
42062 char * kwnames[] = {
42063 (char *) "self",(char *) "visited", NULL
42064 };
42065
42066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42068 if (!SWIG_IsOK(res1)) {
42069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42070 }
42071 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42072 if (obj1) {
42073 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42074 if (!SWIG_IsOK(ecode2)) {
42075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42076 }
42077 arg2 = static_cast< bool >(val2);
42078 }
42079 {
42080 PyThreadState* __tstate = wxPyBeginAllowThreads();
42081 (arg1)->SetVisited(arg2);
42082 wxPyEndAllowThreads(__tstate);
42083 if (PyErr_Occurred()) SWIG_fail;
42084 }
42085 resultobj = SWIG_Py_Void();
42086 return resultobj;
42087fail:
42088 return NULL;
42089}
42090
42091
42092SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42093 PyObject *resultobj = 0;
42094 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42095 bool result;
42096 void *argp1 = 0 ;
42097 int res1 = 0 ;
42098 PyObject *swig_obj[1] ;
42099
42100 if (!args) SWIG_fail;
42101 swig_obj[0] = args;
42102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42103 if (!SWIG_IsOK(res1)) {
42104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42105 }
42106 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42107 {
42108 PyThreadState* __tstate = wxPyBeginAllowThreads();
42109 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42110 wxPyEndAllowThreads(__tstate);
42111 if (PyErr_Occurred()) SWIG_fail;
42112 }
42113 {
42114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42115 }
42116 return resultobj;
42117fail:
42118 return NULL;
42119}
42120
42121
42122SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42123 PyObject *obj;
42124 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42125 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42126 return SWIG_Py_Void();
42127}
42128
42129SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42130 return SWIG_Python_InitShadowInstance(args);
42131}
42132
42133SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42134 PyObject *resultobj = 0;
42135 wxObject *arg1 = (wxObject *) 0 ;
42136 int arg2 ;
42137 wxString *arg3 = 0 ;
42138 wxHyperlinkEvent *result = 0 ;
42139 void *argp1 = 0 ;
42140 int res1 = 0 ;
42141 int val2 ;
42142 int ecode2 = 0 ;
42143 bool temp3 = false ;
42144 PyObject * obj0 = 0 ;
42145 PyObject * obj1 = 0 ;
42146 PyObject * obj2 = 0 ;
42147 char * kwnames[] = {
42148 (char *) "generator",(char *) "id",(char *) "url", NULL
42149 };
42150
42151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42153 if (!SWIG_IsOK(res1)) {
42154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42155 }
42156 arg1 = reinterpret_cast< wxObject * >(argp1);
42157 ecode2 = SWIG_AsVal_int(obj1, &val2);
42158 if (!SWIG_IsOK(ecode2)) {
42159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42160 }
42161 arg2 = static_cast< int >(val2);
42162 {
42163 arg3 = wxString_in_helper(obj2);
42164 if (arg3 == NULL) SWIG_fail;
42165 temp3 = true;
42166 }
42167 {
42168 PyThreadState* __tstate = wxPyBeginAllowThreads();
42169 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42170 wxPyEndAllowThreads(__tstate);
42171 if (PyErr_Occurred()) SWIG_fail;
42172 }
42173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42174 {
42175 if (temp3)
42176 delete arg3;
42177 }
42178 return resultobj;
42179fail:
42180 {
42181 if (temp3)
42182 delete arg3;
42183 }
42184 return NULL;
42185}
42186
42187
42188SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42189 PyObject *resultobj = 0;
42190 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42191 wxString result;
42192 void *argp1 = 0 ;
42193 int res1 = 0 ;
42194 PyObject *swig_obj[1] ;
42195
42196 if (!args) SWIG_fail;
42197 swig_obj[0] = args;
42198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42199 if (!SWIG_IsOK(res1)) {
42200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42201 }
42202 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42203 {
42204 PyThreadState* __tstate = wxPyBeginAllowThreads();
42205 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42206 wxPyEndAllowThreads(__tstate);
42207 if (PyErr_Occurred()) SWIG_fail;
42208 }
42209 {
42210#if wxUSE_UNICODE
42211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42212#else
42213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42214#endif
42215 }
42216 return resultobj;
42217fail:
42218 return NULL;
42219}
42220
42221
42222SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42223 PyObject *resultobj = 0;
42224 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42225 wxString *arg2 = 0 ;
42226 void *argp1 = 0 ;
42227 int res1 = 0 ;
42228 bool temp2 = false ;
42229 PyObject * obj0 = 0 ;
42230 PyObject * obj1 = 0 ;
42231 char * kwnames[] = {
42232 (char *) "self",(char *) "url", NULL
42233 };
42234
42235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42237 if (!SWIG_IsOK(res1)) {
42238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42239 }
42240 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42241 {
42242 arg2 = wxString_in_helper(obj1);
42243 if (arg2 == NULL) SWIG_fail;
42244 temp2 = true;
42245 }
42246 {
42247 PyThreadState* __tstate = wxPyBeginAllowThreads();
42248 (arg1)->SetURL((wxString const &)*arg2);
42249 wxPyEndAllowThreads(__tstate);
42250 if (PyErr_Occurred()) SWIG_fail;
42251 }
42252 resultobj = SWIG_Py_Void();
42253 {
42254 if (temp2)
42255 delete arg2;
42256 }
42257 return resultobj;
42258fail:
42259 {
42260 if (temp2)
42261 delete arg2;
42262 }
42263 return NULL;
42264}
42265
42266
42267SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42268 PyObject *obj;
42269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42270 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42271 return SWIG_Py_Void();
42272}
42273
42274SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42275 return SWIG_Python_InitShadowInstance(args);
42276}
42277
b850e7f3
RD
42278SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42279 PyObject *resultobj = 0;
42280 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42281 wxWindow *arg2 = (wxWindow *) 0 ;
42282 int arg3 ;
42283 wxString const &arg4_defvalue = wxEmptyString ;
42284 wxString *arg4 = (wxString *) &arg4_defvalue ;
42285 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42286 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42287 wxSize const &arg6_defvalue = wxDefaultSize ;
42288 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42289 long arg7 = (long) 0 ;
42290 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42291 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42292 wxString const &arg9_defvalue = wxButtonNameStr ;
42293 wxString *arg9 = (wxString *) &arg9_defvalue ;
42294 bool result;
42295 void *argp1 = 0 ;
42296 int res1 = 0 ;
42297 void *argp2 = 0 ;
42298 int res2 = 0 ;
42299 int val3 ;
42300 int ecode3 = 0 ;
42301 bool temp4 = false ;
42302 wxPoint temp5 ;
42303 wxSize temp6 ;
42304 long val7 ;
42305 int ecode7 = 0 ;
42306 void *argp8 = 0 ;
42307 int res8 = 0 ;
42308 bool temp9 = false ;
42309 PyObject * obj0 = 0 ;
42310 PyObject * obj1 = 0 ;
42311 PyObject * obj2 = 0 ;
42312 PyObject * obj3 = 0 ;
42313 PyObject * obj4 = 0 ;
42314 PyObject * obj5 = 0 ;
42315 PyObject * obj6 = 0 ;
42316 PyObject * obj7 = 0 ;
42317 PyObject * obj8 = 0 ;
42318 char * kwnames[] = {
42319 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42320 };
42321
42322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42324 if (!SWIG_IsOK(res1)) {
42325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42326 }
42327 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42328 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42329 if (!SWIG_IsOK(res2)) {
42330 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42331 }
42332 arg2 = reinterpret_cast< wxWindow * >(argp2);
42333 ecode3 = SWIG_AsVal_int(obj2, &val3);
42334 if (!SWIG_IsOK(ecode3)) {
42335 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42336 }
42337 arg3 = static_cast< int >(val3);
42338 if (obj3) {
42339 {
42340 arg4 = wxString_in_helper(obj3);
42341 if (arg4 == NULL) SWIG_fail;
42342 temp4 = true;
42343 }
42344 }
42345 if (obj4) {
42346 {
42347 arg5 = &temp5;
42348 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42349 }
42350 }
42351 if (obj5) {
42352 {
42353 arg6 = &temp6;
42354 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42355 }
42356 }
42357 if (obj6) {
42358 ecode7 = SWIG_AsVal_long(obj6, &val7);
42359 if (!SWIG_IsOK(ecode7)) {
42360 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42361 }
42362 arg7 = static_cast< long >(val7);
42363 }
42364 if (obj7) {
42365 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42366 if (!SWIG_IsOK(res8)) {
42367 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42368 }
42369 if (!argp8) {
42370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42371 }
42372 arg8 = reinterpret_cast< wxValidator * >(argp8);
42373 }
42374 if (obj8) {
42375 {
42376 arg9 = wxString_in_helper(obj8);
42377 if (arg9 == NULL) SWIG_fail;
42378 temp9 = true;
42379 }
42380 }
42381 {
42382 PyThreadState* __tstate = wxPyBeginAllowThreads();
42383 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42384 wxPyEndAllowThreads(__tstate);
42385 if (PyErr_Occurred()) SWIG_fail;
42386 }
42387 {
42388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42389 }
42390 {
42391 if (temp4)
42392 delete arg4;
42393 }
42394 {
42395 if (temp9)
42396 delete arg9;
42397 }
42398 return resultobj;
42399fail:
42400 {
42401 if (temp4)
42402 delete arg4;
42403 }
42404 {
42405 if (temp9)
42406 delete arg9;
42407 }
42408 return NULL;
42409}
42410
42411
42412SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42413 PyObject *resultobj = 0;
42414 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42415 int arg2 ;
42416 void *argp1 = 0 ;
42417 int res1 = 0 ;
42418 int val2 ;
42419 int ecode2 = 0 ;
42420 PyObject * obj0 = 0 ;
42421 PyObject * obj1 = 0 ;
42422 char * kwnames[] = {
42423 (char *) "self",(char *) "newmargin", NULL
42424 };
42425
42426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42428 if (!SWIG_IsOK(res1)) {
42429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42430 }
42431 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42432 ecode2 = SWIG_AsVal_int(obj1, &val2);
42433 if (!SWIG_IsOK(ecode2)) {
42434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42435 }
42436 arg2 = static_cast< int >(val2);
42437 {
42438 PyThreadState* __tstate = wxPyBeginAllowThreads();
42439 (arg1)->SetInternalMargin(arg2);
42440 wxPyEndAllowThreads(__tstate);
42441 if (PyErr_Occurred()) SWIG_fail;
42442 }
42443 resultobj = SWIG_Py_Void();
42444 return resultobj;
42445fail:
42446 return NULL;
42447}
42448
42449
42450SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42451 PyObject *resultobj = 0;
42452 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42453 int result;
42454 void *argp1 = 0 ;
42455 int res1 = 0 ;
42456 PyObject *swig_obj[1] ;
42457
42458 if (!args) SWIG_fail;
42459 swig_obj[0] = args;
42460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42461 if (!SWIG_IsOK(res1)) {
42462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42463 }
42464 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42465 {
42466 PyThreadState* __tstate = wxPyBeginAllowThreads();
42467 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42468 wxPyEndAllowThreads(__tstate);
42469 if (PyErr_Occurred()) SWIG_fail;
42470 }
42471 resultobj = SWIG_From_int(static_cast< int >(result));
42472 return resultobj;
42473fail:
42474 return NULL;
42475}
42476
42477
42478SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42479 PyObject *resultobj = 0;
42480 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42481 int arg2 ;
42482 void *argp1 = 0 ;
42483 int res1 = 0 ;
42484 int val2 ;
42485 int ecode2 = 0 ;
42486 PyObject * obj0 = 0 ;
42487 PyObject * obj1 = 0 ;
42488 char * kwnames[] = {
42489 (char *) "self",(char *) "prop", NULL
42490 };
42491
42492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42494 if (!SWIG_IsOK(res1)) {
42495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42496 }
42497 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42498 ecode2 = SWIG_AsVal_int(obj1, &val2);
42499 if (!SWIG_IsOK(ecode2)) {
42500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42501 }
42502 arg2 = static_cast< int >(val2);
42503 {
42504 PyThreadState* __tstate = wxPyBeginAllowThreads();
42505 (arg1)->SetTextCtrlProportion(arg2);
42506 wxPyEndAllowThreads(__tstate);
42507 if (PyErr_Occurred()) SWIG_fail;
42508 }
42509 resultobj = SWIG_Py_Void();
42510 return resultobj;
42511fail:
42512 return NULL;
42513}
42514
42515
42516SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42517 PyObject *resultobj = 0;
42518 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42519 int result;
42520 void *argp1 = 0 ;
42521 int res1 = 0 ;
42522 PyObject *swig_obj[1] ;
42523
42524 if (!args) SWIG_fail;
42525 swig_obj[0] = args;
42526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42527 if (!SWIG_IsOK(res1)) {
42528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42529 }
42530 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42531 {
42532 PyThreadState* __tstate = wxPyBeginAllowThreads();
42533 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42534 wxPyEndAllowThreads(__tstate);
42535 if (PyErr_Occurred()) SWIG_fail;
42536 }
42537 resultobj = SWIG_From_int(static_cast< int >(result));
42538 return resultobj;
42539fail:
42540 return NULL;
42541}
42542
42543
42544SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42545 PyObject *resultobj = 0;
42546 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42547 bool result;
42548 void *argp1 = 0 ;
42549 int res1 = 0 ;
42550 PyObject *swig_obj[1] ;
42551
42552 if (!args) SWIG_fail;
42553 swig_obj[0] = args;
42554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42555 if (!SWIG_IsOK(res1)) {
42556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42557 }
42558 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42559 {
42560 PyThreadState* __tstate = wxPyBeginAllowThreads();
42561 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
42562 wxPyEndAllowThreads(__tstate);
42563 if (PyErr_Occurred()) SWIG_fail;
42564 }
42565 {
42566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42567 }
42568 return resultobj;
42569fail:
42570 return NULL;
42571}
42572
42573
42574SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42575 PyObject *resultobj = 0;
42576 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42577 wxTextCtrl *result = 0 ;
42578 void *argp1 = 0 ;
42579 int res1 = 0 ;
42580 PyObject *swig_obj[1] ;
42581
42582 if (!args) SWIG_fail;
42583 swig_obj[0] = args;
42584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42585 if (!SWIG_IsOK(res1)) {
42586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42587 }
42588 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42589 {
42590 PyThreadState* __tstate = wxPyBeginAllowThreads();
42591 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
42592 wxPyEndAllowThreads(__tstate);
42593 if (PyErr_Occurred()) SWIG_fail;
42594 }
42595 {
42596 resultobj = wxPyMake_wxObject(result, 0);
42597 }
42598 return resultobj;
42599fail:
42600 return NULL;
42601}
42602
42603
42604SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42605 PyObject *resultobj = 0;
42606 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42607 wxControl *result = 0 ;
42608 void *argp1 = 0 ;
42609 int res1 = 0 ;
42610 PyObject *swig_obj[1] ;
42611
42612 if (!args) SWIG_fail;
42613 swig_obj[0] = args;
42614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42615 if (!SWIG_IsOK(res1)) {
42616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42617 }
42618 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42619 {
42620 PyThreadState* __tstate = wxPyBeginAllowThreads();
42621 result = (wxControl *)(arg1)->GetPickerCtrl();
42622 wxPyEndAllowThreads(__tstate);
42623 if (PyErr_Occurred()) SWIG_fail;
42624 }
42625 {
42626 resultobj = wxPyMake_wxObject(result, 0);
42627 }
42628 return resultobj;
42629fail:
42630 return NULL;
42631}
42632
42633
42634SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42635 PyObject *obj;
42636 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42637 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
42638 return SWIG_Py_Void();
42639}
42640
42641SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
42642 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
42643 return 1;
42644}
42645
42646
42647SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
42648 PyObject *pyobj = 0;
42649
42650 {
42651#if wxUSE_UNICODE
42652 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
42653#else
42654 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
42655#endif
42656 }
42657 return pyobj;
42658}
42659
42660
42661SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42662 PyObject *resultobj = 0;
42663 wxWindow *arg1 = (wxWindow *) 0 ;
42664 int arg2 = (int) -1 ;
42665 wxColour const &arg3_defvalue = *wxBLACK ;
42666 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
42667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
42668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
42669 wxSize const &arg5_defvalue = wxDefaultSize ;
42670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
42671 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
42672 wxValidator const &arg7_defvalue = wxDefaultValidator ;
42673 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
42674 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
42675 wxString *arg8 = (wxString *) &arg8_defvalue ;
42676 wxColourPickerCtrl *result = 0 ;
42677 void *argp1 = 0 ;
42678 int res1 = 0 ;
42679 int val2 ;
42680 int ecode2 = 0 ;
42681 wxColour temp3 ;
42682 wxPoint temp4 ;
42683 wxSize temp5 ;
42684 long val6 ;
42685 int ecode6 = 0 ;
42686 void *argp7 = 0 ;
42687 int res7 = 0 ;
42688 bool temp8 = false ;
42689 PyObject * obj0 = 0 ;
42690 PyObject * obj1 = 0 ;
42691 PyObject * obj2 = 0 ;
42692 PyObject * obj3 = 0 ;
42693 PyObject * obj4 = 0 ;
42694 PyObject * obj5 = 0 ;
42695 PyObject * obj6 = 0 ;
42696 PyObject * obj7 = 0 ;
42697 char * kwnames[] = {
42698 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42699 };
42700
42701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42703 if (!SWIG_IsOK(res1)) {
42704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42705 }
42706 arg1 = reinterpret_cast< wxWindow * >(argp1);
42707 if (obj1) {
42708 ecode2 = SWIG_AsVal_int(obj1, &val2);
42709 if (!SWIG_IsOK(ecode2)) {
42710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42711 }
42712 arg2 = static_cast< int >(val2);
42713 }
42714 if (obj2) {
42715 {
42716 arg3 = &temp3;
42717 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
42718 }
42719 }
42720 if (obj3) {
42721 {
42722 arg4 = &temp4;
42723 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
42724 }
42725 }
42726 if (obj4) {
42727 {
42728 arg5 = &temp5;
42729 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
42730 }
42731 }
42732 if (obj5) {
42733 ecode6 = SWIG_AsVal_long(obj5, &val6);
42734 if (!SWIG_IsOK(ecode6)) {
42735 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42736 }
42737 arg6 = static_cast< long >(val6);
42738 }
42739 if (obj6) {
42740 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
42741 if (!SWIG_IsOK(res7)) {
42742 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42743 }
42744 if (!argp7) {
42745 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42746 }
42747 arg7 = reinterpret_cast< wxValidator * >(argp7);
42748 }
42749 if (obj7) {
42750 {
42751 arg8 = wxString_in_helper(obj7);
42752 if (arg8 == NULL) SWIG_fail;
42753 temp8 = true;
42754 }
42755 }
42756 {
42757 if (!wxPyCheckForApp()) SWIG_fail;
42758 PyThreadState* __tstate = wxPyBeginAllowThreads();
42759 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
42760 wxPyEndAllowThreads(__tstate);
42761 if (PyErr_Occurred()) SWIG_fail;
42762 }
42763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
42764 {
42765 if (temp8)
42766 delete arg8;
42767 }
42768 return resultobj;
42769fail:
42770 {
42771 if (temp8)
42772 delete arg8;
42773 }
42774 return NULL;
42775}
42776
42777
42778SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42779 PyObject *resultobj = 0;
42780 wxColourPickerCtrl *result = 0 ;
42781
42782 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
42783 {
42784 if (!wxPyCheckForApp()) SWIG_fail;
42785 PyThreadState* __tstate = wxPyBeginAllowThreads();
42786 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
42787 wxPyEndAllowThreads(__tstate);
42788 if (PyErr_Occurred()) SWIG_fail;
42789 }
42790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
42791 return resultobj;
42792fail:
42793 return NULL;
42794}
42795
42796
42797SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42798 PyObject *resultobj = 0;
42799 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42800 wxWindow *arg2 = (wxWindow *) 0 ;
42801 int arg3 ;
42802 wxColour const &arg4_defvalue = *wxBLACK ;
42803 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
42804 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42805 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42806 wxSize const &arg6_defvalue = wxDefaultSize ;
42807 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42808 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
42809 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42810 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42811 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
42812 wxString *arg9 = (wxString *) &arg9_defvalue ;
42813 bool result;
42814 void *argp1 = 0 ;
42815 int res1 = 0 ;
42816 void *argp2 = 0 ;
42817 int res2 = 0 ;
42818 int val3 ;
42819 int ecode3 = 0 ;
42820 wxColour temp4 ;
42821 wxPoint temp5 ;
42822 wxSize temp6 ;
42823 long val7 ;
42824 int ecode7 = 0 ;
42825 void *argp8 = 0 ;
42826 int res8 = 0 ;
42827 bool temp9 = false ;
42828 PyObject * obj0 = 0 ;
42829 PyObject * obj1 = 0 ;
42830 PyObject * obj2 = 0 ;
42831 PyObject * obj3 = 0 ;
42832 PyObject * obj4 = 0 ;
42833 PyObject * obj5 = 0 ;
42834 PyObject * obj6 = 0 ;
42835 PyObject * obj7 = 0 ;
42836 PyObject * obj8 = 0 ;
42837 char * kwnames[] = {
42838 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42839 };
42840
42841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42843 if (!SWIG_IsOK(res1)) {
42844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42845 }
42846 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42848 if (!SWIG_IsOK(res2)) {
42849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42850 }
42851 arg2 = reinterpret_cast< wxWindow * >(argp2);
42852 ecode3 = SWIG_AsVal_int(obj2, &val3);
42853 if (!SWIG_IsOK(ecode3)) {
42854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42855 }
42856 arg3 = static_cast< int >(val3);
42857 if (obj3) {
42858 {
42859 arg4 = &temp4;
42860 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
42861 }
42862 }
42863 if (obj4) {
42864 {
42865 arg5 = &temp5;
42866 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42867 }
42868 }
42869 if (obj5) {
42870 {
42871 arg6 = &temp6;
42872 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42873 }
42874 }
42875 if (obj6) {
42876 ecode7 = SWIG_AsVal_long(obj6, &val7);
42877 if (!SWIG_IsOK(ecode7)) {
42878 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42879 }
42880 arg7 = static_cast< long >(val7);
42881 }
42882 if (obj7) {
42883 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42884 if (!SWIG_IsOK(res8)) {
42885 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42886 }
42887 if (!argp8) {
42888 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42889 }
42890 arg8 = reinterpret_cast< wxValidator * >(argp8);
42891 }
42892 if (obj8) {
42893 {
42894 arg9 = wxString_in_helper(obj8);
42895 if (arg9 == NULL) SWIG_fail;
42896 temp9 = true;
42897 }
42898 }
42899 {
42900 PyThreadState* __tstate = wxPyBeginAllowThreads();
42901 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42902 wxPyEndAllowThreads(__tstate);
42903 if (PyErr_Occurred()) SWIG_fail;
42904 }
42905 {
42906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42907 }
42908 {
42909 if (temp9)
42910 delete arg9;
42911 }
42912 return resultobj;
42913fail:
42914 {
42915 if (temp9)
42916 delete arg9;
42917 }
42918 return NULL;
42919}
42920
42921
42922SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42923 PyObject *resultobj = 0;
42924 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42925 wxColour result;
42926 void *argp1 = 0 ;
42927 int res1 = 0 ;
42928 PyObject *swig_obj[1] ;
42929
42930 if (!args) SWIG_fail;
42931 swig_obj[0] = args;
42932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42933 if (!SWIG_IsOK(res1)) {
42934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42935 }
42936 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42937 {
42938 PyThreadState* __tstate = wxPyBeginAllowThreads();
42939 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
42940 wxPyEndAllowThreads(__tstate);
42941 if (PyErr_Occurred()) SWIG_fail;
42942 }
42943 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42944 return resultobj;
42945fail:
42946 return NULL;
42947}
42948
42949
42950SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42951 PyObject *resultobj = 0;
42952 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42953 wxColour *arg2 = 0 ;
42954 void *argp1 = 0 ;
42955 int res1 = 0 ;
42956 wxColour temp2 ;
42957 PyObject * obj0 = 0 ;
42958 PyObject * obj1 = 0 ;
42959 char * kwnames[] = {
42960 (char *) "self",(char *) "col", NULL
42961 };
42962
42963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
42964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42965 if (!SWIG_IsOK(res1)) {
42966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42967 }
42968 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42969 {
42970 arg2 = &temp2;
42971 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42972 }
42973 {
42974 PyThreadState* __tstate = wxPyBeginAllowThreads();
42975 (arg1)->SetColour((wxColour const &)*arg2);
42976 wxPyEndAllowThreads(__tstate);
42977 if (PyErr_Occurred()) SWIG_fail;
42978 }
42979 resultobj = SWIG_Py_Void();
42980 return resultobj;
42981fail:
42982 return NULL;
42983}
42984
42985
42986SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42987 PyObject *obj;
42988 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42989 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
42990 return SWIG_Py_Void();
42991}
42992
42993SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42994 return SWIG_Python_InitShadowInstance(args);
42995}
42996
42997SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42998 PyObject *resultobj = 0;
42999 wxObject *arg1 = (wxObject *) 0 ;
43000 int arg2 ;
43001 wxColour *arg3 = 0 ;
43002 wxColourPickerEvent *result = 0 ;
43003 void *argp1 = 0 ;
43004 int res1 = 0 ;
43005 int val2 ;
43006 int ecode2 = 0 ;
43007 wxColour temp3 ;
43008 PyObject * obj0 = 0 ;
43009 PyObject * obj1 = 0 ;
43010 PyObject * obj2 = 0 ;
43011 char * kwnames[] = {
43012 (char *) "generator",(char *) "id",(char *) "col", NULL
43013 };
43014
43015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43017 if (!SWIG_IsOK(res1)) {
43018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43019 }
43020 arg1 = reinterpret_cast< wxObject * >(argp1);
43021 ecode2 = SWIG_AsVal_int(obj1, &val2);
43022 if (!SWIG_IsOK(ecode2)) {
43023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43024 }
43025 arg2 = static_cast< int >(val2);
43026 {
43027 arg3 = &temp3;
43028 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43029 }
43030 {
43031 PyThreadState* __tstate = wxPyBeginAllowThreads();
43032 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43033 wxPyEndAllowThreads(__tstate);
43034 if (PyErr_Occurred()) SWIG_fail;
43035 }
43036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43037 return resultobj;
43038fail:
43039 return NULL;
43040}
43041
43042
43043SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43044 PyObject *resultobj = 0;
43045 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43046 wxColour result;
43047 void *argp1 = 0 ;
43048 int res1 = 0 ;
43049 PyObject *swig_obj[1] ;
43050
43051 if (!args) SWIG_fail;
43052 swig_obj[0] = args;
43053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43054 if (!SWIG_IsOK(res1)) {
43055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43056 }
43057 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43058 {
43059 PyThreadState* __tstate = wxPyBeginAllowThreads();
43060 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43061 wxPyEndAllowThreads(__tstate);
43062 if (PyErr_Occurred()) SWIG_fail;
43063 }
43064 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43065 return resultobj;
43066fail:
43067 return NULL;
43068}
43069
43070
43071SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43072 PyObject *resultobj = 0;
43073 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43074 wxColour *arg2 = 0 ;
43075 void *argp1 = 0 ;
43076 int res1 = 0 ;
43077 wxColour temp2 ;
43078 PyObject * obj0 = 0 ;
43079 PyObject * obj1 = 0 ;
43080 char * kwnames[] = {
43081 (char *) "self",(char *) "c", NULL
43082 };
43083
43084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43086 if (!SWIG_IsOK(res1)) {
43087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43088 }
43089 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43090 {
43091 arg2 = &temp2;
43092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43093 }
43094 {
43095 PyThreadState* __tstate = wxPyBeginAllowThreads();
43096 (arg1)->SetColour((wxColour const &)*arg2);
43097 wxPyEndAllowThreads(__tstate);
43098 if (PyErr_Occurred()) SWIG_fail;
43099 }
43100 resultobj = SWIG_Py_Void();
43101 return resultobj;
43102fail:
43103 return NULL;
43104}
43105
43106
43107SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43108 PyObject *obj;
43109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43110 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43111 return SWIG_Py_Void();
43112}
43113
43114SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43115 return SWIG_Python_InitShadowInstance(args);
43116}
43117
43118SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43119 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43120 return 1;
43121}
43122
43123
43124SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43125 PyObject *pyobj = 0;
43126
43127 {
43128#if wxUSE_UNICODE
43129 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43130#else
43131 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43132#endif
43133 }
43134 return pyobj;
43135}
43136
43137
43138SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43139 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43140 return 1;
43141}
43142
43143
43144SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43145 PyObject *pyobj = 0;
43146
43147 {
43148#if wxUSE_UNICODE
43149 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43150#else
43151 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43152#endif
43153 }
43154 return pyobj;
43155}
43156
43157
43158SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43159 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43160 return 1;
43161}
43162
43163
43164SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43165 PyObject *pyobj = 0;
43166
43167 {
43168#if wxUSE_UNICODE
43169 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43170#else
43171 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43172#endif
43173 }
43174 return pyobj;
43175}
43176
43177
43178SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43179 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43180 return 1;
43181}
43182
43183
43184SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43185 PyObject *pyobj = 0;
43186
43187 {
43188#if wxUSE_UNICODE
43189 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43190#else
43191 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43192#endif
43193 }
43194 return pyobj;
43195}
43196
43197
43198SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43199 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43200 return 1;
43201}
43202
43203
43204SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43205 PyObject *pyobj = 0;
43206
43207 {
43208#if wxUSE_UNICODE
43209 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43210#else
43211 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43212#endif
43213 }
43214 return pyobj;
43215}
43216
43217
43218SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43219 PyObject *resultobj = 0;
43220 wxWindow *arg1 = (wxWindow *) 0 ;
43221 int arg2 = (int) -1 ;
43222 wxString const &arg3_defvalue = wxPyEmptyString ;
43223 wxString *arg3 = (wxString *) &arg3_defvalue ;
43224 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43225 wxString *arg4 = (wxString *) &arg4_defvalue ;
43226 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43227 wxString *arg5 = (wxString *) &arg5_defvalue ;
43228 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43229 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43230 wxSize const &arg7_defvalue = wxDefaultSize ;
43231 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43232 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43233 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43234 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43235 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43236 wxString *arg10 = (wxString *) &arg10_defvalue ;
43237 wxFilePickerCtrl *result = 0 ;
43238 void *argp1 = 0 ;
43239 int res1 = 0 ;
43240 int val2 ;
43241 int ecode2 = 0 ;
43242 bool temp3 = false ;
43243 bool temp4 = false ;
43244 bool temp5 = false ;
43245 wxPoint temp6 ;
43246 wxSize temp7 ;
43247 long val8 ;
43248 int ecode8 = 0 ;
43249 void *argp9 = 0 ;
43250 int res9 = 0 ;
43251 bool temp10 = false ;
43252 PyObject * obj0 = 0 ;
43253 PyObject * obj1 = 0 ;
43254 PyObject * obj2 = 0 ;
43255 PyObject * obj3 = 0 ;
43256 PyObject * obj4 = 0 ;
43257 PyObject * obj5 = 0 ;
43258 PyObject * obj6 = 0 ;
43259 PyObject * obj7 = 0 ;
43260 PyObject * obj8 = 0 ;
43261 PyObject * obj9 = 0 ;
43262 char * kwnames[] = {
43263 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43264 };
43265
43266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43268 if (!SWIG_IsOK(res1)) {
43269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43270 }
43271 arg1 = reinterpret_cast< wxWindow * >(argp1);
43272 if (obj1) {
43273 ecode2 = SWIG_AsVal_int(obj1, &val2);
43274 if (!SWIG_IsOK(ecode2)) {
43275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43276 }
43277 arg2 = static_cast< int >(val2);
43278 }
43279 if (obj2) {
43280 {
43281 arg3 = wxString_in_helper(obj2);
43282 if (arg3 == NULL) SWIG_fail;
43283 temp3 = true;
43284 }
43285 }
43286 if (obj3) {
43287 {
43288 arg4 = wxString_in_helper(obj3);
43289 if (arg4 == NULL) SWIG_fail;
43290 temp4 = true;
43291 }
43292 }
43293 if (obj4) {
43294 {
43295 arg5 = wxString_in_helper(obj4);
43296 if (arg5 == NULL) SWIG_fail;
43297 temp5 = true;
43298 }
43299 }
43300 if (obj5) {
43301 {
43302 arg6 = &temp6;
43303 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43304 }
43305 }
43306 if (obj6) {
43307 {
43308 arg7 = &temp7;
43309 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43310 }
43311 }
43312 if (obj7) {
43313 ecode8 = SWIG_AsVal_long(obj7, &val8);
43314 if (!SWIG_IsOK(ecode8)) {
43315 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43316 }
43317 arg8 = static_cast< long >(val8);
43318 }
43319 if (obj8) {
43320 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43321 if (!SWIG_IsOK(res9)) {
43322 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43323 }
43324 if (!argp9) {
43325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43326 }
43327 arg9 = reinterpret_cast< wxValidator * >(argp9);
43328 }
43329 if (obj9) {
43330 {
43331 arg10 = wxString_in_helper(obj9);
43332 if (arg10 == NULL) SWIG_fail;
43333 temp10 = true;
43334 }
43335 }
43336 {
43337 if (!wxPyCheckForApp()) SWIG_fail;
43338 PyThreadState* __tstate = wxPyBeginAllowThreads();
43339 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);
43340 wxPyEndAllowThreads(__tstate);
43341 if (PyErr_Occurred()) SWIG_fail;
43342 }
43343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43344 {
43345 if (temp3)
43346 delete arg3;
43347 }
43348 {
43349 if (temp4)
43350 delete arg4;
43351 }
43352 {
43353 if (temp5)
43354 delete arg5;
43355 }
43356 {
43357 if (temp10)
43358 delete arg10;
43359 }
43360 return resultobj;
43361fail:
43362 {
43363 if (temp3)
43364 delete arg3;
43365 }
43366 {
43367 if (temp4)
43368 delete arg4;
43369 }
43370 {
43371 if (temp5)
43372 delete arg5;
43373 }
43374 {
43375 if (temp10)
43376 delete arg10;
43377 }
43378 return NULL;
43379}
43380
43381
43382SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43383 PyObject *resultobj = 0;
43384 wxFilePickerCtrl *result = 0 ;
43385
43386 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43387 {
43388 if (!wxPyCheckForApp()) SWIG_fail;
43389 PyThreadState* __tstate = wxPyBeginAllowThreads();
43390 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43391 wxPyEndAllowThreads(__tstate);
43392 if (PyErr_Occurred()) SWIG_fail;
43393 }
43394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43395 return resultobj;
43396fail:
43397 return NULL;
43398}
43399
43400
43401SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43402 PyObject *resultobj = 0;
43403 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43404 wxWindow *arg2 = (wxWindow *) 0 ;
43405 int arg3 = (int) -1 ;
43406 wxString const &arg4_defvalue = wxPyEmptyString ;
43407 wxString *arg4 = (wxString *) &arg4_defvalue ;
43408 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43409 wxString *arg5 = (wxString *) &arg5_defvalue ;
43410 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43411 wxString *arg6 = (wxString *) &arg6_defvalue ;
43412 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43413 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43414 wxSize const &arg8_defvalue = wxDefaultSize ;
43415 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43416 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43417 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43418 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43419 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43420 wxString *arg11 = (wxString *) &arg11_defvalue ;
43421 bool result;
43422 void *argp1 = 0 ;
43423 int res1 = 0 ;
43424 void *argp2 = 0 ;
43425 int res2 = 0 ;
43426 int val3 ;
43427 int ecode3 = 0 ;
43428 bool temp4 = false ;
43429 bool temp5 = false ;
43430 bool temp6 = false ;
43431 wxPoint temp7 ;
43432 wxSize temp8 ;
43433 long val9 ;
43434 int ecode9 = 0 ;
43435 void *argp10 = 0 ;
43436 int res10 = 0 ;
43437 bool temp11 = false ;
43438 PyObject * obj0 = 0 ;
43439 PyObject * obj1 = 0 ;
43440 PyObject * obj2 = 0 ;
43441 PyObject * obj3 = 0 ;
43442 PyObject * obj4 = 0 ;
43443 PyObject * obj5 = 0 ;
43444 PyObject * obj6 = 0 ;
43445 PyObject * obj7 = 0 ;
43446 PyObject * obj8 = 0 ;
43447 PyObject * obj9 = 0 ;
43448 PyObject * obj10 = 0 ;
43449 char * kwnames[] = {
43450 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43451 };
43452
43453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43455 if (!SWIG_IsOK(res1)) {
43456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43457 }
43458 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43460 if (!SWIG_IsOK(res2)) {
43461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43462 }
43463 arg2 = reinterpret_cast< wxWindow * >(argp2);
43464 if (obj2) {
43465 ecode3 = SWIG_AsVal_int(obj2, &val3);
43466 if (!SWIG_IsOK(ecode3)) {
43467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43468 }
43469 arg3 = static_cast< int >(val3);
43470 }
43471 if (obj3) {
43472 {
43473 arg4 = wxString_in_helper(obj3);
43474 if (arg4 == NULL) SWIG_fail;
43475 temp4 = true;
43476 }
43477 }
43478 if (obj4) {
43479 {
43480 arg5 = wxString_in_helper(obj4);
43481 if (arg5 == NULL) SWIG_fail;
43482 temp5 = true;
43483 }
43484 }
43485 if (obj5) {
43486 {
43487 arg6 = wxString_in_helper(obj5);
43488 if (arg6 == NULL) SWIG_fail;
43489 temp6 = true;
43490 }
43491 }
43492 if (obj6) {
43493 {
43494 arg7 = &temp7;
43495 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43496 }
43497 }
43498 if (obj7) {
43499 {
43500 arg8 = &temp8;
43501 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43502 }
43503 }
43504 if (obj8) {
43505 ecode9 = SWIG_AsVal_long(obj8, &val9);
43506 if (!SWIG_IsOK(ecode9)) {
43507 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43508 }
43509 arg9 = static_cast< long >(val9);
43510 }
43511 if (obj9) {
43512 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43513 if (!SWIG_IsOK(res10)) {
43514 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43515 }
43516 if (!argp10) {
43517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43518 }
43519 arg10 = reinterpret_cast< wxValidator * >(argp10);
43520 }
43521 if (obj10) {
43522 {
43523 arg11 = wxString_in_helper(obj10);
43524 if (arg11 == NULL) SWIG_fail;
43525 temp11 = true;
43526 }
43527 }
43528 {
43529 PyThreadState* __tstate = wxPyBeginAllowThreads();
43530 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);
43531 wxPyEndAllowThreads(__tstate);
43532 if (PyErr_Occurred()) SWIG_fail;
43533 }
43534 {
43535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43536 }
43537 {
43538 if (temp4)
43539 delete arg4;
43540 }
43541 {
43542 if (temp5)
43543 delete arg5;
43544 }
43545 {
43546 if (temp6)
43547 delete arg6;
43548 }
43549 {
43550 if (temp11)
43551 delete arg11;
43552 }
43553 return resultobj;
43554fail:
43555 {
43556 if (temp4)
43557 delete arg4;
43558 }
43559 {
43560 if (temp5)
43561 delete arg5;
43562 }
43563 {
43564 if (temp6)
43565 delete arg6;
43566 }
43567 {
43568 if (temp11)
43569 delete arg11;
43570 }
43571 return NULL;
43572}
43573
43574
43575SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43576 PyObject *resultobj = 0;
43577 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43578 wxString result;
43579 void *argp1 = 0 ;
43580 int res1 = 0 ;
43581 PyObject *swig_obj[1] ;
43582
43583 if (!args) SWIG_fail;
43584 swig_obj[0] = args;
43585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43586 if (!SWIG_IsOK(res1)) {
43587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43588 }
43589 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43590 {
43591 PyThreadState* __tstate = wxPyBeginAllowThreads();
43592 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
43593 wxPyEndAllowThreads(__tstate);
43594 if (PyErr_Occurred()) SWIG_fail;
43595 }
43596 {
43597#if wxUSE_UNICODE
43598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43599#else
43600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43601#endif
43602 }
43603 return resultobj;
43604fail:
43605 return NULL;
43606}
43607
43608
43609SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43610 PyObject *resultobj = 0;
43611 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43612 wxString *arg2 = 0 ;
43613 void *argp1 = 0 ;
43614 int res1 = 0 ;
43615 bool temp2 = false ;
43616 PyObject * obj0 = 0 ;
43617 PyObject * obj1 = 0 ;
43618 char * kwnames[] = {
43619 (char *) "self",(char *) "str", NULL
43620 };
43621
43622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43624 if (!SWIG_IsOK(res1)) {
43625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43626 }
43627 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43628 {
43629 arg2 = wxString_in_helper(obj1);
43630 if (arg2 == NULL) SWIG_fail;
43631 temp2 = true;
43632 }
43633 {
43634 PyThreadState* __tstate = wxPyBeginAllowThreads();
43635 (arg1)->SetPath((wxString const &)*arg2);
43636 wxPyEndAllowThreads(__tstate);
43637 if (PyErr_Occurred()) SWIG_fail;
43638 }
43639 resultobj = SWIG_Py_Void();
43640 {
43641 if (temp2)
43642 delete arg2;
43643 }
43644 return resultobj;
43645fail:
43646 {
43647 if (temp2)
43648 delete arg2;
43649 }
43650 return NULL;
43651}
43652
43653
43654SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43655 PyObject *obj;
43656 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43657 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
43658 return SWIG_Py_Void();
43659}
43660
43661SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43662 return SWIG_Python_InitShadowInstance(args);
43663}
43664
43665SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43666 PyObject *resultobj = 0;
43667 wxWindow *arg1 = (wxWindow *) 0 ;
43668 int arg2 = (int) -1 ;
43669 wxString const &arg3_defvalue = wxPyEmptyString ;
43670 wxString *arg3 = (wxString *) &arg3_defvalue ;
43671 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
43672 wxString *arg4 = (wxString *) &arg4_defvalue ;
43673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43675 wxSize const &arg6_defvalue = wxDefaultSize ;
43676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43677 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
43678 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43679 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43680 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
43681 wxString *arg9 = (wxString *) &arg9_defvalue ;
43682 wxDirPickerCtrl *result = 0 ;
43683 void *argp1 = 0 ;
43684 int res1 = 0 ;
43685 int val2 ;
43686 int ecode2 = 0 ;
43687 bool temp3 = false ;
43688 bool temp4 = false ;
43689 wxPoint temp5 ;
43690 wxSize temp6 ;
43691 long val7 ;
43692 int ecode7 = 0 ;
43693 void *argp8 = 0 ;
43694 int res8 = 0 ;
43695 bool temp9 = false ;
43696 PyObject * obj0 = 0 ;
43697 PyObject * obj1 = 0 ;
43698 PyObject * obj2 = 0 ;
43699 PyObject * obj3 = 0 ;
43700 PyObject * obj4 = 0 ;
43701 PyObject * obj5 = 0 ;
43702 PyObject * obj6 = 0 ;
43703 PyObject * obj7 = 0 ;
43704 PyObject * obj8 = 0 ;
43705 char * kwnames[] = {
43706 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43707 };
43708
43709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43711 if (!SWIG_IsOK(res1)) {
43712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43713 }
43714 arg1 = reinterpret_cast< wxWindow * >(argp1);
43715 if (obj1) {
43716 ecode2 = SWIG_AsVal_int(obj1, &val2);
43717 if (!SWIG_IsOK(ecode2)) {
43718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43719 }
43720 arg2 = static_cast< int >(val2);
43721 }
43722 if (obj2) {
43723 {
43724 arg3 = wxString_in_helper(obj2);
43725 if (arg3 == NULL) SWIG_fail;
43726 temp3 = true;
43727 }
43728 }
43729 if (obj3) {
43730 {
43731 arg4 = wxString_in_helper(obj3);
43732 if (arg4 == NULL) SWIG_fail;
43733 temp4 = true;
43734 }
43735 }
43736 if (obj4) {
43737 {
43738 arg5 = &temp5;
43739 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43740 }
43741 }
43742 if (obj5) {
43743 {
43744 arg6 = &temp6;
43745 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43746 }
43747 }
43748 if (obj6) {
43749 ecode7 = SWIG_AsVal_long(obj6, &val7);
43750 if (!SWIG_IsOK(ecode7)) {
43751 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43752 }
43753 arg7 = static_cast< long >(val7);
43754 }
43755 if (obj7) {
43756 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43757 if (!SWIG_IsOK(res8)) {
43758 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43759 }
43760 if (!argp8) {
43761 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43762 }
43763 arg8 = reinterpret_cast< wxValidator * >(argp8);
43764 }
43765 if (obj8) {
43766 {
43767 arg9 = wxString_in_helper(obj8);
43768 if (arg9 == NULL) SWIG_fail;
43769 temp9 = true;
43770 }
43771 }
43772 {
43773 if (!wxPyCheckForApp()) SWIG_fail;
43774 PyThreadState* __tstate = wxPyBeginAllowThreads();
43775 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);
43776 wxPyEndAllowThreads(__tstate);
43777 if (PyErr_Occurred()) SWIG_fail;
43778 }
43779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
43780 {
43781 if (temp3)
43782 delete arg3;
43783 }
43784 {
43785 if (temp4)
43786 delete arg4;
43787 }
43788 {
43789 if (temp9)
43790 delete arg9;
43791 }
43792 return resultobj;
43793fail:
43794 {
43795 if (temp3)
43796 delete arg3;
43797 }
43798 {
43799 if (temp4)
43800 delete arg4;
43801 }
43802 {
43803 if (temp9)
43804 delete arg9;
43805 }
43806 return NULL;
43807}
43808
43809
43810SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43811 PyObject *resultobj = 0;
43812 wxDirPickerCtrl *result = 0 ;
43813
43814 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
43815 {
43816 if (!wxPyCheckForApp()) SWIG_fail;
43817 PyThreadState* __tstate = wxPyBeginAllowThreads();
43818 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
43819 wxPyEndAllowThreads(__tstate);
43820 if (PyErr_Occurred()) SWIG_fail;
43821 }
43822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
43823 return resultobj;
43824fail:
43825 return NULL;
43826}
43827
43828
43829SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43830 PyObject *resultobj = 0;
43831 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43832 wxWindow *arg2 = (wxWindow *) 0 ;
43833 int arg3 = (int) -1 ;
43834 wxString const &arg4_defvalue = wxPyEmptyString ;
43835 wxString *arg4 = (wxString *) &arg4_defvalue ;
43836 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
43837 wxString *arg5 = (wxString *) &arg5_defvalue ;
43838 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43839 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43840 wxSize const &arg7_defvalue = wxDefaultSize ;
43841 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43842 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
43843 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43844 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43845 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
43846 wxString *arg10 = (wxString *) &arg10_defvalue ;
43847 bool result;
43848 void *argp1 = 0 ;
43849 int res1 = 0 ;
43850 void *argp2 = 0 ;
43851 int res2 = 0 ;
43852 int val3 ;
43853 int ecode3 = 0 ;
43854 bool temp4 = false ;
43855 bool temp5 = false ;
43856 wxPoint temp6 ;
43857 wxSize temp7 ;
43858 long val8 ;
43859 int ecode8 = 0 ;
43860 void *argp9 = 0 ;
43861 int res9 = 0 ;
43862 bool temp10 = false ;
43863 PyObject * obj0 = 0 ;
43864 PyObject * obj1 = 0 ;
43865 PyObject * obj2 = 0 ;
43866 PyObject * obj3 = 0 ;
43867 PyObject * obj4 = 0 ;
43868 PyObject * obj5 = 0 ;
43869 PyObject * obj6 = 0 ;
43870 PyObject * obj7 = 0 ;
43871 PyObject * obj8 = 0 ;
43872 PyObject * obj9 = 0 ;
43873 char * kwnames[] = {
43874 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43875 };
43876
43877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43879 if (!SWIG_IsOK(res1)) {
43880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43881 }
43882 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43884 if (!SWIG_IsOK(res2)) {
43885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43886 }
43887 arg2 = reinterpret_cast< wxWindow * >(argp2);
43888 if (obj2) {
43889 ecode3 = SWIG_AsVal_int(obj2, &val3);
43890 if (!SWIG_IsOK(ecode3)) {
43891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43892 }
43893 arg3 = static_cast< int >(val3);
43894 }
43895 if (obj3) {
43896 {
43897 arg4 = wxString_in_helper(obj3);
43898 if (arg4 == NULL) SWIG_fail;
43899 temp4 = true;
43900 }
43901 }
43902 if (obj4) {
43903 {
43904 arg5 = wxString_in_helper(obj4);
43905 if (arg5 == NULL) SWIG_fail;
43906 temp5 = true;
43907 }
43908 }
43909 if (obj5) {
43910 {
43911 arg6 = &temp6;
43912 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43913 }
43914 }
43915 if (obj6) {
43916 {
43917 arg7 = &temp7;
43918 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43919 }
43920 }
43921 if (obj7) {
43922 ecode8 = SWIG_AsVal_long(obj7, &val8);
43923 if (!SWIG_IsOK(ecode8)) {
43924 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
43925 }
43926 arg8 = static_cast< long >(val8);
43927 }
43928 if (obj8) {
43929 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43930 if (!SWIG_IsOK(res9)) {
43931 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43932 }
43933 if (!argp9) {
43934 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43935 }
43936 arg9 = reinterpret_cast< wxValidator * >(argp9);
43937 }
43938 if (obj9) {
43939 {
43940 arg10 = wxString_in_helper(obj9);
43941 if (arg10 == NULL) SWIG_fail;
43942 temp10 = true;
43943 }
43944 }
43945 {
43946 PyThreadState* __tstate = wxPyBeginAllowThreads();
43947 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);
43948 wxPyEndAllowThreads(__tstate);
43949 if (PyErr_Occurred()) SWIG_fail;
43950 }
43951 {
43952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43953 }
43954 {
43955 if (temp4)
43956 delete arg4;
43957 }
43958 {
43959 if (temp5)
43960 delete arg5;
43961 }
43962 {
43963 if (temp10)
43964 delete arg10;
43965 }
43966 return resultobj;
43967fail:
43968 {
43969 if (temp4)
43970 delete arg4;
43971 }
43972 {
43973 if (temp5)
43974 delete arg5;
43975 }
43976 {
43977 if (temp10)
43978 delete arg10;
43979 }
43980 return NULL;
43981}
43982
43983
43984SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43985 PyObject *resultobj = 0;
43986 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43987 wxString result;
43988 void *argp1 = 0 ;
43989 int res1 = 0 ;
43990 PyObject *swig_obj[1] ;
43991
43992 if (!args) SWIG_fail;
43993 swig_obj[0] = args;
43994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43995 if (!SWIG_IsOK(res1)) {
43996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
43997 }
43998 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43999 {
44000 PyThreadState* __tstate = wxPyBeginAllowThreads();
44001 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44002 wxPyEndAllowThreads(__tstate);
44003 if (PyErr_Occurred()) SWIG_fail;
44004 }
44005 {
44006#if wxUSE_UNICODE
44007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44008#else
44009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44010#endif
44011 }
44012 return resultobj;
44013fail:
44014 return NULL;
44015}
44016
44017
44018SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44019 PyObject *resultobj = 0;
44020 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44021 wxString *arg2 = 0 ;
44022 void *argp1 = 0 ;
44023 int res1 = 0 ;
44024 bool temp2 = false ;
44025 PyObject * obj0 = 0 ;
44026 PyObject * obj1 = 0 ;
44027 char * kwnames[] = {
44028 (char *) "self",(char *) "str", NULL
44029 };
44030
44031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44033 if (!SWIG_IsOK(res1)) {
44034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44035 }
44036 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44037 {
44038 arg2 = wxString_in_helper(obj1);
44039 if (arg2 == NULL) SWIG_fail;
44040 temp2 = true;
44041 }
44042 {
44043 PyThreadState* __tstate = wxPyBeginAllowThreads();
44044 (arg1)->SetPath((wxString const &)*arg2);
44045 wxPyEndAllowThreads(__tstate);
44046 if (PyErr_Occurred()) SWIG_fail;
44047 }
44048 resultobj = SWIG_Py_Void();
44049 {
44050 if (temp2)
44051 delete arg2;
44052 }
44053 return resultobj;
44054fail:
44055 {
44056 if (temp2)
44057 delete arg2;
44058 }
44059 return NULL;
44060}
44061
44062
44063SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44064 PyObject *obj;
44065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44066 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44067 return SWIG_Py_Void();
44068}
44069
44070SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44071 return SWIG_Python_InitShadowInstance(args);
44072}
44073
44074SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44075 PyObject *resultobj = 0;
44076 wxEventType arg1 ;
44077 wxObject *arg2 = (wxObject *) 0 ;
44078 int arg3 ;
44079 wxString *arg4 = 0 ;
44080 wxFileDirPickerEvent *result = 0 ;
44081 int val1 ;
44082 int ecode1 = 0 ;
44083 void *argp2 = 0 ;
44084 int res2 = 0 ;
44085 int val3 ;
44086 int ecode3 = 0 ;
44087 bool temp4 = false ;
44088 PyObject * obj0 = 0 ;
44089 PyObject * obj1 = 0 ;
44090 PyObject * obj2 = 0 ;
44091 PyObject * obj3 = 0 ;
44092 char * kwnames[] = {
44093 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44094 };
44095
44096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44097 ecode1 = SWIG_AsVal_int(obj0, &val1);
44098 if (!SWIG_IsOK(ecode1)) {
44099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44100 }
44101 arg1 = static_cast< wxEventType >(val1);
44102 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44103 if (!SWIG_IsOK(res2)) {
44104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44105 }
44106 arg2 = reinterpret_cast< wxObject * >(argp2);
44107 ecode3 = SWIG_AsVal_int(obj2, &val3);
44108 if (!SWIG_IsOK(ecode3)) {
44109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44110 }
44111 arg3 = static_cast< int >(val3);
44112 {
44113 arg4 = wxString_in_helper(obj3);
44114 if (arg4 == NULL) SWIG_fail;
44115 temp4 = true;
44116 }
44117 {
44118 PyThreadState* __tstate = wxPyBeginAllowThreads();
44119 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44120 wxPyEndAllowThreads(__tstate);
44121 if (PyErr_Occurred()) SWIG_fail;
44122 }
44123 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44124 {
44125 if (temp4)
44126 delete arg4;
44127 }
44128 return resultobj;
44129fail:
44130 {
44131 if (temp4)
44132 delete arg4;
44133 }
44134 return NULL;
44135}
44136
44137
44138SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44139 PyObject *resultobj = 0;
44140 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44141 wxString result;
44142 void *argp1 = 0 ;
44143 int res1 = 0 ;
44144 PyObject *swig_obj[1] ;
44145
44146 if (!args) SWIG_fail;
44147 swig_obj[0] = args;
44148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44149 if (!SWIG_IsOK(res1)) {
44150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44151 }
44152 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44153 {
44154 PyThreadState* __tstate = wxPyBeginAllowThreads();
44155 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44156 wxPyEndAllowThreads(__tstate);
44157 if (PyErr_Occurred()) SWIG_fail;
44158 }
44159 {
44160#if wxUSE_UNICODE
44161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44162#else
44163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44164#endif
44165 }
44166 return resultobj;
44167fail:
44168 return NULL;
44169}
44170
44171
44172SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44173 PyObject *resultobj = 0;
44174 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44175 wxString *arg2 = 0 ;
44176 void *argp1 = 0 ;
44177 int res1 = 0 ;
44178 bool temp2 = false ;
44179 PyObject * obj0 = 0 ;
44180 PyObject * obj1 = 0 ;
44181 char * kwnames[] = {
44182 (char *) "self",(char *) "p", NULL
44183 };
44184
44185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44187 if (!SWIG_IsOK(res1)) {
44188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44189 }
44190 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44191 {
44192 arg2 = wxString_in_helper(obj1);
44193 if (arg2 == NULL) SWIG_fail;
44194 temp2 = true;
44195 }
44196 {
44197 PyThreadState* __tstate = wxPyBeginAllowThreads();
44198 (arg1)->SetPath((wxString const &)*arg2);
44199 wxPyEndAllowThreads(__tstate);
44200 if (PyErr_Occurred()) SWIG_fail;
44201 }
44202 resultobj = SWIG_Py_Void();
44203 {
44204 if (temp2)
44205 delete arg2;
44206 }
44207 return resultobj;
44208fail:
44209 {
44210 if (temp2)
44211 delete arg2;
44212 }
44213 return NULL;
44214}
44215
44216
44217SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44218 PyObject *obj;
44219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44220 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44221 return SWIG_Py_Void();
44222}
44223
44224SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44225 return SWIG_Python_InitShadowInstance(args);
44226}
44227
44228SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44229 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44230 return 1;
44231}
44232
44233
44234SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44235 PyObject *pyobj = 0;
44236
44237 {
44238#if wxUSE_UNICODE
44239 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44240#else
44241 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44242#endif
44243 }
44244 return pyobj;
44245}
44246
44247
44248SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44249 PyObject *resultobj = 0;
44250 wxWindow *arg1 = (wxWindow *) 0 ;
44251 int arg2 = (int) -1 ;
44252 wxFont const &arg3_defvalue = *wxNORMAL_FONT ;
44253 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44256 wxSize const &arg5_defvalue = wxDefaultSize ;
44257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44258 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44261 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44262 wxString *arg8 = (wxString *) &arg8_defvalue ;
44263 wxFontPickerCtrl *result = 0 ;
44264 void *argp1 = 0 ;
44265 int res1 = 0 ;
44266 int val2 ;
44267 int ecode2 = 0 ;
44268 void *argp3 = 0 ;
44269 int res3 = 0 ;
44270 wxPoint temp4 ;
44271 wxSize temp5 ;
44272 long val6 ;
44273 int ecode6 = 0 ;
44274 void *argp7 = 0 ;
44275 int res7 = 0 ;
44276 bool temp8 = false ;
44277 PyObject * obj0 = 0 ;
44278 PyObject * obj1 = 0 ;
44279 PyObject * obj2 = 0 ;
44280 PyObject * obj3 = 0 ;
44281 PyObject * obj4 = 0 ;
44282 PyObject * obj5 = 0 ;
44283 PyObject * obj6 = 0 ;
44284 PyObject * obj7 = 0 ;
44285 char * kwnames[] = {
44286 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44287 };
44288
44289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44291 if (!SWIG_IsOK(res1)) {
44292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44293 }
44294 arg1 = reinterpret_cast< wxWindow * >(argp1);
44295 if (obj1) {
44296 ecode2 = SWIG_AsVal_int(obj1, &val2);
44297 if (!SWIG_IsOK(ecode2)) {
44298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44299 }
44300 arg2 = static_cast< int >(val2);
44301 }
44302 if (obj2) {
44303 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44304 if (!SWIG_IsOK(res3)) {
44305 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44306 }
44307 if (!argp3) {
44308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44309 }
44310 arg3 = reinterpret_cast< wxFont * >(argp3);
44311 }
44312 if (obj3) {
44313 {
44314 arg4 = &temp4;
44315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44316 }
44317 }
44318 if (obj4) {
44319 {
44320 arg5 = &temp5;
44321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44322 }
44323 }
44324 if (obj5) {
44325 ecode6 = SWIG_AsVal_long(obj5, &val6);
44326 if (!SWIG_IsOK(ecode6)) {
44327 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44328 }
44329 arg6 = static_cast< long >(val6);
44330 }
44331 if (obj6) {
44332 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44333 if (!SWIG_IsOK(res7)) {
44334 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44335 }
44336 if (!argp7) {
44337 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44338 }
44339 arg7 = reinterpret_cast< wxValidator * >(argp7);
44340 }
44341 if (obj7) {
44342 {
44343 arg8 = wxString_in_helper(obj7);
44344 if (arg8 == NULL) SWIG_fail;
44345 temp8 = true;
44346 }
44347 }
44348 {
44349 if (!wxPyCheckForApp()) SWIG_fail;
44350 PyThreadState* __tstate = wxPyBeginAllowThreads();
44351 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44352 wxPyEndAllowThreads(__tstate);
44353 if (PyErr_Occurred()) SWIG_fail;
44354 }
44355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44356 {
44357 if (temp8)
44358 delete arg8;
44359 }
44360 return resultobj;
44361fail:
44362 {
44363 if (temp8)
44364 delete arg8;
44365 }
44366 return NULL;
44367}
44368
44369
44370SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44371 PyObject *resultobj = 0;
44372 wxFontPickerCtrl *result = 0 ;
44373
44374 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44375 {
44376 if (!wxPyCheckForApp()) SWIG_fail;
44377 PyThreadState* __tstate = wxPyBeginAllowThreads();
44378 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
44379 wxPyEndAllowThreads(__tstate);
44380 if (PyErr_Occurred()) SWIG_fail;
44381 }
44382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
44383 return resultobj;
44384fail:
44385 return NULL;
44386}
44387
44388
44389SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44390 PyObject *resultobj = 0;
44391 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44392 wxWindow *arg2 = (wxWindow *) 0 ;
44393 int arg3 = (int) -1 ;
44394 wxFont const &arg4_defvalue = *wxNORMAL_FONT ;
44395 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
44396 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44397 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44398 wxSize const &arg6_defvalue = wxDefaultSize ;
44399 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44400 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
44401 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44402 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44403 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
44404 wxString *arg9 = (wxString *) &arg9_defvalue ;
44405 bool result;
44406 void *argp1 = 0 ;
44407 int res1 = 0 ;
44408 void *argp2 = 0 ;
44409 int res2 = 0 ;
44410 int val3 ;
44411 int ecode3 = 0 ;
44412 void *argp4 = 0 ;
44413 int res4 = 0 ;
44414 wxPoint temp5 ;
44415 wxSize temp6 ;
44416 long val7 ;
44417 int ecode7 = 0 ;
44418 void *argp8 = 0 ;
44419 int res8 = 0 ;
44420 bool temp9 = false ;
44421 PyObject * obj0 = 0 ;
44422 PyObject * obj1 = 0 ;
44423 PyObject * obj2 = 0 ;
44424 PyObject * obj3 = 0 ;
44425 PyObject * obj4 = 0 ;
44426 PyObject * obj5 = 0 ;
44427 PyObject * obj6 = 0 ;
44428 PyObject * obj7 = 0 ;
44429 PyObject * obj8 = 0 ;
44430 char * kwnames[] = {
44431 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44432 };
44433
44434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44436 if (!SWIG_IsOK(res1)) {
44437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44438 }
44439 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44441 if (!SWIG_IsOK(res2)) {
44442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44443 }
44444 arg2 = reinterpret_cast< wxWindow * >(argp2);
44445 if (obj2) {
44446 ecode3 = SWIG_AsVal_int(obj2, &val3);
44447 if (!SWIG_IsOK(ecode3)) {
44448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44449 }
44450 arg3 = static_cast< int >(val3);
44451 }
44452 if (obj3) {
44453 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
44454 if (!SWIG_IsOK(res4)) {
44455 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44456 }
44457 if (!argp4) {
44458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44459 }
44460 arg4 = reinterpret_cast< wxFont * >(argp4);
44461 }
44462 if (obj4) {
44463 {
44464 arg5 = &temp5;
44465 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44466 }
44467 }
44468 if (obj5) {
44469 {
44470 arg6 = &temp6;
44471 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44472 }
44473 }
44474 if (obj6) {
44475 ecode7 = SWIG_AsVal_long(obj6, &val7);
44476 if (!SWIG_IsOK(ecode7)) {
44477 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44478 }
44479 arg7 = static_cast< long >(val7);
44480 }
44481 if (obj7) {
44482 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44483 if (!SWIG_IsOK(res8)) {
44484 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44485 }
44486 if (!argp8) {
44487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44488 }
44489 arg8 = reinterpret_cast< wxValidator * >(argp8);
44490 }
44491 if (obj8) {
44492 {
44493 arg9 = wxString_in_helper(obj8);
44494 if (arg9 == NULL) SWIG_fail;
44495 temp9 = true;
44496 }
44497 }
44498 {
44499 PyThreadState* __tstate = wxPyBeginAllowThreads();
44500 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
44501 wxPyEndAllowThreads(__tstate);
44502 if (PyErr_Occurred()) SWIG_fail;
44503 }
44504 {
44505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44506 }
44507 {
44508 if (temp9)
44509 delete arg9;
44510 }
44511 return resultobj;
44512fail:
44513 {
44514 if (temp9)
44515 delete arg9;
44516 }
44517 return NULL;
44518}
44519
44520
44521SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44522 PyObject *resultobj = 0;
44523 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44524 wxFont result;
44525 void *argp1 = 0 ;
44526 int res1 = 0 ;
44527 PyObject *swig_obj[1] ;
44528
44529 if (!args) SWIG_fail;
44530 swig_obj[0] = args;
44531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44532 if (!SWIG_IsOK(res1)) {
44533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44534 }
44535 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44536 {
44537 PyThreadState* __tstate = wxPyBeginAllowThreads();
44538 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
44539 wxPyEndAllowThreads(__tstate);
44540 if (PyErr_Occurred()) SWIG_fail;
44541 }
44542 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
44543 return resultobj;
44544fail:
44545 return NULL;
44546}
44547
44548
44549SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44550 PyObject *resultobj = 0;
44551 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44552 wxFont *arg2 = 0 ;
44553 void *argp1 = 0 ;
44554 int res1 = 0 ;
44555 void *argp2 = 0 ;
44556 int res2 = 0 ;
44557 PyObject * obj0 = 0 ;
44558 PyObject * obj1 = 0 ;
44559 char * kwnames[] = {
44560 (char *) "self",(char *) "f", NULL
44561 };
44562
44563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
44564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44565 if (!SWIG_IsOK(res1)) {
44566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44567 }
44568 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44569 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
44570 if (!SWIG_IsOK(res2)) {
44571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44572 }
44573 if (!argp2) {
44574 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44575 }
44576 arg2 = reinterpret_cast< wxFont * >(argp2);
44577 {
44578 PyThreadState* __tstate = wxPyBeginAllowThreads();
44579 (arg1)->SetSelectedFont((wxFont const &)*arg2);
44580 wxPyEndAllowThreads(__tstate);
44581 if (PyErr_Occurred()) SWIG_fail;
44582 }
44583 resultobj = SWIG_Py_Void();
44584 return resultobj;
44585fail:
44586 return NULL;
44587}
44588
44589
44590SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44591 PyObject *resultobj = 0;
44592 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44593 unsigned int arg2 ;
44594 void *argp1 = 0 ;
44595 int res1 = 0 ;
44596 unsigned int val2 ;
44597 int ecode2 = 0 ;
44598 PyObject * obj0 = 0 ;
44599 PyObject * obj1 = 0 ;
44600 char * kwnames[] = {
44601 (char *) "self",(char *) "max", NULL
44602 };
44603
44604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
44605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44606 if (!SWIG_IsOK(res1)) {
44607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44608 }
44609 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44610 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
44611 if (!SWIG_IsOK(ecode2)) {
44612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44613 }
44614 arg2 = static_cast< unsigned int >(val2);
44615 {
44616 PyThreadState* __tstate = wxPyBeginAllowThreads();
44617 (arg1)->SetMaxPointSize(arg2);
44618 wxPyEndAllowThreads(__tstate);
44619 if (PyErr_Occurred()) SWIG_fail;
44620 }
44621 resultobj = SWIG_Py_Void();
44622 return resultobj;
44623fail:
44624 return NULL;
44625}
44626
44627
44628SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44629 PyObject *resultobj = 0;
44630 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44631 unsigned int result;
44632 void *argp1 = 0 ;
44633 int res1 = 0 ;
44634 PyObject *swig_obj[1] ;
44635
44636 if (!args) SWIG_fail;
44637 swig_obj[0] = args;
44638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44639 if (!SWIG_IsOK(res1)) {
44640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44641 }
44642 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44643 {
44644 PyThreadState* __tstate = wxPyBeginAllowThreads();
44645 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
44646 wxPyEndAllowThreads(__tstate);
44647 if (PyErr_Occurred()) SWIG_fail;
44648 }
44649 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
44650 return resultobj;
44651fail:
44652 return NULL;
44653}
44654
44655
44656SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44657 PyObject *obj;
44658 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44659 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
44660 return SWIG_Py_Void();
44661}
44662
44663SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44664 return SWIG_Python_InitShadowInstance(args);
44665}
44666
44667SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44668 PyObject *resultobj = 0;
44669 wxObject *arg1 = (wxObject *) 0 ;
44670 int arg2 ;
44671 wxFont *arg3 = 0 ;
44672 wxFontPickerEvent *result = 0 ;
44673 void *argp1 = 0 ;
44674 int res1 = 0 ;
44675 int val2 ;
44676 int ecode2 = 0 ;
44677 void *argp3 = 0 ;
44678 int res3 = 0 ;
44679 PyObject * obj0 = 0 ;
44680 PyObject * obj1 = 0 ;
44681 PyObject * obj2 = 0 ;
44682 char * kwnames[] = {
44683 (char *) "generator",(char *) "id",(char *) "f", NULL
44684 };
44685
44686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
44687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
44688 if (!SWIG_IsOK(res1)) {
44689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44690 }
44691 arg1 = reinterpret_cast< wxObject * >(argp1);
44692 ecode2 = SWIG_AsVal_int(obj1, &val2);
44693 if (!SWIG_IsOK(ecode2)) {
44694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44695 }
44696 arg2 = static_cast< int >(val2);
44697 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44698 if (!SWIG_IsOK(res3)) {
44699 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44700 }
44701 if (!argp3) {
44702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44703 }
44704 arg3 = reinterpret_cast< wxFont * >(argp3);
44705 {
44706 PyThreadState* __tstate = wxPyBeginAllowThreads();
44707 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
44708 wxPyEndAllowThreads(__tstate);
44709 if (PyErr_Occurred()) SWIG_fail;
44710 }
44711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
44712 return resultobj;
44713fail:
44714 return NULL;
44715}
44716
44717
44718SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44719 PyObject *resultobj = 0;
44720 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
44721 wxFont result;
44722 void *argp1 = 0 ;
44723 int res1 = 0 ;
44724 PyObject *swig_obj[1] ;
44725
44726 if (!args) SWIG_fail;
44727 swig_obj[0] = args;
44728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
44729 if (!SWIG_IsOK(res1)) {
44730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44731 }
44732 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
44733 {
44734 PyThreadState* __tstate = wxPyBeginAllowThreads();
44735 result = ((wxFontPickerEvent const *)arg1)->GetFont();
44736 wxPyEndAllowThreads(__tstate);
44737 if (PyErr_Occurred()) SWIG_fail;
44738 }
44739 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
44740 return resultobj;
44741fail:
44742 return NULL;
44743}
44744
44745
44746SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44747 PyObject *resultobj = 0;
44748 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
44749 wxFont *arg2 = 0 ;
44750 void *argp1 = 0 ;
44751 int res1 = 0 ;
44752 void *argp2 = 0 ;
44753 int res2 = 0 ;
44754 PyObject * obj0 = 0 ;
44755 PyObject * obj1 = 0 ;
44756 char * kwnames[] = {
44757 (char *) "self",(char *) "c", NULL
44758 };
44759
44760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
44761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
44762 if (!SWIG_IsOK(res1)) {
44763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44764 }
44765 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
44766 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
44767 if (!SWIG_IsOK(res2)) {
44768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44769 }
44770 if (!argp2) {
44771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44772 }
44773 arg2 = reinterpret_cast< wxFont * >(argp2);
44774 {
44775 PyThreadState* __tstate = wxPyBeginAllowThreads();
44776 (arg1)->SetFont((wxFont const &)*arg2);
44777 wxPyEndAllowThreads(__tstate);
44778 if (PyErr_Occurred()) SWIG_fail;
44779 }
44780 resultobj = SWIG_Py_Void();
44781 return resultobj;
44782fail:
44783 return NULL;
44784}
44785
44786
44787SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44788 PyObject *obj;
44789 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44790 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
44791 return SWIG_Py_Void();
44792}
44793
44794SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44795 return SWIG_Python_InitShadowInstance(args);
44796}
44797
44798static PyMethodDef SwigMethods[] = {
44799 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
44800 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
44801 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44802 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
44803 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
44804 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44805 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
44806 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
44807 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
44808 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
44809 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44810 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
44811 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
44812 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
44813 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
44814 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
44815 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
44816 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
44817 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
44818 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
44819 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
44820 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
44821 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
44822 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
44823 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
44824 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
44825 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
44826 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
44827 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44828 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
44829 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
44830 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44831 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
44832 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
44833 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
44834 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
44835 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44836 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
44837 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
44838 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
44839 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
44840 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44841 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
44842 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44843 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
44844 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
44845 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
44846 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
44847 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44848 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
44849 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44850 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
44851 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
44852 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
44853 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
44854 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
44855 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
44856 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
44857 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
44858 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
44859 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
44860 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44861 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
44862 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
44863 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
44864 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
44865 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
44866 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
44867 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
44868 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
44869 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
44870 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
44871 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
44872 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
44873 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
44874 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44875 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
44876 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
44877 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
44878 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
44879 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44880 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44881 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
44882 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44883 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
44884 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
44885 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
44886 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
44887 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
44888 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
44889 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44890 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
44891 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
44892 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
44893 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
44894 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44895 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44896 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
44897 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
44898 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
44899 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
44900 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44901 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
44902 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
44903 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44904 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
44905 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
44906 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
44907 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
44908 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44909 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
44910 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44911 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
44912 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
44913 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44914 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
44915 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44916 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
44917 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44918 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
44919 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44920 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
44921 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
44922 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
44923 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
44924 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44925 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
44926 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
44927 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
44928 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
44929 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44930 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
44931 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
44932 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
44933 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44934 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
44935 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
44936 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
44937 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
44938 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
44939 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
44940 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
44941 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44942 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44943 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
44944 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44945 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
44946 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
44947 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
44948 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
44949 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44950 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
44951 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
44952 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
44953 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
44954 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
44955 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
44956 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
44957 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
44958 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
44959 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
44960 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44961 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
44962 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
44963 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
44964 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
44965 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
44966 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
44967 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
44968 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
44969 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
44970 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
44971 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
44972 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
44973 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
44974 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
44975 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
44976 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
44977 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
44978 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
44979 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
44980 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
44981 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
44982 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
44983 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
44984 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
44985 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
44986 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
44987 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
44988 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
44989 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
44990 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44991 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
44992 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44993 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44994 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
44995 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
44996 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
44997 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
44998 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
44999 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
45000 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
45001 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
45002 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
45003 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
45004 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45005 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45006 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45007 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45008 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
45009 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
45010 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
45011 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
45012 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
45013 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
45014 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45015 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45016 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45017 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
45018 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45019 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
45020 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45021 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45022 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
45023 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
45024 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
45025 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
45026 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
45027 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
45028 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
45029 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
45030 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
45031 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
45032 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
45033 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45034 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
45035 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
45036 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
45037 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45038 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
45039 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45040 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
45041 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
45042 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
45043 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45044 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45045 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
45046 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
45047 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45048 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
45049 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
45050 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
45051 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
45052 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
45053 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
45054 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
45055 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45056 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
45057 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
45058 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
45059 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
45060 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
45061 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45062 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45063 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
45064 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
45065 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
45066 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
45067 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45068 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
45069 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
45070 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
45071 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45072 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45073 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45074 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45075 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
45076 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45077 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
45078 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
45079 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45080 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
45081 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45082 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
45083 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45084 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
45085 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45086 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
45087 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
45088 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45089 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45090 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
45091 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
45092 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45093 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
45094 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45095 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
45096 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
45097 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
45098 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
45099 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45100 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45101 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
45102 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
45103 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45104 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
45105 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
45106 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45107 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45108 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
45109 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
45110 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45111 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
45112 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
45113 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
45114 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45115 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45116 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45117 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45118 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45119 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45120 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
45121 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
45122 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
45123 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
45124 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45125 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
45126 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45127 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45128 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
45129 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
45130 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
45131 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
45132 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45133 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
45134 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45135 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45136 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
45137 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
45138 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45139 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45140 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
45141 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45142 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
45143 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
45144 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
45145 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
45146 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
45147 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
45148 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
45149 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
45150 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
45151 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
45152 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
45153 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45154 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45155 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
45156 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
45157 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
45158 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
45159 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45160 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45161 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
45162 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45163 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
45164 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
45165 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
45166 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
45167 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
45168 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
45169 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45170 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45171 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45172 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45173 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
45174 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
45175 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
45176 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45177 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45178 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
45179 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
45180 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
45181 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
45182 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
554f62e9
RD
45183 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
45184 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 45185 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
554f62e9
RD
45186 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
45187 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
45188 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
45189 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
45190 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
45191 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45192 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45193 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45194 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45195 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
45196 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45197 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
45198 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45199 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
45200 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45201 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
45202 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
45203 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
45204 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
45205 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45206 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
45207 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
45208 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45209 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
45210 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45211 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
45212 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
45213 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45214 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
45215 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
45216 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
45217 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
45218 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45219 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
45220 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
45221 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
45222 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45223 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
45224 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
45225 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
45226 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
45227 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45228 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
45229 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
45230 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
45231 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45232 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
45233 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
45234 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
45235 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
45236 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45237 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45238 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45239 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45240 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
45241 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
45242 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
45243 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
45244 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
45245 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
45246 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45247 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
45248 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
45249 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
45250 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
45251 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45252 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
45253 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
45254 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
45255 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
45256 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45257 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
45258 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
45259 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
45260 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
45261 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
45262 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
45263 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
45264 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
45265 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
45266 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
45267 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
45268 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
45269 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
45270 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
45271 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
45272 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
45273 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
45274 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
45275 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
45276 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
45277 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
45278 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45279 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45280 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45281 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45282 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45283 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45284 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
45285 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
45286 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
45287 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45288 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
45289 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
45290 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
45291 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45292 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45293 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
45294 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
45295 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
45296 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
45297 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
45298 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
45299 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
45300 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
45301 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
45302 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
45303 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
45304 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
45305 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45306 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45307 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45308 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
45309 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
45310 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45311 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45312 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45313 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45314 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45315 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
45316 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45317 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
45318 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
45319 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
45320 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
45321 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
45322 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
45323 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
45324 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
45325 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
45326 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
45327 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
45328 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
45329 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
45330 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45331 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
45332 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
45333 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
45334 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
45335 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
45336 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
45337 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45338 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45339 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
45340 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
45341 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45342 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
45343 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45344 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45345 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45346 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
45347 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
45348 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
45349 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
45350 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
45351 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
45352 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
45353 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
45354 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
45355 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
45356 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
45357 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
45358 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
45359 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
45360 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45361 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45362 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45363 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
45364 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
45365 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
45366 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
45367 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45368 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45369 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
45370 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45371 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45372 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45373 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
45374 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
45375 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
45376 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
45377 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
45378 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
45379 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
45380 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
45381 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
45382 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
45383 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
45384 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
45385 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
45386 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
45387 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
45388 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
45389 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
45390 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
45391 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
45392 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
45393 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
45394 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
45395 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
45396 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
45397 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
45398 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
45399 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
45400 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
45401 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
45402 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
45403 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
45404 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
45405 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
45406 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
45407 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
45408 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
45409 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45410 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
45411 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
45412 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
45413 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
45414 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
45415 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
45416 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
45417 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
45418 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
45419 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
45420 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
45421 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
45422 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
45423 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
45424 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
45425 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
45426 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
45427 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
45428 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
45429 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
45430 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
45431 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
45432 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
45433 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
45434 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
45435 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
45436 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
45437 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45438 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
45439 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45440 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45441 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45442 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45443 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45444 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45445 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
45446 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
45447 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
45448 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45449 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45451 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
45453 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45454 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45455 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45456 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45457 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45458 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45459 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45460 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
45461 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45462 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
45463 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
45464 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
45465 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
45466 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
45467 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45468 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
45469 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45470 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45471 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45472 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45473 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45474 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
45475 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
45476 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
45477 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
45478 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
45479 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
45480 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
45481 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45482 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
45483 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
45484 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45485 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45486 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45487 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
45488 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45489 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
45490 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45491 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45492 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
45493 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45494 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
45495 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45496 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
45497 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45498 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
45499 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
45500 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45501 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45502 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45503 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45504 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45505 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45506 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
45507 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
45508 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45509 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
45510 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
45511 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
45512 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
45513 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45514 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45515 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
45516 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
45517 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45518 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
45519 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45520 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45521 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45522 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
45523 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
45524 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
45525 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
45526 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
45527 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45528 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45529 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
45530 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
45531 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
45532 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
45533 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45534 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
45535 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
45536 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45537 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
45538 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45539 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
45540 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
45541 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
45542 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45543 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
45544 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45545 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
45546 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
45547 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
45548 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45549 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
45550 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
45551 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45552 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
45553 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45554 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
45555 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
45556 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45557 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
45558 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
45559 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
45560 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45561 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
45562 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45563 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45564 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
45565 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
45566 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45567 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
45568 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
45569 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
45570 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
45571 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45572 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45573 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45574 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45575 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45576 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45577 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45578 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
45579 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45580 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45581 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45582 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45583 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45584 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45585 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
45586 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45587 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
45588 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
45589 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45590 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45591 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45592 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45593 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45594 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45595 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45596 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
45597 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
45598 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
45599 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
45600 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
45601 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
45602 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
45603 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
45604 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
45605 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
45606 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
45607 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
45608 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45609 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45610 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
45611 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
45612 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
45613 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
45614 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
45615 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
45616 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45617 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
45618 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
45619 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
45620 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
45621 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
45622 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
45623 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
45624 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
45625 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
45626 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45627 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45628 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
45629 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45630 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
45631 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45632 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45633 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45634 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
45635 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
45636 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
45637 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
45638 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
45639 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
554f62e9
RD
45640 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
45641 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
45642 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45643 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
45644 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45645 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45646 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45647 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
45648 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
45649 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
45650 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
45651 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45652 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
45653 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
45654 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
45655 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
45656 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
45657 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
45658 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
45659 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
45660 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
45661 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
45662 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
45663 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
45664 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
45665 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
45666 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45667 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
45668 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45669 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
45670 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
45671 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
45672 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
45673 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
45674 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45675 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
45676 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45678 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45679 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
45680 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
45681 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
45682 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
45683 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
45684 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
45685 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
45686 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
45687 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
45688 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
45689 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
45690 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45691 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
45692 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45693 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
45694 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
45695 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
45696 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
45697 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
45698 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45699 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
45700 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
45701 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45702 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
45703 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45704 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
45705 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
45706 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
45707 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
45708 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
45709 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 45710 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
554f62e9
RD
45711 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45712 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
45713 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45714 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 45715 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
45716 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45717 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
45718 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45719 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
45720 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
45721 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
45722 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
45723 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
45724 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
45725 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45726 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
45727 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
45728 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
45729 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
45730 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45731 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
45732 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
45733 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
45734 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
45735 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
45736 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
45737 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
45738 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
45739 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45740 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
45741 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
45742 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
45743 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45744 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
45745 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45746 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45747 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
45748 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45749 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
45750 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
45751 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
45752 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
45753 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
45755 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45756 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
45757 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
45758 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
45759 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
45760 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
45761 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
45762 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
45763 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
45764 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
45765 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
45766 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
45767 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
45768 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
45770 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
45771 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
45772 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
45773 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
45775 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
45776 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
45777 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
45778 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
45779 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
45780 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
45781 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
45782 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45783 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
45784 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45785 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
45786 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
45787 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
45788 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
45789 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45790 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
45791 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
45792 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
45793 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
45794 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45795 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
45796 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45797 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
45798 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45799 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
45800 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
45801 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45802 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
45803 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45804 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
45805 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45806 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
45807 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
45808 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45809 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
45810 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45811 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
45812 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
45813 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45814 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
45815 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45816 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
45817 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
45818 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
45819 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
45820 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
45821 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
45822 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45823 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
45824 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45825 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
45826 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
554f62e9
RD
45827 { NULL, NULL, 0, NULL }
45828};
45829
45830
45831/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45832
45833static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
45834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
45835}
45836static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
45837 return (void *)((wxEvent *) ((wxMenuEvent *) x));
45838}
45839static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
45840 return (void *)((wxEvent *) ((wxCloseEvent *) x));
45841}
45842static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
45843 return (void *)((wxEvent *) ((wxMouseEvent *) x));
45844}
45845static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
45846 return (void *)((wxEvent *) ((wxEraseEvent *) x));
45847}
45848static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
45849 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
45850}
45851static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
45852 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
45853}
45854static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
45855 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
45856}
b850e7f3
RD
45857static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
45858 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
45859}
45860static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
45861 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
45862}
45863static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
45864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
45865}
554f62e9
RD
45866static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
45867 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
45868}
45869static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
45870 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
45871}
45872static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
45873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
45874}
554f62e9
RD
45875static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
45876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
45877}
2131d850
RD
45878static void *_p_wxPyEventTo_p_wxEvent(void *x) {
45879 return (void *)((wxEvent *) ((wxPyEvent *) x));
45880}
554f62e9
RD
45881static void *_p_wxListEventTo_p_wxEvent(void *x) {
45882 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
45883}
45884static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
45885 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
45886}
45887static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
45888 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
45889}
45890static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
45891 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
45892}
45893static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
45894 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
45895}
45896static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
45897 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
45898}
45899static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
45900 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
45901}
45902static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
45903 return (void *)((wxEvent *) ((wxIdleEvent *) x));
45904}
45905static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
45906 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
45907}
45908static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
45909 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
45910}
45911static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
45912 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
45913}
45914static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
45915 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
45916}
45917static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
45918 return (void *)((wxEvent *) ((wxActivateEvent *) x));
45919}
45920static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
45921 return (void *)((wxEvent *) ((wxSizeEvent *) x));
45922}
45923static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
45924 return (void *)((wxEvent *) ((wxMoveEvent *) x));
45925}
45926static void *_p_wxDateEventTo_p_wxEvent(void *x) {
45927 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
45928}
2131d850
RD
45929static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
45930 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
45931}
554f62e9
RD
45932static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
45933 return (void *)((wxEvent *) ((wxPaintEvent *) x));
45934}
45935static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
45936 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
45937}
45938static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
45939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
45940}
45941static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
45942 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
45943}
45944static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
45945 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
45946}
45947static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
45948 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
45949}
45950static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
45951 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
45952}
704eda0c
RD
45953static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
45954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
45955}
554f62e9
RD
45956static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
45957 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
45958}
45959static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
45960 return (void *)((wxEvent *) ((wxFocusEvent *) x));
45961}
45962static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
45963 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
45964}
45965static void *_p_wxShowEventTo_p_wxEvent(void *x) {
45966 return (void *)((wxEvent *) ((wxShowEvent *) x));
45967}
45968static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
45969 return (void *)((wxEvent *) ((wxCommandEvent *) x));
45970}
45971static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
45972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
45973}
45974static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
45975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
45976}
45977static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
45978 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
45979}
45980static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
45981 return (void *)((wxEvent *) ((wxKeyEvent *) x));
45982}
45983static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
45984 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
45985}
45986static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
45987 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
45988}
b850e7f3
RD
45989static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
45990 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
45991}
45992static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
45993 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
45994}
45995static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
45996 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
45997}
45998static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
45999 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
46000}
554f62e9
RD
46001static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
46002 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46003}
46004static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
46005 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46006}
46007static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
46008 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
46009}
46010static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46011 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46012}
46013static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
46014 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
46015}
46016static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
46017 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46018}
46019static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
46020 return (void *)((wxPyListCtrl *) ((wxListView *) x));
46021}
46022static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
46023 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
46024}
46025static void *_p_wxToolBarTo_p_wxControl(void *x) {
46026 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
46027}
b850e7f3
RD
46028static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
46029 return (void *)((wxControl *) ((wxPickerBase *) x));
46030}
554f62e9
RD
46031static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
46032 return (void *)((wxControl *) ((wxToggleButton *) x));
46033}
46034static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
46035 return (void *)((wxControl *) ((wxRadioButton *) x));
46036}
46037static void *_p_wxToolbookTo_p_wxControl(void *x) {
46038 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
46039}
46040static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
46041 return (void *)((wxControl *) ((wxToolBarBase *) x));
46042}
46043static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
46044 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46045}
46046static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
46047 return (void *)((wxControl *) ((wxPyListCtrl *) x));
46048}
46049static void *_p_wxComboBoxTo_p_wxControl(void *x) {
46050 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46051}
46052static void *_p_wxPyControlTo_p_wxControl(void *x) {
46053 return (void *)((wxControl *) ((wxPyControl *) x));
46054}
46055static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
46056 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
46057}
46058static void *_p_wxScrollBarTo_p_wxControl(void *x) {
46059 return (void *)((wxControl *) ((wxScrollBar *) x));
46060}
46061static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46062 return (void *)((wxControl *) ((wxControlWithItems *) x));
46063}
46064static void *_p_wxGaugeTo_p_wxControl(void *x) {
46065 return (void *)((wxControl *) ((wxGauge *) x));
46066}
46067static void *_p_wxStaticLineTo_p_wxControl(void *x) {
46068 return (void *)((wxControl *) ((wxStaticLine *) x));
46069}
46070static void *_p_wxChoicebookTo_p_wxControl(void *x) {
46071 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
46072}
46073static void *_p_wxListbookTo_p_wxControl(void *x) {
46074 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
46075}
704eda0c
RD
46076static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
46077 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
46078}
554f62e9
RD
46079static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
46080 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
46081}
46082static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
46083 return (void *)((wxControl *) ((wxCheckBox *) x));
46084}
46085static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
46086 return (void *)((wxControl *) ((wxRadioBox *) x));
46087}
46088static void *_p_wxChoiceTo_p_wxControl(void *x) {
46089 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
46090}
46091static void *_p_wxListBoxTo_p_wxControl(void *x) {
46092 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
46093}
46094static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
46095 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46096}
46097static void *_p_wxListViewTo_p_wxControl(void *x) {
46098 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
46099}
46100static void *_p_wxNotebookTo_p_wxControl(void *x) {
46101 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
46102}
46103static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
46104 return (void *)((wxControl *) ((wxStaticBitmap *) x));
46105}
46106static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
46107 return (void *)((wxControl *) ((wxSpinCtrl *) x));
46108}
46109static void *_p_wxStaticTextTo_p_wxControl(void *x) {
46110 return (void *)((wxControl *) ((wxStaticText *) x));
46111}
46112static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
46113 return (void *)((wxControl *) ((wxStaticBox *) x));
46114}
46115static void *_p_wxSliderTo_p_wxControl(void *x) {
46116 return (void *)((wxControl *) ((wxSlider *) x));
46117}
46118static void *_p_wxTreebookTo_p_wxControl(void *x) {
46119 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
46120}
46121static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
46122 return (void *)((wxControl *) ((wxSpinButton *) x));
46123}
46124static void *_p_wxButtonTo_p_wxControl(void *x) {
46125 return (void *)((wxControl *) ((wxButton *) x));
46126}
46127static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
46128 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
46129}
46130static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
46131 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46132}
46133static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
46134 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
46135}
b850e7f3
RD
46136static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
46137 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
46138}
46139static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
46140 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
46141}
46142static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
46143 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
46144}
46145static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
46146 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
46147}
554f62e9
RD
46148static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
46149 return (void *)((wxControl *) ((wxTextCtrl *) x));
46150}
46151static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
46152 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
46153}
46154static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
46155 return (void *)((wxChoice *) ((wxComboBox *) x));
46156}
46157static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
46158 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
46159}
46160static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
46161 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46162}
46163static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
46164 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
46165}
46166static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
46167 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
46168}
46169static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
46170 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
46171}
46172static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
46173 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46174}
46175static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
46176 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46177}
46178static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
46179 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46180}
46181static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
46182 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46183}
46184static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
46185 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46186}
46187static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
46188 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
46189}
46190static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
46191 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
46192}
46193static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
46194 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
46195}
46196static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
46197 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
46198}
46199static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
46200 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
46201}
46202static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
46203 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
46204}
46205static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
46206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
46207}
46208static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
46209 return (void *)((wxEvtHandler *) ((wxValidator *) x));
46210}
46211static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
46212 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
46213}
46214static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
46215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46216}
b850e7f3
RD
46217static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
46218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
46219}
554f62e9
RD
46220static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
46221 return (void *)((wxEvtHandler *) ((wxMenu *) x));
46222}
46223static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
46224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
46225}
46226static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
46227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
46228}
46229static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
46230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46231}
46232static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
46233 return (void *)((wxEvtHandler *) ((wxWindow *) x));
46234}
46235static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
46236 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
46237}
46238static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
46239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46240}
46241static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
46242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46243}
46244static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
46245 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46246}
46247static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
46248 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46249}
46250static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
46251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
46252}
46253static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
46254 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
46255}
46256static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
46257 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46258}
46259static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
46260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
46261}
46262static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
46263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46264}
46265static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
46266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
46267}
46268static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
46269 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
46270}
46271static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
46272 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46273}
46274static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
46275 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46276}
704eda0c
RD
46277static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
46278 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46279}
554f62e9
RD
46280static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
46281 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46282}
46283static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
46284 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
46285}
46286static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
46287 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
46288}
46289static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
46290 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46291}
46292static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
46293 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46294}
46295static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
46296 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46297}
46298static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
46299 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46300}
46301static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
46302 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46303}
46304static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
46305 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46306}
46307static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
46308 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46309}
46310static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
46311 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
46312}
46313static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
46314 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
46315}
46316static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
46317 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
46318}
46319static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
46320 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46321}
46322static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
46323 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
46324}
46325static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
46326 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
46327}
46328static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
46329 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46330}
46331static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
46332 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46333}
46334static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
46335 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46336}
b850e7f3
RD
46337static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
46338 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46339}
46340static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
46341 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46342}
46343static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
46344 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46345}
46346static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
46347 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46348}
554f62e9
RD
46349static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
46350 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46351}
46352static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
46353 return (void *)((wxListBox *) ((wxCheckListBox *) x));
46354}
46355static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
46356 return (void *)((wxButton *) ((wxBitmapButton *) x));
46357}
46358static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
46359 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
46360}
46361static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
46362 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
46363}
46364static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
46365 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
46366}
46367static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
46368 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
46369}
46370static void *_p_wxToolbookTo_p_wxObject(void *x) {
46371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46372}
46373static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
46374 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
46375}
46376static void *_p_wxSizerItemTo_p_wxObject(void *x) {
46377 return (void *)((wxObject *) ((wxSizerItem *) x));
46378}
46379static void *_p_wxScrollEventTo_p_wxObject(void *x) {
46380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
46381}
46382static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
46383 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
46384}
46385static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
46386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
46387}
46388static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
46389 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
46390}
46391static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
46392 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
46393}
46394static void *_p_wxSizerTo_p_wxObject(void *x) {
46395 return (void *)((wxObject *) ((wxSizer *) x));
46396}
46397static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
46398 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
46399}
46400static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
46401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
46402}
46403static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
46404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46405}
46406static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
46407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
46408}
46409static void *_p_wxEventTo_p_wxObject(void *x) {
46410 return (void *)((wxObject *) ((wxEvent *) x));
46411}
46412static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
46413 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
46414}
46415static void *_p_wxGridSizerTo_p_wxObject(void *x) {
46416 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
46417}
46418static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
46419 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
46420}
46421static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
46422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46423}
b850e7f3
RD
46424static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
46425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
46426}
554f62e9
RD
46427static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
46428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46429}
46430static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
46431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46432}
2131d850
RD
46433static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
46434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
46435}
554f62e9
RD
46436static void *_p_wxPaintEventTo_p_wxObject(void *x) {
46437 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
46438}
46439static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
46440 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
46441}
46442static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
46443 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
46444}
46445static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
46446 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
46447}
46448static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
46449 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46450}
46451static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
46452 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
46453}
46454static void *_p_wxStaticLineTo_p_wxObject(void *x) {
46455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
46456}
46457static void *_p_wxControlTo_p_wxObject(void *x) {
46458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
46459}
46460static void *_p_wxPyControlTo_p_wxObject(void *x) {
46461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
46462}
46463static void *_p_wxGaugeTo_p_wxObject(void *x) {
46464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
46465}
46466static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
46467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
46468}
46469static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
46470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
46471}
46472static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
46473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46474}
46475static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
46476 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
46477}
b850e7f3
RD
46478static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
46479 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
46480}
46481static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
46482 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46483}
46484static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
46485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
46486}
554f62e9
RD
46487static void *_p_wxChoiceTo_p_wxObject(void *x) {
46488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46489}
46490static void *_p_wxFSFileTo_p_wxObject(void *x) {
46491 return (void *)((wxObject *) ((wxFSFile *) x));
46492}
46493static void *_p_wxPySizerTo_p_wxObject(void *x) {
46494 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
46495}
46496static void *_p_wxTreebookTo_p_wxObject(void *x) {
46497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46498}
46499static void *_p_wxListViewTo_p_wxObject(void *x) {
46500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46501}
704eda0c
RD
46502static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
46503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
46504}
554f62e9
RD
46505static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
46506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46507}
46508static void *_p_wxNotebookTo_p_wxObject(void *x) {
46509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46510}
46511static void *_p_wxPyEventTo_p_wxObject(void *x) {
46512 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
46513}
46514static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
46515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
46516}
46517static void *_p_wxChoicebookTo_p_wxObject(void *x) {
46518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46519}
46520static void *_p_wxListbookTo_p_wxObject(void *x) {
46521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46522}
46523static void *_p_wxShowEventTo_p_wxObject(void *x) {
46524 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
46525}
46526static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
46527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46528}
46529static void *_p_wxSliderTo_p_wxObject(void *x) {
46530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
46531}
46532static void *_p_wxMenuItemTo_p_wxObject(void *x) {
46533 return (void *)((wxObject *) ((wxMenuItem *) x));
46534}
46535static void *_p_wxDateEventTo_p_wxObject(void *x) {
46536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
46537}
46538static void *_p_wxIdleEventTo_p_wxObject(void *x) {
46539 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
46540}
46541static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
46542 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
46543}
46544static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
46545 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
46546}
46547static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
46548 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
46549}
46550static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
46551 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
46552}
46553static void *_p_wxSizeEventTo_p_wxObject(void *x) {
46554 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
46555}
46556static void *_p_wxMoveEventTo_p_wxObject(void *x) {
46557 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
46558}
46559static void *_p_wxActivateEventTo_p_wxObject(void *x) {
46560 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
46561}
46562static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
46563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
46564}
46565static void *_p_wxContextHelpTo_p_wxObject(void *x) {
46566 return (void *)((wxObject *) ((wxContextHelp *) x));
46567}
46568static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
46569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
46570}
46571static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
46572 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
46573}
46574static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
46575 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
46576}
46577static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
46578 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
46579}
46580static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
46581 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
46582}
46583static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
46584 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
46585}
46586static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
46587 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46588}
46589static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
46590 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
46591}
46592static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
46593 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
46594}
46595static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
46596 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
46597}
46598static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
46599 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
46600}
46601static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
46602 return (void *)((wxObject *) ((wxImageHandler *) x));
46603}
46604static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
46605 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
46606}
46607static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
46608 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
46609}
46610static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
46611 return (void *)((wxObject *) ((wxEvtHandler *) x));
46612}
46613static void *_p_wxListEventTo_p_wxObject(void *x) {
46614 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46615}
46616static void *_p_wxListBoxTo_p_wxObject(void *x) {
46617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46618}
46619static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
46620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46621}
46622static void *_p_wxButtonTo_p_wxObject(void *x) {
46623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
46624}
46625static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
46626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46627}
46628static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
46629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
46630}
46631static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
46632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46633}
46634static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
46635 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46636}
46637static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
46638 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
46639}
46640static void *_p_wxScrollBarTo_p_wxObject(void *x) {
46641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
46642}
46643static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
46644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
46645}
46646static void *_p_wxComboBoxTo_p_wxObject(void *x) {
46647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46648}
46649static void *_p_wxHelpEventTo_p_wxObject(void *x) {
46650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
46651}
46652static void *_p_wxListItemTo_p_wxObject(void *x) {
46653 return (void *)((wxObject *) ((wxListItem *) x));
46654}
46655static void *_p_wxImageTo_p_wxObject(void *x) {
46656 return (void *)((wxObject *) ((wxImage *) x));
46657}
46658static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
46659 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
46660}
46661static void *_p_wxSpinEventTo_p_wxObject(void *x) {
46662 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46663}
46664static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
46665 return (void *)((wxObject *) ((wxGenericDragImage *) x));
46666}
46667static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
46668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46669}
46670static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
46671 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46672}
46673static void *_p_wxListbookEventTo_p_wxObject(void *x) {
46674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46675}
46676static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
46677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46678}
46679static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
46680 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46681}
46682static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
46683 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46684}
46685static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
46686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46687}
46688static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
46689 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
46690}
46691static void *_p_wxKeyEventTo_p_wxObject(void *x) {
46692 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
46693}
46694static void *_p_wxWindowTo_p_wxObject(void *x) {
46695 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
46696}
46697static void *_p_wxMenuTo_p_wxObject(void *x) {
46698 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
46699}
46700static void *_p_wxMenuBarTo_p_wxObject(void *x) {
46701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
46702}
46703static void *_p_wxFileSystemTo_p_wxObject(void *x) {
46704 return (void *)((wxObject *) ((wxFileSystem *) x));
46705}
46706static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
46707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
46708}
46709static void *_p_wxMenuEventTo_p_wxObject(void *x) {
46710 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
46711}
46712static void *_p_wxPyAppTo_p_wxObject(void *x) {
46713 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
46714}
46715static void *_p_wxCloseEventTo_p_wxObject(void *x) {
46716 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
46717}
46718static void *_p_wxMouseEventTo_p_wxObject(void *x) {
46719 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
46720}
46721static void *_p_wxEraseEventTo_p_wxObject(void *x) {
46722 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
46723}
46724static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
46725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46726}
46727static void *_p_wxTreeEventTo_p_wxObject(void *x) {
46728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46729}
46730static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
46731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
46732}
46733static void *_p_wxCommandEventTo_p_wxObject(void *x) {
46734 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
46735}
46736static void *_p_wxStaticTextTo_p_wxObject(void *x) {
46737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
46738}
46739static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
46740 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
46741}
46742static void *_p_wxFocusEventTo_p_wxObject(void *x) {
46743 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
46744}
46745static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
46746 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
46747}
46748static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
46749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46750}
b850e7f3
RD
46751static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
46752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46753}
46754static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
46755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46756}
46757static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
46758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46759}
46760static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
46761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46762}
554f62e9
RD
46763static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
46764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46765}
704eda0c
RD
46766static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
46767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46768}
554f62e9
RD
46769static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
46770 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
46771}
46772static void *_p_wxToolBarTo_p_wxObject(void *x) {
46773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46774}
46775static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
46776 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
46777}
46778static void *_p_wxValidatorTo_p_wxObject(void *x) {
46779 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
46780}
46781static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
46782 return (void *)((wxWindow *) ((wxMenuBar *) x));
46783}
46784static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
46785 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
46786}
46787static void *_p_wxToolBarTo_p_wxWindow(void *x) {
46788 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46789}
b850e7f3
RD
46790static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
46791 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
46792}
554f62e9
RD
46793static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
46794 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
46795}
46796static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
46797 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
46798}
46799static void *_p_wxToolbookTo_p_wxWindow(void *x) {
46800 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46801}
46802static void *_p_wxControlTo_p_wxWindow(void *x) {
46803 return (void *)((wxWindow *) ((wxControl *) x));
46804}
46805static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
46806 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
46807}
46808static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
46809 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
46810}
46811static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
46812 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46813}
46814static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
46815 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46816}
46817static void *_p_wxPyControlTo_p_wxWindow(void *x) {
46818 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
46819}
46820static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
46821 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
46822}
46823static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
46824 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
46825}
46826static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
46827 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
46828}
46829static void *_p_wxGaugeTo_p_wxWindow(void *x) {
46830 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
46831}
46832static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
46833 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
46834}
46835static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
46836 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46837}
46838static void *_p_wxListbookTo_p_wxWindow(void *x) {
46839 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46840}
704eda0c
RD
46841static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
46842 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
46843}
554f62e9
RD
46844static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
46845 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
46846}
46847static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
46848 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
46849}
46850static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
46851 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
46852}
46853static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
46854 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46855}
46856static void *_p_wxChoiceTo_p_wxWindow(void *x) {
46857 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46858}
46859static void *_p_wxListBoxTo_p_wxWindow(void *x) {
46860 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46861}
46862static void *_p_wxListViewTo_p_wxWindow(void *x) {
46863 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46864}
46865static void *_p_wxNotebookTo_p_wxWindow(void *x) {
46866 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46867}
46868static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
46869 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
46870}
46871static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
46872 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
46873}
46874static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
46875 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
46876}
46877static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
46878 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
46879}
46880static void *_p_wxSliderTo_p_wxWindow(void *x) {
46881 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
46882}
46883static void *_p_wxTreebookTo_p_wxWindow(void *x) {
46884 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46885}
46886static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
46887 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
46888}
46889static void *_p_wxButtonTo_p_wxWindow(void *x) {
46890 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
46891}
46892static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
46893 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
46894}
46895static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
46896 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46897}
46898static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
46899 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
46900}
b850e7f3
RD
46901static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
46902 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46903}
46904static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
46905 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46906}
46907static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
46908 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46909}
46910static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
46911 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46912}
554f62e9
RD
46913static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
46914 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
46915}
46916static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46917 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46918}
46919static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46920 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46921}
46922static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46923 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46924}
46925static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46926 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46927}
46928static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46929 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46930}
46931static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
46932 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46933}
704eda0c
RD
46934static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
46935 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
46936}
2131d850
RD
46937static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
46938 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
46939}
b850e7f3
RD
46940static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
46941 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
46942}
46943static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
46944 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46945}
46946static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
46947 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
46948}
554f62e9
RD
46949static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
46950 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
46951}
46952static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
46953 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
46954}
46955static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
46956 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
46957}
46958static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
46959 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
46960}
46961static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
46962 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
46963}
554f62e9
RD
46964static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
46965 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46966}
2131d850
RD
46967static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
46968 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46969}
554f62e9
RD
46970static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
46971 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46972}
46973static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
46974 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46975}
46976static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
46977 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46978}
46979static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
46980 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
46981}
46982static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
46983 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
46984}
46985static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
46986 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
46987}
46988static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
46989 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46990}
46991static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
46992 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
46993}
46994static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
46995 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
46996}
46997static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
46998 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
46999}
47000static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47001 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47002}
47003static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47004 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47005}
47006static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
47007 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
47008}
47009static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
47010 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
47011}
47012static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
47013 return (void *)((wxControlWithItems *) ((wxChoice *) x));
47014}
47015static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
47016 return (void *)((wxControlWithItems *) ((wxListBox *) x));
47017}
47018static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
47019 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
47020}
47021static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47022 return (void *)((wxValidator *) ((wxPyValidator *) x));
47023}
47024static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47025static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
47026static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
47027static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
47028static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
47029static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47030static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47031static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47032static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
47033static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47034static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47035static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47036static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47037static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47038static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47039static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47040static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47041static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47042static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47043static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47044static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47045static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
47046static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47047static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
47048static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47049static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47050static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 47051static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9
RD
47052static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47053static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47054static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47055static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47056static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47057static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47058static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47059static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47060static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47061static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47062static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47063static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47064static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47065static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47066static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47067static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 47068static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
554f62e9
RD
47069static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47070static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47071static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47072static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47073static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47074static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47075static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47076static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47077static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47078static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47079static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47080static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47081static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47082static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47083static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47084static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47085static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47086static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47087static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47088static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47089static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47090static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47091static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47092static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47093static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47094static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47095static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47096static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47097static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47098static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
47099static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
b850e7f3
RD
47100static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47101static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
554f62e9 47102static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
47103static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47104static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
47105static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47106static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47107static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47108static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47109static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
47110static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47111static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
47112static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47113static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47114static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47115static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47116static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47117static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47118static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47119static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47120static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47121static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47122static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47123static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47124static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47125static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47126static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47127static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47128static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47129static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47130static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47131static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47132static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47133static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47134static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47135static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
47136static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47137static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47138static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47139static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
47140static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
47141static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
47142static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47143static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47144static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47145static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47146static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
47147static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47148static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47149static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47150static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 47151static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 47152static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
47153static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47154static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47155static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47156static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47157static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
47158static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47159static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 47160static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
554f62e9
RD
47161static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47162static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47163static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47164static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47165static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47166static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47167static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47168static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47169static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47170static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47171static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47172static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47173static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47174static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47175static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47176static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47177static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47178static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47179static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47180static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47181static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47182static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47183static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47184static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47185static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47186static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47187static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47188static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47189static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47190static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47191static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47192static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47193static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47194static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47195static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47196static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47197static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 47198static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
554f62e9
RD
47199
47200static swig_type_info *swig_type_initial[] = {
47201 &_swigt__p_bool,
47202 &_swigt__p_char,
47203 &_swigt__p_form_ops_t,
47204 &_swigt__p_int,
47205 &_swigt__p_long,
47206 &_swigt__p_unsigned_char,
47207 &_swigt__p_unsigned_int,
47208 &_swigt__p_unsigned_long,
47209 &_swigt__p_void,
47210 &_swigt__p_wxANIHandler,
47211 &_swigt__p_wxAcceleratorTable,
47212 &_swigt__p_wxActivateEvent,
47213 &_swigt__p_wxArrayInt,
47214 &_swigt__p_wxArrayString,
47215 &_swigt__p_wxBMPHandler,
47216 &_swigt__p_wxBitmap,
47217 &_swigt__p_wxBitmapButton,
47218 &_swigt__p_wxBookCtrlBase,
47219 &_swigt__p_wxBookCtrlBaseEvent,
47220 &_swigt__p_wxBoxSizer,
47221 &_swigt__p_wxButton,
47222 &_swigt__p_wxCURHandler,
47223 &_swigt__p_wxCheckBox,
47224 &_swigt__p_wxCheckListBox,
47225 &_swigt__p_wxChildFocusEvent,
47226 &_swigt__p_wxChoice,
47227 &_swigt__p_wxChoicebook,
47228 &_swigt__p_wxChoicebookEvent,
2131d850 47229 &_swigt__p_wxClipboardTextEvent,
554f62e9
RD
47230 &_swigt__p_wxCloseEvent,
47231 &_swigt__p_wxColour,
b850e7f3
RD
47232 &_swigt__p_wxColourPickerCtrl,
47233 &_swigt__p_wxColourPickerEvent,
554f62e9
RD
47234 &_swigt__p_wxComboBox,
47235 &_swigt__p_wxCommandEvent,
47236 &_swigt__p_wxContextHelp,
47237 &_swigt__p_wxContextHelpButton,
47238 &_swigt__p_wxContextMenuEvent,
47239 &_swigt__p_wxControl,
47240 &_swigt__p_wxControlWithItems,
47241 &_swigt__p_wxCursor,
47242 &_swigt__p_wxDC,
47243 &_swigt__p_wxDateEvent,
47244 &_swigt__p_wxDatePickerCtrl,
47245 &_swigt__p_wxDateTime,
47246 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 47247 &_swigt__p_wxDirPickerCtrl,
554f62e9
RD
47248 &_swigt__p_wxDisplayChangedEvent,
47249 &_swigt__p_wxDropFilesEvent,
47250 &_swigt__p_wxDuplexMode,
47251 &_swigt__p_wxEraseEvent,
47252 &_swigt__p_wxEvent,
47253 &_swigt__p_wxEvtHandler,
47254 &_swigt__p_wxFSFile,
b850e7f3
RD
47255 &_swigt__p_wxFileDirPickerEvent,
47256 &_swigt__p_wxFilePickerCtrl,
554f62e9
RD
47257 &_swigt__p_wxFileSystem,
47258 &_swigt__p_wxFlexGridSizer,
47259 &_swigt__p_wxFocusEvent,
47260 &_swigt__p_wxFont,
b850e7f3
RD
47261 &_swigt__p_wxFontPickerCtrl,
47262 &_swigt__p_wxFontPickerEvent,
554f62e9
RD
47263 &_swigt__p_wxGBSizerItem,
47264 &_swigt__p_wxGIFHandler,
47265 &_swigt__p_wxGauge,
47266 &_swigt__p_wxGenericDirCtrl,
47267 &_swigt__p_wxGenericDragImage,
47268 &_swigt__p_wxGridBagSizer,
47269 &_swigt__p_wxGridSizer,
47270 &_swigt__p_wxHelpEvent,
47271 &_swigt__p_wxHelpProvider,
704eda0c
RD
47272 &_swigt__p_wxHyperlinkCtrl,
47273 &_swigt__p_wxHyperlinkEvent,
554f62e9
RD
47274 &_swigt__p_wxICOHandler,
47275 &_swigt__p_wxIcon,
47276 &_swigt__p_wxIconizeEvent,
47277 &_swigt__p_wxIdleEvent,
47278 &_swigt__p_wxImage,
47279 &_swigt__p_wxImageHandler,
47280 &_swigt__p_wxImageList,
47281 &_swigt__p_wxIndividualLayoutConstraint,
47282 &_swigt__p_wxInitDialogEvent,
47283 &_swigt__p_wxItemContainer,
47284 &_swigt__p_wxJPEGHandler,
47285 &_swigt__p_wxKeyEvent,
47286 &_swigt__p_wxLayoutConstraints,
47287 &_swigt__p_wxListBox,
47288 &_swigt__p_wxListEvent,
47289 &_swigt__p_wxListItem,
47290 &_swigt__p_wxListItemAttr,
47291 &_swigt__p_wxListView,
47292 &_swigt__p_wxListbook,
47293 &_swigt__p_wxListbookEvent,
47294 &_swigt__p_wxMaximizeEvent,
47295 &_swigt__p_wxMemoryDC,
47296 &_swigt__p_wxMenu,
47297 &_swigt__p_wxMenuBar,
47298 &_swigt__p_wxMenuEvent,
47299 &_swigt__p_wxMenuItem,
47300 &_swigt__p_wxMouseCaptureChangedEvent,
47301 &_swigt__p_wxMouseEvent,
47302 &_swigt__p_wxMoveEvent,
47303 &_swigt__p_wxNavigationKeyEvent,
47304 &_swigt__p_wxNcPaintEvent,
47305 &_swigt__p_wxNotebook,
47306 &_swigt__p_wxNotebookEvent,
47307 &_swigt__p_wxNotifyEvent,
47308 &_swigt__p_wxObject,
47309 &_swigt__p_wxPCXHandler,
47310 &_swigt__p_wxPNGHandler,
47311 &_swigt__p_wxPNMHandler,
47312 &_swigt__p_wxPaintEvent,
47313 &_swigt__p_wxPaletteChangedEvent,
47314 &_swigt__p_wxPaperSize,
b850e7f3 47315 &_swigt__p_wxPickerBase,
554f62e9
RD
47316 &_swigt__p_wxPoint,
47317 &_swigt__p_wxPyApp,
47318 &_swigt__p_wxPyCommandEvent,
47319 &_swigt__p_wxPyControl,
47320 &_swigt__p_wxPyEvent,
47321 &_swigt__p_wxPyImageHandler,
47322 &_swigt__p_wxPyListCtrl,
47323 &_swigt__p_wxPySizer,
47324 &_swigt__p_wxPyTreeCtrl,
47325 &_swigt__p_wxPyTreeItemData,
47326 &_swigt__p_wxPyValidator,
47327 &_swigt__p_wxQueryNewPaletteEvent,
47328 &_swigt__p_wxRadioBox,
47329 &_swigt__p_wxRadioButton,
47330 &_swigt__p_wxRect,
47331 &_swigt__p_wxScrollBar,
47332 &_swigt__p_wxScrollEvent,
47333 &_swigt__p_wxScrollWinEvent,
47334 &_swigt__p_wxSetCursorEvent,
47335 &_swigt__p_wxShowEvent,
47336 &_swigt__p_wxSimpleHelpProvider,
47337 &_swigt__p_wxSize,
47338 &_swigt__p_wxSizeEvent,
47339 &_swigt__p_wxSizer,
47340 &_swigt__p_wxSizerItem,
47341 &_swigt__p_wxSlider,
47342 &_swigt__p_wxSpinButton,
47343 &_swigt__p_wxSpinCtrl,
47344 &_swigt__p_wxSpinEvent,
47345 &_swigt__p_wxStaticBitmap,
47346 &_swigt__p_wxStaticBox,
47347 &_swigt__p_wxStaticBoxSizer,
47348 &_swigt__p_wxStaticLine,
47349 &_swigt__p_wxStaticText,
47350 &_swigt__p_wxStdDialogButtonSizer,
47351 &_swigt__p_wxString,
47352 &_swigt__p_wxSysColourChangedEvent,
47353 &_swigt__p_wxTIFFHandler,
47354 &_swigt__p_wxTextAttr,
47355 &_swigt__p_wxTextCtrl,
47356 &_swigt__p_wxTextUrlEvent,
47357 &_swigt__p_wxToggleButton,
47358 &_swigt__p_wxToolBar,
47359 &_swigt__p_wxToolBarBase,
47360 &_swigt__p_wxToolBarToolBase,
47361 &_swigt__p_wxToolbook,
47362 &_swigt__p_wxToolbookEvent,
47363 &_swigt__p_wxTreeCtrl,
47364 &_swigt__p_wxTreeEvent,
47365 &_swigt__p_wxTreeItemId,
47366 &_swigt__p_wxTreebook,
47367 &_swigt__p_wxTreebookEvent,
47368 &_swigt__p_wxUpdateUIEvent,
47369 &_swigt__p_wxValidator,
47370 &_swigt__p_wxVisualAttributes,
47371 &_swigt__p_wxWindow,
b850e7f3 47372 &_swigt__p_wxWindowBase,
554f62e9
RD
47373 &_swigt__p_wxWindowCreateEvent,
47374 &_swigt__p_wxWindowDestroyEvent,
47375 &_swigt__p_wxXPMHandler,
47376};
47377
47378static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
47379static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
47380static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
47381static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
47382static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
47383static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
47384static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
47385static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
47386static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
47387static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
47388static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
47389static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
47390static 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}};
47391static 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}};
47392static 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}};
47393static 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}};
47394static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
47395static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
47396static 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}};
47397static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
47398static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47399static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47400static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47401static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47402static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
47403static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 47404static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47405static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
47406static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
47407static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
47408static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
47409static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
47410static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
47411static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47412static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47413static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
47414static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47415static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47416static 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}};
47417static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
47418static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
47419static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47420static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
47421static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47422static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47423static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
47424static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
47425static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
47426static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
47427static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
47428static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
47429static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
47430static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
47431static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
47432static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47433static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47434static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
47435static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47436static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
47437static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
47438static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
47439static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47440static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47441static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47442static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47443static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
47444static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
47445static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
47446static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
47447static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47448static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47449static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
47450static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
47451static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
47452static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47453static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
47454static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
47455static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 47456static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47457static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47458static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47459static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
47460static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
47461static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
47462static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
47463static 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
47464static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
47465static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47466static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
47467static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
47468static 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}};
47469static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
47470static 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}};
47471static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
47472static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
47473static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
47474static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
47475static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
47476static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
47477static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
47478static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
47479static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
47480static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47481static 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}};
47482static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
47483static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
47484static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
47485static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
47486static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
47487static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
47488static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
47489static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
47490static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
47491static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
47492static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
47493static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
47494static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47495static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
47496static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
47497static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
47498static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
47499static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47500static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
47501static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
47502static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
47503static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 47504static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 47505static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47506static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
47507static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
47508static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
47509static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
47510static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
47511static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47512static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
554f62e9 47513static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47514static 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
47515static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
47516static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
47517static 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}};
47518static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
47519static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
47520static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
47521static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
47522static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
47523static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
47524static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
47525static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
47526static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
47527static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
47528static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
47529static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
47530static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
47531static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
47532static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
47533static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
47534static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
47535static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
47536static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
47537static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
47538static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
47539static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
47540static 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}};
47541static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
47542static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
47543static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
47544static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
47545static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
47546static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
47547static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
47548static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47549static 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}};
47550static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47551static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
47552static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
47553
47554static swig_cast_info *swig_cast_initial[] = {
47555 _swigc__p_bool,
47556 _swigc__p_char,
47557 _swigc__p_form_ops_t,
47558 _swigc__p_int,
47559 _swigc__p_long,
47560 _swigc__p_unsigned_char,
47561 _swigc__p_unsigned_int,
47562 _swigc__p_unsigned_long,
47563 _swigc__p_void,
47564 _swigc__p_wxANIHandler,
47565 _swigc__p_wxAcceleratorTable,
47566 _swigc__p_wxActivateEvent,
47567 _swigc__p_wxArrayInt,
47568 _swigc__p_wxArrayString,
47569 _swigc__p_wxBMPHandler,
47570 _swigc__p_wxBitmap,
47571 _swigc__p_wxBitmapButton,
47572 _swigc__p_wxBookCtrlBase,
47573 _swigc__p_wxBookCtrlBaseEvent,
47574 _swigc__p_wxBoxSizer,
47575 _swigc__p_wxButton,
47576 _swigc__p_wxCURHandler,
47577 _swigc__p_wxCheckBox,
47578 _swigc__p_wxCheckListBox,
47579 _swigc__p_wxChildFocusEvent,
47580 _swigc__p_wxChoice,
47581 _swigc__p_wxChoicebook,
47582 _swigc__p_wxChoicebookEvent,
2131d850 47583 _swigc__p_wxClipboardTextEvent,
554f62e9
RD
47584 _swigc__p_wxCloseEvent,
47585 _swigc__p_wxColour,
b850e7f3
RD
47586 _swigc__p_wxColourPickerCtrl,
47587 _swigc__p_wxColourPickerEvent,
554f62e9
RD
47588 _swigc__p_wxComboBox,
47589 _swigc__p_wxCommandEvent,
47590 _swigc__p_wxContextHelp,
47591 _swigc__p_wxContextHelpButton,
47592 _swigc__p_wxContextMenuEvent,
47593 _swigc__p_wxControl,
47594 _swigc__p_wxControlWithItems,
47595 _swigc__p_wxCursor,
47596 _swigc__p_wxDC,
47597 _swigc__p_wxDateEvent,
47598 _swigc__p_wxDatePickerCtrl,
47599 _swigc__p_wxDateTime,
47600 _swigc__p_wxDirFilterListCtrl,
b850e7f3 47601 _swigc__p_wxDirPickerCtrl,
554f62e9
RD
47602 _swigc__p_wxDisplayChangedEvent,
47603 _swigc__p_wxDropFilesEvent,
47604 _swigc__p_wxDuplexMode,
47605 _swigc__p_wxEraseEvent,
47606 _swigc__p_wxEvent,
47607 _swigc__p_wxEvtHandler,
47608 _swigc__p_wxFSFile,
b850e7f3
RD
47609 _swigc__p_wxFileDirPickerEvent,
47610 _swigc__p_wxFilePickerCtrl,
554f62e9
RD
47611 _swigc__p_wxFileSystem,
47612 _swigc__p_wxFlexGridSizer,
47613 _swigc__p_wxFocusEvent,
47614 _swigc__p_wxFont,
b850e7f3
RD
47615 _swigc__p_wxFontPickerCtrl,
47616 _swigc__p_wxFontPickerEvent,
554f62e9
RD
47617 _swigc__p_wxGBSizerItem,
47618 _swigc__p_wxGIFHandler,
47619 _swigc__p_wxGauge,
47620 _swigc__p_wxGenericDirCtrl,
47621 _swigc__p_wxGenericDragImage,
47622 _swigc__p_wxGridBagSizer,
47623 _swigc__p_wxGridSizer,
47624 _swigc__p_wxHelpEvent,
47625 _swigc__p_wxHelpProvider,
704eda0c
RD
47626 _swigc__p_wxHyperlinkCtrl,
47627 _swigc__p_wxHyperlinkEvent,
554f62e9
RD
47628 _swigc__p_wxICOHandler,
47629 _swigc__p_wxIcon,
47630 _swigc__p_wxIconizeEvent,
47631 _swigc__p_wxIdleEvent,
47632 _swigc__p_wxImage,
47633 _swigc__p_wxImageHandler,
47634 _swigc__p_wxImageList,
47635 _swigc__p_wxIndividualLayoutConstraint,
47636 _swigc__p_wxInitDialogEvent,
47637 _swigc__p_wxItemContainer,
47638 _swigc__p_wxJPEGHandler,
47639 _swigc__p_wxKeyEvent,
47640 _swigc__p_wxLayoutConstraints,
47641 _swigc__p_wxListBox,
47642 _swigc__p_wxListEvent,
47643 _swigc__p_wxListItem,
47644 _swigc__p_wxListItemAttr,
47645 _swigc__p_wxListView,
47646 _swigc__p_wxListbook,
47647 _swigc__p_wxListbookEvent,
47648 _swigc__p_wxMaximizeEvent,
47649 _swigc__p_wxMemoryDC,
47650 _swigc__p_wxMenu,
47651 _swigc__p_wxMenuBar,
47652 _swigc__p_wxMenuEvent,
47653 _swigc__p_wxMenuItem,
47654 _swigc__p_wxMouseCaptureChangedEvent,
47655 _swigc__p_wxMouseEvent,
47656 _swigc__p_wxMoveEvent,
47657 _swigc__p_wxNavigationKeyEvent,
47658 _swigc__p_wxNcPaintEvent,
47659 _swigc__p_wxNotebook,
47660 _swigc__p_wxNotebookEvent,
47661 _swigc__p_wxNotifyEvent,
47662 _swigc__p_wxObject,
47663 _swigc__p_wxPCXHandler,
47664 _swigc__p_wxPNGHandler,
47665 _swigc__p_wxPNMHandler,
47666 _swigc__p_wxPaintEvent,
47667 _swigc__p_wxPaletteChangedEvent,
47668 _swigc__p_wxPaperSize,
b850e7f3 47669 _swigc__p_wxPickerBase,
554f62e9
RD
47670 _swigc__p_wxPoint,
47671 _swigc__p_wxPyApp,
47672 _swigc__p_wxPyCommandEvent,
47673 _swigc__p_wxPyControl,
47674 _swigc__p_wxPyEvent,
47675 _swigc__p_wxPyImageHandler,
47676 _swigc__p_wxPyListCtrl,
47677 _swigc__p_wxPySizer,
47678 _swigc__p_wxPyTreeCtrl,
47679 _swigc__p_wxPyTreeItemData,
47680 _swigc__p_wxPyValidator,
47681 _swigc__p_wxQueryNewPaletteEvent,
47682 _swigc__p_wxRadioBox,
47683 _swigc__p_wxRadioButton,
47684 _swigc__p_wxRect,
47685 _swigc__p_wxScrollBar,
47686 _swigc__p_wxScrollEvent,
47687 _swigc__p_wxScrollWinEvent,
47688 _swigc__p_wxSetCursorEvent,
47689 _swigc__p_wxShowEvent,
47690 _swigc__p_wxSimpleHelpProvider,
47691 _swigc__p_wxSize,
47692 _swigc__p_wxSizeEvent,
47693 _swigc__p_wxSizer,
47694 _swigc__p_wxSizerItem,
47695 _swigc__p_wxSlider,
47696 _swigc__p_wxSpinButton,
47697 _swigc__p_wxSpinCtrl,
47698 _swigc__p_wxSpinEvent,
47699 _swigc__p_wxStaticBitmap,
47700 _swigc__p_wxStaticBox,
47701 _swigc__p_wxStaticBoxSizer,
47702 _swigc__p_wxStaticLine,
47703 _swigc__p_wxStaticText,
47704 _swigc__p_wxStdDialogButtonSizer,
47705 _swigc__p_wxString,
47706 _swigc__p_wxSysColourChangedEvent,
47707 _swigc__p_wxTIFFHandler,
47708 _swigc__p_wxTextAttr,
47709 _swigc__p_wxTextCtrl,
47710 _swigc__p_wxTextUrlEvent,
47711 _swigc__p_wxToggleButton,
47712 _swigc__p_wxToolBar,
47713 _swigc__p_wxToolBarBase,
47714 _swigc__p_wxToolBarToolBase,
47715 _swigc__p_wxToolbook,
47716 _swigc__p_wxToolbookEvent,
47717 _swigc__p_wxTreeCtrl,
47718 _swigc__p_wxTreeEvent,
47719 _swigc__p_wxTreeItemId,
47720 _swigc__p_wxTreebook,
47721 _swigc__p_wxTreebookEvent,
47722 _swigc__p_wxUpdateUIEvent,
47723 _swigc__p_wxValidator,
47724 _swigc__p_wxVisualAttributes,
47725 _swigc__p_wxWindow,
b850e7f3 47726 _swigc__p_wxWindowBase,
554f62e9
RD
47727 _swigc__p_wxWindowCreateEvent,
47728 _swigc__p_wxWindowDestroyEvent,
47729 _swigc__p_wxXPMHandler,
47730};
47731
47732
47733/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47734
47735static swig_const_info swig_const_table[] = {
47736{0, 0, 0, 0.0, 0, 0}};
47737
47738#ifdef __cplusplus
47739}
47740#endif
47741/* -----------------------------------------------------------------------------
47742 * Type initialization:
47743 * This problem is tough by the requirement that no dynamic
47744 * memory is used. Also, since swig_type_info structures store pointers to
47745 * swig_cast_info structures and swig_cast_info structures store pointers back
47746 * to swig_type_info structures, we need some lookup code at initialization.
47747 * The idea is that swig generates all the structures that are needed.
47748 * The runtime then collects these partially filled structures.
47749 * The SWIG_InitializeModule function takes these initial arrays out of
47750 * swig_module, and does all the lookup, filling in the swig_module.types
47751 * array with the correct data and linking the correct swig_cast_info
47752 * structures together.
47753 *
47754 * The generated swig_type_info structures are assigned staticly to an initial
47755 * array. We just loop though that array, and handle each type individually.
47756 * First we lookup if this type has been already loaded, and if so, use the
47757 * loaded structure instead of the generated one. Then we have to fill in the
47758 * cast linked list. The cast data is initially stored in something like a
47759 * two-dimensional array. Each row corresponds to a type (there are the same
47760 * number of rows as there are in the swig_type_initial array). Each entry in
47761 * a column is one of the swig_cast_info structures for that type.
47762 * The cast_initial array is actually an array of arrays, because each row has
47763 * a variable number of columns. So to actually build the cast linked list,
47764 * we find the array of casts associated with the type, and loop through it
47765 * adding the casts to the list. The one last trick we need to do is making
47766 * sure the type pointer in the swig_cast_info struct is correct.
47767 *
47768 * First off, we lookup the cast->type name to see if it is already loaded.
47769 * There are three cases to handle:
47770 * 1) If the cast->type has already been loaded AND the type we are adding
47771 * casting info to has not been loaded (it is in this module), THEN we
47772 * replace the cast->type pointer with the type pointer that has already
47773 * been loaded.
47774 * 2) If BOTH types (the one we are adding casting info to, and the
47775 * cast->type) are loaded, THEN the cast info has already been loaded by
47776 * the previous module so we just ignore it.
47777 * 3) Finally, if cast->type has not already been loaded, then we add that
47778 * swig_cast_info to the linked list (because the cast->type) pointer will
47779 * be correct.
47780 * ----------------------------------------------------------------------------- */
47781
47782#ifdef __cplusplus
47783extern "C" {
47784#if 0
47785} /* c-mode */
47786#endif
47787#endif
47788
47789#if 0
47790#define SWIGRUNTIME_DEBUG
47791#endif
47792
47793SWIGRUNTIME void
47794SWIG_InitializeModule(void *clientdata) {
47795 size_t i;
47796 swig_module_info *module_head;
47797 static int init_run = 0;
47798
47799 clientdata = clientdata;
47800
47801 if (init_run) return;
47802 init_run = 1;
47803
47804 /* Initialize the swig_module */
47805 swig_module.type_initial = swig_type_initial;
47806 swig_module.cast_initial = swig_cast_initial;
47807
47808 /* Try and load any already created modules */
47809 module_head = SWIG_GetModule(clientdata);
47810 if (module_head) {
47811 swig_module.next = module_head->next;
47812 module_head->next = &swig_module;
47813 } else {
47814 /* This is the first module loaded */
47815 swig_module.next = &swig_module;
47816 SWIG_SetModule(clientdata, &swig_module);
47817 }
47818
47819 /* Now work on filling in swig_module.types */
47820#ifdef SWIGRUNTIME_DEBUG
47821 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
47822#endif
47823 for (i = 0; i < swig_module.size; ++i) {
47824 swig_type_info *type = 0;
47825 swig_type_info *ret;
47826 swig_cast_info *cast;
d55e5bfc 47827
554f62e9
RD
47828#ifdef SWIGRUNTIME_DEBUG
47829 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
47830#endif
d55e5bfc 47831
554f62e9
RD
47832 /* if there is another module already loaded */
47833 if (swig_module.next != &swig_module) {
47834 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 47835 }
554f62e9
RD
47836 if (type) {
47837 /* Overwrite clientdata field */
47838#ifdef SWIGRUNTIME_DEBUG
47839 printf("SWIG_InitializeModule: found type %s\n", type->name);
47840#endif
47841 if (swig_module.type_initial[i]->clientdata) {
47842 type->clientdata = swig_module.type_initial[i]->clientdata;
47843#ifdef SWIGRUNTIME_DEBUG
47844 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
47845#endif
47846 }
47847 } else {
47848 type = swig_module.type_initial[i];
093d3ff1 47849 }
d55e5bfc 47850
554f62e9
RD
47851 /* Insert casting types */
47852 cast = swig_module.cast_initial[i];
47853 while (cast->type) {
47854 /* Don't need to add information already in the list */
47855 ret = 0;
47856#ifdef SWIGRUNTIME_DEBUG
47857 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
47858#endif
47859 if (swig_module.next != &swig_module) {
47860 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
47861#ifdef SWIGRUNTIME_DEBUG
47862 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
47863#endif
47864 }
47865 if (ret) {
47866 if (type == swig_module.type_initial[i]) {
47867#ifdef SWIGRUNTIME_DEBUG
47868 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
47869#endif
47870 cast->type = ret;
47871 ret = 0;
47872 } else {
47873 /* Check for casting already in the list */
47874 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
47875#ifdef SWIGRUNTIME_DEBUG
47876 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
47877#endif
47878 if (!ocast) ret = 0;
47879 }
47880 }
47881
47882 if (!ret) {
47883#ifdef SWIGRUNTIME_DEBUG
47884 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
47885#endif
47886 if (type->cast) {
47887 type->cast->prev = cast;
47888 cast->next = type->cast;
47889 }
47890 type->cast = cast;
47891 }
47892 cast++;
093d3ff1 47893 }
554f62e9
RD
47894 /* Set entry in modules->types array equal to the type */
47895 swig_module.types[i] = type;
47896 }
47897 swig_module.types[i] = 0;
47898
47899#ifdef SWIGRUNTIME_DEBUG
47900 printf("**** SWIG_InitializeModule: Cast List ******\n");
47901 for (i = 0; i < swig_module.size; ++i) {
47902 int j = 0;
47903 swig_cast_info *cast = swig_module.cast_initial[i];
47904 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
47905 while (cast->type) {
47906 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
47907 cast++;
47908 ++j;
47909 }
47910 printf("---- Total casts: %d\n",j);
47911 }
47912 printf("**** SWIG_InitializeModule: Cast List ******\n");
47913#endif
47914}
47915
47916/* This function will propagate the clientdata field of type to
47917* any new swig_type_info structures that have been added into the list
47918* of equivalent types. It is like calling
47919* SWIG_TypeClientData(type, clientdata) a second time.
47920*/
47921SWIGRUNTIME void
47922SWIG_PropagateClientData(void) {
47923 size_t i;
47924 swig_cast_info *equiv;
47925 static int init_run = 0;
47926
47927 if (init_run) return;
47928 init_run = 1;
47929
47930 for (i = 0; i < swig_module.size; i++) {
47931 if (swig_module.types[i]->clientdata) {
47932 equiv = swig_module.types[i]->cast;
47933 while (equiv) {
47934 if (!equiv->converter) {
47935 if (equiv->type && !equiv->type->clientdata)
47936 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
47937 }
47938 equiv = equiv->next;
47939 }
093d3ff1 47940 }
554f62e9
RD
47941 }
47942}
47943
47944#ifdef __cplusplus
47945#if 0
47946{
47947 /* c-mode */
47948#endif
47949}
47950#endif
47951
47952
47953
47954#ifdef __cplusplus
47955extern "C" {
47956#endif
47957
47958 /* Python-specific SWIG API */
47959#define SWIG_newvarlink() SWIG_Python_newvarlink()
47960#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47961#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47962
47963 /* -----------------------------------------------------------------------------
47964 * global variable support code.
47965 * ----------------------------------------------------------------------------- */
47966
47967 typedef struct swig_globalvar {
47968 char *name; /* Name of global variable */
47969 PyObject *(*get_attr)(void); /* Return the current value */
47970 int (*set_attr)(PyObject *); /* Set the value */
47971 struct swig_globalvar *next;
47972 } swig_globalvar;
47973
47974 typedef struct swig_varlinkobject {
47975 PyObject_HEAD
47976 swig_globalvar *vars;
47977 } swig_varlinkobject;
47978
47979 SWIGINTERN PyObject *
47980 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
47981 return PyString_FromString("<Swig global variables>");
47982 }
47983
47984 SWIGINTERN PyObject *
47985 swig_varlink_str(swig_varlinkobject *v) {
47986 PyObject *str = PyString_FromString("(");
47987 swig_globalvar *var;
47988 for (var = v->vars; var; var=var->next) {
47989 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
47990 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
47991 }
47992 PyString_ConcatAndDel(&str,PyString_FromString(")"));
47993 return str;
47994 }
47995
47996 SWIGINTERN int
47997 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
47998 PyObject *str = swig_varlink_str(v);
47999 fprintf(fp,"Swig global variables ");
48000 fprintf(fp,"%s\n", PyString_AsString(str));
48001 Py_DECREF(str);
48002 return 0;
48003 }
48004
48005 SWIGINTERN void
48006 swig_varlink_dealloc(swig_varlinkobject *v) {
48007 swig_globalvar *var = v->vars;
48008 while (var) {
48009 swig_globalvar *n = var->next;
48010 free(var->name);
48011 free(var);
48012 var = n;
093d3ff1 48013 }
554f62e9
RD
48014 }
48015
48016 SWIGINTERN PyObject *
48017 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
48018 PyObject *res = NULL;
48019 swig_globalvar *var = v->vars;
48020 while (var) {
48021 if (strcmp(var->name,n) == 0) {
48022 res = (*var->get_attr)();
48023 break;
48024 }
48025 var = var->next;
093d3ff1 48026 }
554f62e9
RD
48027 if (res == NULL && !PyErr_Occurred()) {
48028 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 48029 }
554f62e9
RD
48030 return res;
48031 }
48032
48033 SWIGINTERN int
48034 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
48035 int res = 1;
48036 swig_globalvar *var = v->vars;
48037 while (var) {
48038 if (strcmp(var->name,n) == 0) {
48039 res = (*var->set_attr)(p);
48040 break;
48041 }
48042 var = var->next;
093d3ff1 48043 }
554f62e9
RD
48044 if (res == 1 && !PyErr_Occurred()) {
48045 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 48046 }
554f62e9
RD
48047 return res;
48048 }
48049
48050 SWIGINTERN PyTypeObject*
48051 swig_varlink_type(void) {
48052 static char varlink__doc__[] = "Swig var link object";
48053 static PyTypeObject varlink_type;
48054 static int type_init = 0;
48055 if (!type_init) {
48056 const PyTypeObject tmp
48057 = {
48058 PyObject_HEAD_INIT(NULL)
48059 0, /* Number of items in variable part (ob_size) */
48060 (char *)"swigvarlink", /* Type name (tp_name) */
48061 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
48062 0, /* Itemsize (tp_itemsize) */
48063 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
48064 (printfunc) swig_varlink_print, /* Print (tp_print) */
48065 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
48066 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
48067 0, /* tp_compare */
48068 (reprfunc) swig_varlink_repr, /* tp_repr */
48069 0, /* tp_as_number */
48070 0, /* tp_as_sequence */
48071 0, /* tp_as_mapping */
48072 0, /* tp_hash */
48073 0, /* tp_call */
48074 (reprfunc)swig_varlink_str, /* tp_str */
48075 0, /* tp_getattro */
48076 0, /* tp_setattro */
48077 0, /* tp_as_buffer */
48078 0, /* tp_flags */
48079 varlink__doc__, /* tp_doc */
48080 0, /* tp_traverse */
48081 0, /* tp_clear */
48082 0, /* tp_richcompare */
48083 0, /* tp_weaklistoffset */
48084#if PY_VERSION_HEX >= 0x02020000
48085 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48086#endif
48087#if PY_VERSION_HEX >= 0x02030000
48088 0, /* tp_del */
48089#endif
48090#ifdef COUNT_ALLOCS
48091 0,0,0,0 /* tp_alloc -> tp_next */
48092#endif
48093 };
48094 varlink_type = tmp;
48095 varlink_type.ob_type = &PyType_Type;
48096 type_init = 1;
53aa7709 48097 }
554f62e9
RD
48098 return &varlink_type;
48099 }
48100
48101 /* Create a variable linking object for use later */
48102 SWIGINTERN PyObject *
48103 SWIG_Python_newvarlink(void) {
48104 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
48105 if (result) {
48106 result->vars = 0;
48107 }
48108 return ((PyObject*) result);
48109 }
48110
48111 SWIGINTERN void
48112 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
48113 swig_varlinkobject *v = (swig_varlinkobject *) p;
48114 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
48115 if (gv) {
48116 size_t size = strlen(name)+1;
48117 gv->name = (char *)malloc(size);
48118 if (gv->name) {
48119 strncpy(gv->name,name,size);
48120 gv->get_attr = get_attr;
48121 gv->set_attr = set_attr;
48122 gv->next = v->vars;
48123 }
53aa7709 48124 }
554f62e9
RD
48125 v->vars = gv;
48126 }
48127
48128 SWIGINTERN PyObject *
48129 SWIG_globals() {
48130 static PyObject *_SWIG_globals = 0;
48131 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
48132 return _SWIG_globals;
48133 }
48134
48135 /* -----------------------------------------------------------------------------
48136 * constants/methods manipulation
48137 * ----------------------------------------------------------------------------- */
48138
48139 /* Install Constants */
48140 SWIGINTERN void
48141 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
48142 PyObject *obj = 0;
48143 size_t i;
48144 for (i = 0; constants[i].type; ++i) {
48145 switch(constants[i].type) {
48146 case SWIG_PY_POINTER:
48147 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
48148 break;
48149 case SWIG_PY_BINARY:
48150 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
48151 break;
48152 default:
48153 obj = 0;
48154 break;
48155 }
48156 if (obj) {
48157 PyDict_SetItemString(d, constants[i].name, obj);
48158 Py_DECREF(obj);
48159 }
53aa7709 48160 }
554f62e9
RD
48161 }
48162
48163 /* -----------------------------------------------------------------------------*/
48164 /* Fix SwigMethods to carry the callback ptrs when needed */
48165 /* -----------------------------------------------------------------------------*/
48166
48167 SWIGINTERN void
48168 SWIG_Python_FixMethods(PyMethodDef *methods,
48169 swig_const_info *const_table,
48170 swig_type_info **types,
48171 swig_type_info **types_initial) {
48172 size_t i;
48173 for (i = 0; methods[i].ml_name; ++i) {
48174 char *c = methods[i].ml_doc;
48175 if (c && (c = strstr(c, "swig_ptr: "))) {
48176 int j;
48177 swig_const_info *ci = 0;
48178 char *name = c + 10;
48179 for (j = 0; const_table[j].type; ++j) {
48180 if (strncmp(const_table[j].name, name,
48181 strlen(const_table[j].name)) == 0) {
48182 ci = &(const_table[j]);
48183 break;
48184 }
48185 }
48186 if (ci) {
48187 size_t shift = (ci->ptype) - types;
48188 swig_type_info *ty = types_initial[shift];
48189 size_t ldoc = (c - methods[i].ml_doc);
48190 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
48191 char *ndoc = (char*)malloc(ldoc + lptr + 10);
48192 if (ndoc) {
48193 char *buff = ndoc;
48194 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
48195 if (ptr) {
48196 strncpy(buff, methods[i].ml_doc, ldoc);
48197 buff += ldoc;
48198 strncpy(buff, "swig_ptr: ", 10);
48199 buff += 10;
48200 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
48201 methods[i].ml_doc = ndoc;
48202 }
48203 }
48204 }
48205 }
53aa7709 48206 }
554f62e9
RD
48207 }
48208
48209#ifdef __cplusplus
48210}
48211#endif
48212
48213/* -----------------------------------------------------------------------------*
48214 * Partial Init method
48215 * -----------------------------------------------------------------------------*/
48216
48217#ifdef __cplusplus
48218extern "C"
48219#endif
48220SWIGEXPORT void SWIG_init(void) {
48221 PyObject *m, *d;
48222
48223 /* Fix SwigMethods to carry the callback ptrs when needed */
48224 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
48225
48226 m = Py_InitModule((char *) SWIG_name, SwigMethods);
48227 d = PyModule_GetDict(m);
48228
48229 SWIG_InitializeModule(0);
48230 SWIG_InstallConstants(d,swig_const_table);
48231
48232
48233 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
48234 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
48235 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
48236 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
48237 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
48238 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
48239 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
48240 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
48241 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
48242 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
48243 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
48244 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
48245 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
48246 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
48247 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
48248 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
48249 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
48250 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
48251 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
48252 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
48253 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
48254 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
554f62e9
RD
48255 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
48256 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
48257 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
48258 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
48259 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
48260 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
48261 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
48262 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
48263 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
48264 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
48265 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
48266 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
48267 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
48268 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
48269 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
48270 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
48271 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
48272 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
48273 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
48274 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
48275 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
48276 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
48277 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
554f62e9
RD
48278 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
48279 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
48280 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
48281 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
48282 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
48283 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
48284 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
48285 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
48286 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
48287 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
48288 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
48289 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
48290 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
48291 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
48292 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
48293 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
48294 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
48295 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
48296 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
48297 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
48298 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
48299 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
48300 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
48301 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
48302 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
48303 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
48304 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
48305 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
48306 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
48307 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
48308 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
48309 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
48310 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
48311 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
48312 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
48313 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
48314 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
48315 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
48316 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
48317 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
48318 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
48319 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
48320 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
48321 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
48322 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
48323 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
48324 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
48325 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
48326 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
48327 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
48328 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
48329 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
48330 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
48331 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
48332 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
48333 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
48334 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
48335 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
48336 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
48337 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
48338 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
48339 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
48340 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 48341 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
554f62e9
RD
48342 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
48343 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
48344 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
48345 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
48346 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
48347 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
48348 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
48349 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
48350 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
48351 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
48352 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
48353 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
48354 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
48355 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
48356 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
48357 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
48358 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
48359 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
48360 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
48361 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
48362 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
48363 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
48364 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
48365 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
48366 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
48367 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
48368 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
48369 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
48370 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
48371 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
48372 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
48373 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
48374 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
48375 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
48376 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
48377 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
48378 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
48379 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
48380 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
48381 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
48382 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
48383 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
48384 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
48385 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
48386 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
48387 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
48388 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
48389 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
48390 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 48391 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
554f62e9
RD
48392 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
48393 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
48394 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
48395 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
48396 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
48397 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
48398 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
48399 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
48400 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
48401 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
48402 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
48403 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
48404 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
48405 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
48406 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
48407 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
48408 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
48409 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
48410 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
48411 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
48412 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
48413 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
48414 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
48415 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
48416 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
48417 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
48418 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
48419 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
48420 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
48421 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
48422 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
48423 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
48424 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
48425 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
48426 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
48427 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
48428 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
48429 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
48430 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
48431 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
48432 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
48433 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
48434 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
48435 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
48436 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
48437 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
48438 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 48439 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
554f62e9
RD
48440 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
48441 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
48442 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
48443 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
48444 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
48445 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
48446 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
48447 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
48448 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
48449 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
48450 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
48451 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
48452 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
48453 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
48454 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
48455 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
48456 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
48457 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
48458 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
48459 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
48460 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
48461 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
48462 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
48463 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
48464 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
48465 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
48466 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
48467 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
48468 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
48469 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
48470 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
48471 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
48472 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
48473 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
48474 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
48475 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
48476 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
48477 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
48478 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
48479 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
48480 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
48481 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
48482
48483 // Map renamed classes back to their common name for OOR
48484 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48485
48486 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
48487 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
48488 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
48489 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
48490 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
48491 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
48492 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
48493 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
48494 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
48495 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
48496 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
48497 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
48498 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
48499 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
48500 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
554f62e9
RD
48501 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
48502 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
48503 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
48504 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
48505 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
48506 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
48507 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
48508 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
48509 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
48510 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
48511 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
48512 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
48513 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
48514 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
48515 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
48516 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
48517 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
48518 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
48519 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
48520 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
48521 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
48522 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
48523 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
48524 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
48525 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
48526 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
48527 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
48528 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
48529 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
48530 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
48531 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
48532 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
48533 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
48534 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
48535 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
48536 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
48537 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
48538 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
48539 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
48540 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
48541
48542 // Map renamed classes back to their common name for OOR
48543 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48544 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48545
48546 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
48547 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
48548 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
48549 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
48550 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
48551 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
48552 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
48553 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
48554 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
48555 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
48556 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
48557 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
48558 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
554f62e9
RD
48559
48560 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48561
48562 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
48563 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
48564 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
48565 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
48566 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
48567 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
48568 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
48569 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
48570 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
48571 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
48572 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
48573 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
48574 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
48575 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
48576 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
48577 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
48578 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
48579 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
48580 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
48581 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
48582 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
48583 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
48584 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
48585 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
48586 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
48587 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
48588 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
48589 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
48590 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
48591 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
48592 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
48593 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
48594 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
48595 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
48596 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
48597 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
48598 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
48599 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
48600 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
48601 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
d55e5bfc
RD
48602}
48603