]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
Make the picker headers accessible to all
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 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
1bd55598 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);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
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
36ed4f51 46#endif
d55e5bfc 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
1bd55598
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
1bd55598
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
1bd55598
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
1bd55598
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
1bd55598
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
d55e5bfc 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d55e5bfc 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d55e5bfc 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
36ed4f51
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
36ed4f51
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
1bd55598
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
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
32fe5131 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
36ed4f51
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;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
36ed4f51
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
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. */
1bd55598 481 if (!type) return NULL;
36ed4f51
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
36ed4f51
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
36ed4f51
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
36ed4f51 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
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
36ed4f51
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
36ed4f51
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
1bd55598
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
1bd55598
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
36ed4f51 764#endif
1bd55598
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
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
1bd55598
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
1bd55598
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
36ed4f51 935#endif
d55e5bfc 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
1bd55598
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 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
36ed4f51 986/* Common SWIG API */
d55e5bfc 987
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1012
d55e5bfc 1013
1bd55598 1014/* Runtime API */
d55e5bfc 1015
1bd55598
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1019
1bd55598
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
32fe5131 1025
d55e5bfc 1026
1bd55598 1027/* Runtime API implementation */
36ed4f51 1028
1bd55598 1029/* Error manipulation */
36ed4f51 1030
1bd55598
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
1bd55598
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;
36ed4f51 1044}
d55e5bfc 1045
1bd55598 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1047
1bd55598 1048/* Set a constant value */
36ed4f51 1049
1bd55598
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
1bd55598 1056/* Append a value to the result obj */
d55e5bfc 1057
1bd55598
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;
c370783e 1084 } else {
1bd55598
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);
c370783e 1096 }
1bd55598
RD
1097 return result;
1098#endif
d55e5bfc 1099}
36ed4f51 1100
1bd55598 1101/* Unpack the argument tuple */
36ed4f51 1102
1bd55598
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*/
36ed4f51
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1605#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1609#endif
1610 };
1611
1bd55598 1612 static PyTypeObject pyswigobject_type;
32fe5131 1613 static int type_init = 0;
36ed4f51 1614 if (!type_init) {
1bd55598
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 */
36ed4f51 1628#endif
1bd55598
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 */
36ed4f51 1647#if PY_VERSION_HEX >= 0x02020000
1bd55598
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
36ed4f51 1669#if PY_VERSION_HEX >= 0x02030000
1bd55598 1670 0, /* tp_del */
36ed4f51
RD
1671#endif
1672#ifdef COUNT_ALLOCS
1bd55598 1673 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1674#endif
1bd55598 1675 };
32fe5131 1676 pyswigobject_type = tmp;
1bd55598 1677 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1678 type_init = 1;
1679 }
32fe5131 1680 return &pyswigobject_type;
36ed4f51
RD
1681}
1682
1683SWIGRUNTIME PyObject *
1bd55598 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
36ed4f51 1685{
1bd55598
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
32fe5131 1692 }
1bd55598 1693 return (PyObject *)sobj;
36ed4f51
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;
1bd55598 1703 swig_type_info *ty;
36ed4f51
RD
1704 size_t size;
1705} PySwigPacked;
1706
1707SWIGRUNTIME int
1bd55598 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
36ed4f51
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 }
1bd55598 1716 fputs(v->ty->name,fp);
36ed4f51
RD
1717 fputs(">", fp);
1718 return 0;
1719}
1720
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1727 } else {
1bd55598 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51
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))){
1bd55598 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1738 } else {
1bd55598 1739 return PyString_FromString(v->ty->name);
36ed4f51
RD
1740 }
1741}
1742
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745{
1bd55598
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);
36ed4f51
RD
1750}
1751
1bd55598 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
36ed4f51
RD
1753
1754SWIGRUNTIME PyTypeObject*
32fe5131 1755PySwigPacked_type(void) {
1bd55598
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 */
36ed4f51
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
1bd55598 1833 0, /* tp_del */
36ed4f51
RD
1834#endif
1835#ifdef COUNT_ALLOCS
1bd55598 1836 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1837#endif
1bd55598 1838 };
32fe5131 1839 pyswigpacked_type = tmp;
1bd55598 1840 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1841 type_init = 1;
1842 }
32fe5131 1843 return &pyswigpacked_type;
36ed4f51
RD
1844}
1845
1846SWIGRUNTIME PyObject *
1bd55598 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1848{
1bd55598
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
36ed4f51 1851 void *pack = malloc(size);
32fe5131
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1bd55598
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
32fe5131 1860 }
36ed4f51 1861 }
1bd55598 1862 return (PyObject *) sobj;
36ed4f51
RD
1863}
1864
1bd55598 1865SWIGRUNTIME swig_type_info *
36ed4f51
RD
1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867{
1bd55598
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 }
36ed4f51
RD
1876}
1877
36ed4f51 1878/* -----------------------------------------------------------------------------
1bd55598 1879 * pointers/data manipulation
36ed4f51
RD
1880 * ----------------------------------------------------------------------------- */
1881
1bd55598
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
36ed4f51 1887
1bd55598
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
36ed4f51 1894
1bd55598 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
36ed4f51 1896
1bd55598
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1899{
1bd55598
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);
36ed4f51 1922 } else {
1bd55598
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
36ed4f51 1925 }
36ed4f51 1926 }
1bd55598
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;
36ed4f51
RD
1943 }
1944}
1945
1bd55598
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 }
36ed4f51 1957 }
1bd55598 1958 return 0;
36ed4f51
RD
1959}
1960
1bd55598
RD
1961/* Convert a pointer value */
1962
36ed4f51 1963SWIGRUNTIME int
1bd55598
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 }
36ed4f51 1988 } else {
1bd55598
RD
1989 if (ptr) *ptr = vptr;
1990 break;
36ed4f51 1991 }
36ed4f51 1992 }
1bd55598
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 }
36ed4f51
RD
2038 }
2039}
2040
1bd55598
RD
2041/* Convert a function ptr value */
2042
36ed4f51 2043SWIGRUNTIME int
1bd55598
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);
36ed4f51 2047 } else {
1bd55598
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;
36ed4f51
RD
2065 }
2066}
2067
1bd55598 2068/* Convert a packed value value */
36ed4f51 2069
36ed4f51 2070SWIGRUNTIME int
1bd55598
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 }
36ed4f51 2080 }
1bd55598
RD
2081 return SWIG_OK;
2082}
36ed4f51 2083
1bd55598
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
36ed4f51 2087
1bd55598
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
36ed4f51 2092
1bd55598
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 }
36ed4f51 2111 }
1bd55598
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
36ed4f51 2116 }
1bd55598
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);
36ed4f51 2122 }
1bd55598
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;
36ed4f51 2136 }
1bd55598
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;
36ed4f51 2143 }
1bd55598
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
36ed4f51
RD
2154}
2155
1bd55598
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 }
36ed4f51 2171#endif
1bd55598
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
36ed4f51 2176
1bd55598
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]);
36ed4f51 2187 } else {
1bd55598 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2189 }
1bd55598 2190 return SWIG_Py_Void();
36ed4f51 2191 }
1bd55598
RD
2192}
2193
2194/* Create a new pointer object */
36ed4f51 2195
36ed4f51 2196SWIGRUNTIME PyObject *
1bd55598 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2198 if (!ptr) {
1bd55598
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;
36ed4f51 2209 }
36ed4f51 2210 }
1bd55598 2211 return robj;
36ed4f51 2212 }
36ed4f51
RD
2213}
2214
1bd55598
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
36ed4f51 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
32fe5131
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
36ed4f51
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 }
36ed4f51 2244#endif
32fe5131
RD
2245 }
2246 return (swig_module_info *) type_pointer;
36ed4f51
RD
2247}
2248
32fe5131
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
1bd55598 2259 return SWIG_ERROR;
32fe5131
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
1bd55598 2264 return SWIG_ERROR;
32fe5131
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
1bd55598 2272 return SWIG_ERROR;
32fe5131
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
1bd55598 2275 return SWIG_ERROR;
32fe5131 2276 Py_DECREF(o);
1bd55598 2277 return SWIG_OK;
36ed4f51 2278}
32fe5131 2279#endif
36ed4f51 2280
1bd55598
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
32fe5131
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
1bd55598 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2306 } else {
2307 Py_XDECREF(pointer);
32fe5131
RD
2308 }
2309}
36ed4f51 2310
1bd55598
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
36ed4f51 2316}
36ed4f51 2317
1bd55598
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
32fe5131
RD
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_long swig_types[4]
2467#define SWIGTYPE_p_unsigned_char swig_types[5]
2468#define SWIGTYPE_p_unsigned_int swig_types[6]
2469#define SWIGTYPE_p_unsigned_long swig_types[7]
2470#define SWIGTYPE_p_void swig_types[8]
2471#define SWIGTYPE_p_wxANIHandler swig_types[9]
2472#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474#define SWIGTYPE_p_wxArrayInt swig_types[12]
2475#define SWIGTYPE_p_wxArrayString swig_types[13]
2476#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477#define SWIGTYPE_p_wxBitmap swig_types[15]
2478#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482#define SWIGTYPE_p_wxButton swig_types[20]
2483#define SWIGTYPE_p_wxCURHandler swig_types[21]
2484#define SWIGTYPE_p_wxCheckBox swig_types[22]
2485#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487#define SWIGTYPE_p_wxChoice swig_types[25]
2488#define SWIGTYPE_p_wxChoicebook swig_types[26]
2489#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2490#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491#define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492#define SWIGTYPE_p_wxColour swig_types[30]
b850e7f3
RD
2493#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494#define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495#define SWIGTYPE_p_wxComboBox swig_types[33]
2496#define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497#define SWIGTYPE_p_wxContextHelp swig_types[35]
2498#define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499#define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500#define SWIGTYPE_p_wxControl swig_types[38]
2501#define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502#define SWIGTYPE_p_wxCursor swig_types[40]
2503#define SWIGTYPE_p_wxDC swig_types[41]
2504#define SWIGTYPE_p_wxDateEvent swig_types[42]
2505#define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506#define SWIGTYPE_p_wxDateTime swig_types[44]
2507#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508#define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510#define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511#define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512#define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513#define SWIGTYPE_p_wxEvent swig_types[51]
2514#define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515#define SWIGTYPE_p_wxFSFile swig_types[53]
2516#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517#define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518#define SWIGTYPE_p_wxFileSystem swig_types[56]
2519#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520#define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521#define SWIGTYPE_p_wxFont swig_types[59]
2522#define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523#define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524#define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525#define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526#define SWIGTYPE_p_wxGauge swig_types[64]
2527#define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528#define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529#define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530#define SWIGTYPE_p_wxGridSizer swig_types[68]
2531#define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532#define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534#define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535#define SWIGTYPE_p_wxICOHandler swig_types[73]
2536#define SWIGTYPE_p_wxIcon swig_types[74]
2537#define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538#define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539#define SWIGTYPE_p_wxImage swig_types[77]
2540#define SWIGTYPE_p_wxImageHandler swig_types[78]
2541#define SWIGTYPE_p_wxImageList swig_types[79]
2542#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543#define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544#define SWIGTYPE_p_wxItemContainer swig_types[82]
2545#define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546#define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547#define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548#define SWIGTYPE_p_wxListBox swig_types[86]
2549#define SWIGTYPE_p_wxListEvent swig_types[87]
2550#define SWIGTYPE_p_wxListItem swig_types[88]
2551#define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552#define SWIGTYPE_p_wxListView swig_types[90]
2553#define SWIGTYPE_p_wxListbook swig_types[91]
2554#define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555#define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556#define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557#define SWIGTYPE_p_wxMenu swig_types[95]
2558#define SWIGTYPE_p_wxMenuBar swig_types[96]
2559#define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560#define SWIGTYPE_p_wxMenuItem swig_types[98]
2561#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562#define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563#define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565#define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566#define SWIGTYPE_p_wxNotebook swig_types[104]
2567#define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568#define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569#define SWIGTYPE_p_wxObject swig_types[107]
2570#define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571#define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572#define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573#define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575#define SWIGTYPE_p_wxPaperSize swig_types[113]
2576#define SWIGTYPE_p_wxPickerBase swig_types[114]
2577#define SWIGTYPE_p_wxPoint swig_types[115]
2578#define SWIGTYPE_p_wxPyApp swig_types[116]
2579#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580#define SWIGTYPE_p_wxPyControl swig_types[118]
2581#define SWIGTYPE_p_wxPyEvent swig_types[119]
2582#define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583#define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584#define SWIGTYPE_p_wxPySizer swig_types[122]
2585#define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586#define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587#define SWIGTYPE_p_wxPyValidator swig_types[125]
2588#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589#define SWIGTYPE_p_wxRadioBox swig_types[127]
2590#define SWIGTYPE_p_wxRadioButton swig_types[128]
2591#define SWIGTYPE_p_wxRect swig_types[129]
2592#define SWIGTYPE_p_wxScrollBar swig_types[130]
2593#define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594#define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595#define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596#define SWIGTYPE_p_wxShowEvent swig_types[134]
2597#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598#define SWIGTYPE_p_wxSize swig_types[136]
2599#define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600#define SWIGTYPE_p_wxSizer swig_types[138]
2601#define SWIGTYPE_p_wxSizerItem swig_types[139]
2602#define SWIGTYPE_p_wxSlider swig_types[140]
2603#define SWIGTYPE_p_wxSpinButton swig_types[141]
2604#define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605#define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606#define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607#define SWIGTYPE_p_wxStaticBox swig_types[145]
2608#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609#define SWIGTYPE_p_wxStaticLine swig_types[147]
2610#define SWIGTYPE_p_wxStaticText swig_types[148]
2611#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612#define SWIGTYPE_p_wxString swig_types[150]
2613#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615#define SWIGTYPE_p_wxTextAttr swig_types[153]
2616#define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617#define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618#define SWIGTYPE_p_wxToggleButton swig_types[156]
2619#define SWIGTYPE_p_wxToolBar swig_types[157]
2620#define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622#define SWIGTYPE_p_wxToolbook swig_types[160]
2623#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625#define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626#define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627#define SWIGTYPE_p_wxTreebook swig_types[165]
2628#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630#define SWIGTYPE_p_wxValidator swig_types[168]
2631#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632#define SWIGTYPE_p_wxWindow swig_types[170]
2633#define SWIGTYPE_p_wxWindowBase swig_types[171]
2634#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636#define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637static swig_type_info *swig_types[176];
2638static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
32fe5131
RD
2639#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2641
2642/* -------- TYPES TABLE (END) -------- */
2643
1bd55598
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
36ed4f51
RD
2658
2659/*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662#define SWIG_init init_controls_
2663
2664#define SWIG_name "_controls_"
2665
1bd55598
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
36ed4f51
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
1bd55598 2747 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2748
2749
1bd55598
RD
2750SWIGINTERNINLINE PyObject *
2751SWIG_From_int (int value)
2752{
2753 return SWIG_From_long (value);
2754}
36ed4f51
RD
2755
2756
1bd55598
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
36ed4f51
RD
2767
2768
2769SWIGINTERN int
1bd55598 2770SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51
RD
2771{
2772 if (PyNumber_Check(obj)) {
2773 if (val) *val = PyInt_AsLong(obj);
1bd55598 2774 return SWIG_OK;
36ed4f51 2775 }
1bd55598 2776 return SWIG_TypeError;
36ed4f51
RD
2777}
2778
2779
36ed4f51 2780SWIGINTERN int
1bd55598
RD
2781SWIG_AsVal_int (PyObject * obj, int *val)
2782{
36ed4f51 2783 long v;
1bd55598
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;
36ed4f51 2788 } else {
1bd55598 2789 if (val) *val = static_cast< int >(v);
36ed4f51 2790 }
1bd55598
RD
2791 }
2792 return res;
d55e5bfc
RD
2793}
2794
c370783e 2795 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2796
36ed4f51 2797SWIGINTERN int
1bd55598 2798SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2799{
c370783e
RD
2800 if (obj == Py_True) {
2801 if (val) *val = true;
1bd55598
RD
2802 return SWIG_OK;
2803 } else if (obj == Py_False) {
c370783e 2804 if (val) *val = false;
1bd55598 2805 return SWIG_OK;
36ed4f51 2806 } else {
1bd55598
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;
c370783e 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);
1bd55598 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
1bd55598 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 }
1bd55598 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 }
1bd55598 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 }
1bd55598 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);
1bd55598 2893SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2894 self->AppendText(text);
2895 }
1bd55598 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
1bd55598 2954SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2955{
7e08d4ef 2956 unsigned long v;
1bd55598
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);
1bd55598 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 }
1bd55598 2973SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2974 self->SetClientData(new wxPyUserData(clientData));
2975 }
1bd55598 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 }
1bd55598 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 }
1bd55598 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 }
1bd55598 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);
1bd55598 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 {
32fe5131 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
1bd55598 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 }
1bd55598 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 }
1bd55598 3089SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3090 wxPoint pos;
3091 self->GetItemPosition(item, pos);
3092 return pos;
3093 }
1bd55598 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 }
1bd55598 3099SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3100 if (!PyCallable_Check(func))
b411df4a 3101 return false;
d55e5bfc
RD
3102 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3103 }
1bd55598 3104SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
3105
3106
3107
3108 return (wxWindow*)self->m_mainWin;
3109
3110 }
3111
3112#include <wx/treectrl.h>
3113#include "wx/wxPython/pytree.h"
3114
3115 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1bd55598
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 {
32fe5131 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"))) {
b411df4a
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
1bd55598 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 }
1bd55598 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 }
1bd55598 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 }
1bd55598 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 }
1bd55598 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));
b411df4a 3204 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3205 PyList_Append(rval, item);
68e533f8 3206 Py_DECREF(item);
d55e5bfc
RD
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 return rval;
3210 }
1bd55598 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);
b411df4a 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 }
1bd55598 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);
b411df4a 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 }
1bd55598 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);
b411df4a 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);
c370783e 3243
32fe5131 3244SWIGINTERNINLINE PyObject*
1bd55598 3245 SWIG_From_bool (bool value)
c370783e 3246{
1bd55598 3247 return PyBool_FromLong(value ? 1 : 0);
c370783e
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
a5ee0656 3264 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 3265
976dbff5
RD
3266 bool DoEraseBackground(wxDC* dc) {
3267#ifdef __WXMSW__
3268 return wxWindow::DoEraseBackground(dc->GetHDC());
3269#else
3270 dc->SetBackground(wxBrush(GetBackgroundColour()));
3271 dc->Clear();
3272 return true;
3273#endif
3274 }
3275
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
a5ee0656 3300 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 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
a5ee0656 3336IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
a5ee0656 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
1bd55598 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);
1bd55598 3350SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3351 wxDateTime rv;
3352 self->GetRange(&rv, NULL);
3353 return rv;
3354 }
1bd55598 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
1bd55598
RD
3377SWIGINTERN int ButtonNameStr_set(PyObject *) {
3378 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3379 return 1;
d55e5bfc
RD
3380}
3381
3382
1bd55598
RD
3383SWIGINTERN PyObject *ButtonNameStr_get(void) {
3384 PyObject *pyobj = 0;
3385
3386 {
d55e5bfc 3387#if wxUSE_UNICODE
1bd55598 3388 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3389#else
1bd55598 3390 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3391#endif
1bd55598
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 {
1bd55598
RD
3452 arg3 = wxString_in_helper(obj2);
3453 if (arg3 == NULL) SWIG_fail;
3454 temp3 = true;
d55e5bfc 3455 }
1bd55598
RD
3456 }
3457 if (obj3) {
d55e5bfc 3458 {
1bd55598
RD
3459 arg4 = &temp4;
3460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3461 }
1bd55598
RD
3462 }
3463 if (obj4) {
d55e5bfc 3464 {
1bd55598
RD
3465 arg5 = &temp5;
3466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3467 }
1bd55598
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 }
1bd55598
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 }
1bd55598
RD
3484 arg7 = reinterpret_cast< wxValidator * >(argp7);
3485 }
3486 if (obj7) {
d55e5bfc 3487 {
1bd55598
RD
3488 arg8 = wxString_in_helper(obj7);
3489 if (arg8 == NULL) SWIG_fail;
3490 temp8 = true;
d55e5bfc 3491 }
1bd55598
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
1bd55598
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 {
1bd55598
RD
3606 arg4 = wxString_in_helper(obj3);
3607 if (arg4 == NULL) SWIG_fail;
3608 temp4 = true;
d55e5bfc 3609 }
1bd55598
RD
3610 }
3611 if (obj4) {
d55e5bfc 3612 {
1bd55598
RD
3613 arg5 = &temp5;
3614 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3615 }
1bd55598
RD
3616 }
3617 if (obj5) {
d55e5bfc 3618 {
1bd55598
RD
3619 arg6 = &temp6;
3620 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3621 }
1bd55598
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 }
1bd55598
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 }
1bd55598
RD
3638 arg8 = reinterpret_cast< wxValidator * >(argp8);
3639 }
3640 if (obj8) {
d55e5bfc 3641 {
1bd55598
RD
3642 arg9 = wxString_in_helper(obj8);
3643 if (arg9 == NULL) SWIG_fail;
3644 temp9 = true;
d55e5bfc 3645 }
1bd55598
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
1bd55598
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
1bd55598
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 {
1bd55598
RD
3833 arg4 = &temp4;
3834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3835 }
1bd55598
RD
3836 }
3837 if (obj4) {
d55e5bfc 3838 {
1bd55598
RD
3839 arg5 = &temp5;
3840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3841 }
1bd55598
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 }
1bd55598
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 }
1bd55598
RD
3858 arg7 = reinterpret_cast< wxValidator * >(argp7);
3859 }
3860 if (obj7) {
f20a2e1f 3861 {
1bd55598
RD
3862 arg8 = wxString_in_helper(obj7);
3863 if (arg8 == NULL) SWIG_fail;
3864 temp8 = true;
f20a2e1f 3865 }
1bd55598
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
1bd55598
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 }
1bd55598
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 }
1bd55598
RD
3979 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3980 }
3981 if (obj4) {
d55e5bfc 3982 {
1bd55598
RD
3983 arg5 = &temp5;
3984 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3985 }
1bd55598
RD
3986 }
3987 if (obj5) {
d55e5bfc 3988 {
1bd55598
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 }
1bd55598
RD
4008 arg8 = reinterpret_cast< wxValidator * >(argp8);
4009 }
4010 if (obj8) {
d55e5bfc 4011 {
1bd55598
RD
4012 arg9 = wxString_in_helper(obj8);
4013 if (arg9 == NULL) SWIG_fail;
4014 temp9 = true;
d55e5bfc 4015 }
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
RD
4495SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4496 return SWIG_Python_InitShadowInstance(args);
4497}
d55e5bfc 4498
1bd55598
RD
4499SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4500 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4501 return 1;
d55e5bfc
RD
4502}
4503
4504
1bd55598
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 {
1bd55598
RD
4574 arg3 = wxString_in_helper(obj2);
4575 if (arg3 == NULL) SWIG_fail;
4576 temp3 = true;
d55e5bfc 4577 }
1bd55598
RD
4578 }
4579 if (obj3) {
4580 {
4581 arg4 = &temp4;
4582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4583 }
1bd55598
RD
4584 }
4585 if (obj4) {
d55e5bfc 4586 {
1bd55598
RD
4587 arg5 = &temp5;
4588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4589 }
1bd55598
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 }
1bd55598
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 {
1bd55598
RD
4610 arg8 = wxString_in_helper(obj7);
4611 if (arg8 == NULL) SWIG_fail;
4612 temp8 = true;
b1fcee84 4613 }
1bd55598
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
1bd55598
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) {
36ed4f51 4727 {
1bd55598
RD
4728 arg4 = wxString_in_helper(obj3);
4729 if (arg4 == NULL) SWIG_fail;
4730 temp4 = true;
36ed4f51 4731 }
1bd55598
RD
4732 }
4733 if (obj4) {
36ed4f51 4734 {
1bd55598
RD
4735 arg5 = &temp5;
4736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 4737 }
1bd55598
RD
4738 }
4739 if (obj5) {
d55e5bfc 4740 {
1bd55598
RD
4741 arg6 = &temp6;
4742 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4743 }
1bd55598
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 }
1bd55598
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) {
36ed4f51 4763 {
1bd55598
RD
4764 arg9 = wxString_in_helper(obj8);
4765 if (arg9 == NULL) SWIG_fail;
4766 temp9 = true;
36ed4f51 4767 }
1bd55598
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
1bd55598
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
1bd55598
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}
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
RD
5064SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5065 return SWIG_Python_InitShadowInstance(args);
5066}
d55e5bfc 5067
1bd55598
RD
5068SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5069 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5070 return 1;
d55e5bfc
RD
5071}
5072
5073
1bd55598
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) {
36ed4f51 5142 {
1bd55598
RD
5143 arg3 = &temp3;
5144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 5145 }
1bd55598
RD
5146 }
5147 if (obj3) {
d55e5bfc 5148 {
1bd55598
RD
5149 arg4 = &temp4;
5150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5151 }
1bd55598
RD
5152 }
5153 if (obj4) {
d55e5bfc 5154 {
1bd55598
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 }
1bd55598
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 &""'");
36ed4f51 5183 }
1bd55598
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 {
1bd55598
RD
5191 arg8 = wxString_in_helper(obj7);
5192 if (arg8 == NULL) SWIG_fail;
5193 temp8 = true;
d55e5bfc 5194 }
1bd55598
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
1bd55598
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 {
1bd55598
RD
5307 arg4 = &temp4;
5308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5309 }
1bd55598
RD
5310 }
5311 if (obj4) {
d55e5bfc 5312 {
1bd55598
RD
5313 arg5 = &temp5;
5314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5315 }
1bd55598
RD
5316 }
5317 if (obj5) {
d55e5bfc 5318 {
1bd55598
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 }
1bd55598
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 {
1bd55598
RD
5355 arg9 = wxString_in_helper(obj8);
5356 if (arg9 == NULL) SWIG_fail;
5357 temp9 = true;
d55e5bfc 5358 }
1bd55598
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
1bd55598
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
1bd55598
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}
1bd55598
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
1bd55598
RD
5467SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5468 PyObject *pyobj = 0;
5469
5470 {
d55e5bfc 5471#if wxUSE_UNICODE
1bd55598 5472 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5473#else
1bd55598 5474 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5475#endif
1bd55598
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 {
1bd55598
RD
5540 arg3 = wxString_in_helper(obj2);
5541 if (arg3 == NULL) SWIG_fail;
5542 temp3 = true;
d55e5bfc 5543 }
1bd55598
RD
5544 }
5545 if (obj3) {
d55e5bfc 5546 {
1bd55598
RD
5547 arg4 = &temp4;
5548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5549 }
1bd55598
RD
5550 }
5551 if (obj4) {
d55e5bfc 5552 {
1bd55598
RD
5553 arg5 = &temp5;
5554 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5555 }
1bd55598
RD
5556 }
5557 if (obj5) {
d55e5bfc 5558 {
1bd55598
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 }
1bd55598
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 {
1bd55598
RD
5595 arg9 = wxString_in_helper(obj8);
5596 if (arg9 == NULL) SWIG_fail;
5597 temp9 = true;
d55e5bfc 5598 }
1bd55598
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
1bd55598
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 {
1bd55598
RD
5723 arg4 = wxString_in_helper(obj3);
5724 if (arg4 == NULL) SWIG_fail;
5725 temp4 = true;
d55e5bfc 5726 }
1bd55598
RD
5727 }
5728 if (obj4) {
d55e5bfc 5729 {
1bd55598
RD
5730 arg5 = &temp5;
5731 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5732 }
1bd55598
RD
5733 }
5734 if (obj5) {
d55e5bfc 5735 {
1bd55598
RD
5736 arg6 = &temp6;
5737 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5738 }
1bd55598
RD
5739 }
5740 if (obj6) {
d55e5bfc 5741 {
1bd55598
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 }
1bd55598
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 }
1bd55598
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 }
1bd55598
RD
5774 arg9 = reinterpret_cast< wxValidator * >(argp9);
5775 }
5776 if (obj9) {
d55e5bfc 5777 {
1bd55598
RD
5778 arg10 = wxString_in_helper(obj9);
5779 if (arg10 == NULL) SWIG_fail;
5780 temp10 = true;
d55e5bfc 5781 }
1bd55598
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
1bd55598
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
1bd55598 5843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5844#else
1bd55598 5845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5846#endif
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
RD
6046SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6047 PyObject *resultobj = 0;
6048 wxComboBox *arg1 = (wxComboBox *) 0 ;
6049 long result;
6050 void *argp1 = 0 ;
6051 int res1 = 0 ;
6052 PyObject *swig_obj[1] ;
6053
6054 if (!args) SWIG_fail;
6055 swig_obj[0] = args;
6056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6057 if (!SWIG_IsOK(res1)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6059 }
6060 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_From_long(static_cast< long >(result));
6068 return resultobj;
6069fail:
6070 return NULL;
6071}
6072
6073
6074SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj = 0;
6076 wxComboBox *arg1 = (wxComboBox *) 0 ;
6077 long arg2 ;
6078 long arg3 ;
6079 wxString *arg4 = 0 ;
6080 void *argp1 = 0 ;
6081 int res1 = 0 ;
6082 long val2 ;
6083 int ecode2 = 0 ;
6084 long val3 ;
6085 int ecode3 = 0 ;
6086 bool temp4 = false ;
6087 PyObject * obj0 = 0 ;
6088 PyObject * obj1 = 0 ;
6089 PyObject * obj2 = 0 ;
6090 PyObject * obj3 = 0 ;
6091 char * kwnames[] = {
2131d850 6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
1bd55598
RD
6093 };
6094
6095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6097 if (!SWIG_IsOK(res1)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6099 }
6100 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6101 ecode2 = SWIG_AsVal_long(obj1, &val2);
6102 if (!SWIG_IsOK(ecode2)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6104 }
6105 arg2 = static_cast< long >(val2);
6106 ecode3 = SWIG_AsVal_long(obj2, &val3);
6107 if (!SWIG_IsOK(ecode3)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6109 }
6110 arg3 = static_cast< long >(val3);
6111 {
6112 arg4 = wxString_in_helper(obj3);
6113 if (arg4 == NULL) SWIG_fail;
6114 temp4 = true;
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = SWIG_Py_Void();
6123 {
6124 if (temp4)
6125 delete arg4;
6126 }
6127 return resultobj;
6128fail:
6129 {
6130 if (temp4)
6131 delete arg4;
6132 }
6133 return NULL;
6134}
6135
6136
6137SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj = 0;
6139 wxComboBox *arg1 = (wxComboBox *) 0 ;
6140 long arg2 ;
6141 long arg3 ;
6142 void *argp1 = 0 ;
6143 int res1 = 0 ;
6144 long val2 ;
6145 int ecode2 = 0 ;
6146 long val3 ;
6147 int ecode3 = 0 ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 char * kwnames[] = {
2131d850 6152 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
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;
d55e5bfc
RD
6181}
6182
6183
1bd55598
RD
6184SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6185 PyObject *resultobj = 0;
6186 wxComboBox *arg1 = (wxComboBox *) 0 ;
6187 int result;
6188 void *argp1 = 0 ;
6189 int res1 = 0 ;
6190 PyObject *swig_obj[1] ;
6191
6192 if (!args) SWIG_fail;
6193 swig_obj[0] = args;
6194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6195 if (!SWIG_IsOK(res1)) {
6196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6197 }
6198 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 resultobj = SWIG_From_int(static_cast< int >(result));
6206 return resultobj;
6207fail:
6208 return NULL;
6209}
6210
6211
6212SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj = 0;
6214 wxComboBox *arg1 = (wxComboBox *) 0 ;
6215 wxString *arg2 = 0 ;
6216 bool result;
6217 void *argp1 = 0 ;
6218 int res1 = 0 ;
6219 bool temp2 = false ;
6220 PyObject * obj0 = 0 ;
6221 PyObject * obj1 = 0 ;
6222 char * kwnames[] = {
6223 (char *) "self",(char *) "string", NULL
6224 };
6225
6226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6228 if (!SWIG_IsOK(res1)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6230 }
6231 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6232 {
6233 arg2 = wxString_in_helper(obj1);
6234 if (arg2 == NULL) SWIG_fail;
6235 temp2 = true;
6236 }
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 {
6244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6245 }
6246 {
6247 if (temp2)
6248 delete arg2;
6249 }
6250 return resultobj;
6251fail:
6252 {
6253 if (temp2)
6254 delete arg2;
6255 }
6256 return NULL;
6257}
6258
6259
50f151d7
RD
6260SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxComboBox *arg1 = (wxComboBox *) 0 ;
6263 int arg2 ;
6264 wxString *arg3 = 0 ;
6265 void *argp1 = 0 ;
6266 int res1 = 0 ;
6267 int val2 ;
6268 int ecode2 = 0 ;
6269 bool temp3 = false ;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 PyObject * obj2 = 0 ;
6273 char * kwnames[] = {
6274 (char *) "self",(char *) "n",(char *) "string", NULL
6275 };
6276
6277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6279 if (!SWIG_IsOK(res1)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6281 }
6282 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6283 ecode2 = SWIG_AsVal_int(obj1, &val2);
6284 if (!SWIG_IsOK(ecode2)) {
6285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6286 }
6287 arg2 = static_cast< int >(val2);
6288 {
6289 arg3 = wxString_in_helper(obj2);
6290 if (arg3 == NULL) SWIG_fail;
6291 temp3 = true;
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->SetString(arg2,(wxString const &)*arg3);
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 resultobj = SWIG_Py_Void();
6300 {
6301 if (temp3)
6302 delete arg3;
6303 }
6304 return resultobj;
6305fail:
6306 {
6307 if (temp3)
6308 delete arg3;
6309 }
6310 return NULL;
6311}
6312
6313
1bd55598
RD
6314SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj = 0;
6316 wxComboBox *arg1 = (wxComboBox *) 0 ;
6317 bool arg2 ;
6318 void *argp1 = 0 ;
6319 int res1 = 0 ;
6320 bool val2 ;
6321 int ecode2 = 0 ;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 char * kwnames[] = {
6325 (char *) "self",(char *) "editable", NULL
6326 };
6327
6328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6330 if (!SWIG_IsOK(res1)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6332 }
6333 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6334 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6335 if (!SWIG_IsOK(ecode2)) {
6336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6337 }
6338 arg2 = static_cast< bool >(val2);
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 (arg1)->SetEditable(arg2);
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 resultobj = SWIG_Py_Void();
6346 return resultobj;
6347fail:
6348 return NULL;
d55e5bfc
RD
6349}
6350
6351
1bd55598
RD
6352SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6353 PyObject *resultobj = 0;
6354 wxComboBox *arg1 = (wxComboBox *) 0 ;
6355 void *argp1 = 0 ;
6356 int res1 = 0 ;
6357 PyObject *swig_obj[1] ;
6358
6359 if (!args) SWIG_fail;
6360 swig_obj[0] = args;
6361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6362 if (!SWIG_IsOK(res1)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6364 }
6365 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 (arg1)->SetInsertionPointEnd();
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 resultobj = SWIG_Py_Void();
6373 return resultobj;
6374fail:
6375 return NULL;
6376}
6377
6378
6379SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6380 PyObject *resultobj = 0;
6381 wxComboBox *arg1 = (wxComboBox *) 0 ;
6382 long arg2 ;
6383 long arg3 ;
6384 void *argp1 = 0 ;
6385 int res1 = 0 ;
6386 long val2 ;
6387 int ecode2 = 0 ;
6388 long val3 ;
6389 int ecode3 = 0 ;
6390 PyObject * obj0 = 0 ;
6391 PyObject * obj1 = 0 ;
6392 PyObject * obj2 = 0 ;
6393 char * kwnames[] = {
2131d850 6394 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
6395 };
6396
6397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6399 if (!SWIG_IsOK(res1)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6401 }
6402 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6403 ecode2 = SWIG_AsVal_long(obj1, &val2);
6404 if (!SWIG_IsOK(ecode2)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6406 }
6407 arg2 = static_cast< long >(val2);
6408 ecode3 = SWIG_AsVal_long(obj2, &val3);
6409 if (!SWIG_IsOK(ecode3)) {
6410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6411 }
6412 arg3 = static_cast< long >(val3);
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->Remove(arg2,arg3);
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_Py_Void();
6420 return resultobj;
6421fail:
6422 return NULL;
d55e5bfc
RD
6423}
6424
6425
1bd55598
RD
6426SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6427 PyObject *resultobj = 0;
6428 wxComboBox *arg1 = (wxComboBox *) 0 ;
6429 bool result;
6430 void *argp1 = 0 ;
6431 int res1 = 0 ;
6432 PyObject *swig_obj[1] ;
6433
6434 if (!args) SWIG_fail;
6435 swig_obj[0] = args;
6436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6437 if (!SWIG_IsOK(res1)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6439 }
6440 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 {
6448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6449 }
6450 return resultobj;
6451fail:
6452 return NULL;
d55e5bfc
RD
6453}
6454
6455
1bd55598
RD
6456SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6457 PyObject *resultobj = 0;
6458 wxComboBox *arg1 = (wxComboBox *) 0 ;
6459 void *argp1 = 0 ;
6460 int res1 = 0 ;
6461 PyObject *swig_obj[1] ;
6462
6463 if (!args) SWIG_fail;
6464 swig_obj[0] = args;
6465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6466 if (!SWIG_IsOK(res1)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6468 }
6469 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 (arg1)->Undo();
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 resultobj = SWIG_Py_Void();
6477 return resultobj;
6478fail:
6479 return NULL;
d55e5bfc
RD
6480}
6481
6482
1bd55598
RD
6483SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6484 PyObject *resultobj = 0;
6485 wxComboBox *arg1 = (wxComboBox *) 0 ;
6486 void *argp1 = 0 ;
6487 int res1 = 0 ;
6488 PyObject *swig_obj[1] ;
6489
6490 if (!args) SWIG_fail;
6491 swig_obj[0] = args;
6492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6493 if (!SWIG_IsOK(res1)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6495 }
6496 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 (arg1)->Redo();
6500 wxPyEndAllowThreads(__tstate);
6501 if (PyErr_Occurred()) SWIG_fail;
6502 }
6503 resultobj = SWIG_Py_Void();
6504 return resultobj;
6505fail:
6506 return NULL;
d55e5bfc
RD
6507}
6508
6509
1bd55598
RD
6510SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6511 PyObject *resultobj = 0;
6512 wxComboBox *arg1 = (wxComboBox *) 0 ;
6513 void *argp1 = 0 ;
6514 int res1 = 0 ;
6515 PyObject *swig_obj[1] ;
6516
6517 if (!args) SWIG_fail;
6518 swig_obj[0] = args;
6519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6520 if (!SWIG_IsOK(res1)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6522 }
6523 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->SelectAll();
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = SWIG_Py_Void();
6531 return resultobj;
6532fail:
6533 return NULL;
943e8dfd
RD
6534}
6535
6536
1bd55598
RD
6537SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6538 PyObject *resultobj = 0;
6539 wxComboBox *arg1 = (wxComboBox *) 0 ;
6540 bool result;
6541 void *argp1 = 0 ;
6542 int res1 = 0 ;
6543 PyObject *swig_obj[1] ;
6544
6545 if (!args) SWIG_fail;
6546 swig_obj[0] = args;
6547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6548 if (!SWIG_IsOK(res1)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6550 }
6551 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 {
6559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6560 }
6561 return resultobj;
6562fail:
6563 return NULL;
121b9a67
RD
6564}
6565
6566
1bd55598
RD
6567SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6568 PyObject *resultobj = 0;
6569 wxComboBox *arg1 = (wxComboBox *) 0 ;
6570 bool result;
6571 void *argp1 = 0 ;
6572 int res1 = 0 ;
6573 PyObject *swig_obj[1] ;
6574
6575 if (!args) SWIG_fail;
6576 swig_obj[0] = args;
6577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6578 if (!SWIG_IsOK(res1)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6580 }
6581 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 result = (bool)((wxComboBox const *)arg1)->CanCut();
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 {
6589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6590 }
6591 return resultobj;
6592fail:
6593 return NULL;
121b9a67
RD
6594}
6595
6596
1bd55598
RD
6597SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6598 PyObject *resultobj = 0;
6599 wxComboBox *arg1 = (wxComboBox *) 0 ;
6600 bool result;
6601 void *argp1 = 0 ;
6602 int res1 = 0 ;
6603 PyObject *swig_obj[1] ;
6604
6605 if (!args) SWIG_fail;
6606 swig_obj[0] = args;
6607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6608 if (!SWIG_IsOK(res1)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6610 }
6611 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6620 }
6621 return resultobj;
6622fail:
6623 return NULL;
d55e5bfc
RD
6624}
6625
6626
1bd55598
RD
6627SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6628 PyObject *resultobj = 0;
6629 wxComboBox *arg1 = (wxComboBox *) 0 ;
6630 bool result;
6631 void *argp1 = 0 ;
6632 int res1 = 0 ;
6633 PyObject *swig_obj[1] ;
6634
6635 if (!args) SWIG_fail;
6636 swig_obj[0] = args;
6637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6638 if (!SWIG_IsOK(res1)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6640 }
6641 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 {
6649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6650 }
6651 return resultobj;
6652fail:
6653 return NULL;
d55e5bfc
RD
6654}
6655
6656
1bd55598
RD
6657SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6658 PyObject *resultobj = 0;
6659 wxComboBox *arg1 = (wxComboBox *) 0 ;
6660 bool result;
6661 void *argp1 = 0 ;
6662 int res1 = 0 ;
6663 PyObject *swig_obj[1] ;
6664
6665 if (!args) SWIG_fail;
6666 swig_obj[0] = args;
6667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6668 if (!SWIG_IsOK(res1)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6670 }
6671 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 {
6679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6680 }
6681 return resultobj;
6682fail:
6683 return NULL;
d55e5bfc
RD
6684}
6685
6686
1bd55598
RD
6687SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj = 0;
6689 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6690 SwigValueWrapper<wxVisualAttributes > result;
6691 int val1 ;
6692 int ecode1 = 0 ;
6693 PyObject * obj0 = 0 ;
6694 char * kwnames[] = {
6695 (char *) "variant", NULL
6696 };
6697
6698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6699 if (obj0) {
6700 ecode1 = SWIG_AsVal_int(obj0, &val1);
6701 if (!SWIG_IsOK(ecode1)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6703 }
6704 arg1 = static_cast< wxWindowVariant >(val1);
6705 }
6706 {
6707 if (!wxPyCheckForApp()) SWIG_fail;
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = wxComboBox::GetClassDefaultAttributes(arg1);
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6714 return resultobj;
6715fail:
6716 return NULL;
5cbf236d
RD
6717}
6718
6719
1bd55598
RD
6720SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6721 PyObject *obj;
6722 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6723 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6724 return SWIG_Py_Void();
5cbf236d
RD
6725}
6726
1bd55598
RD
6727SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6728 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
6729}
6730
1bd55598
RD
6731SWIGINTERN int GaugeNameStr_set(PyObject *) {
6732 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6733 return 1;
5cbf236d
RD
6734}
6735
6736
1bd55598
RD
6737SWIGINTERN PyObject *GaugeNameStr_get(void) {
6738 PyObject *pyobj = 0;
6739
6740 {
6741#if wxUSE_UNICODE
6742 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6743#else
6744 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6745#endif
6746 }
6747 return pyobj;
6748}
6749
6750
6751SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj = 0;
6753 wxWindow *arg1 = (wxWindow *) 0 ;
6754 int arg2 = (int) -1 ;
6755 int arg3 = (int) 100 ;
6756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6758 wxSize const &arg5_defvalue = wxDefaultSize ;
6759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6760 long arg6 = (long) wxGA_HORIZONTAL ;
6761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6763 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6764 wxString *arg8 = (wxString *) &arg8_defvalue ;
6765 wxGauge *result = 0 ;
6766 void *argp1 = 0 ;
6767 int res1 = 0 ;
6768 int val2 ;
6769 int ecode2 = 0 ;
6770 int val3 ;
6771 int ecode3 = 0 ;
6772 wxPoint temp4 ;
6773 wxSize temp5 ;
6774 long val6 ;
6775 int ecode6 = 0 ;
6776 void *argp7 = 0 ;
6777 int res7 = 0 ;
6778 bool temp8 = false ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 PyObject * obj2 = 0 ;
6782 PyObject * obj3 = 0 ;
6783 PyObject * obj4 = 0 ;
6784 PyObject * obj5 = 0 ;
6785 PyObject * obj6 = 0 ;
6786 PyObject * obj7 = 0 ;
6787 char * kwnames[] = {
6788 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6789 };
6790
6791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6793 if (!SWIG_IsOK(res1)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6795 }
6796 arg1 = reinterpret_cast< wxWindow * >(argp1);
6797 if (obj1) {
6798 ecode2 = SWIG_AsVal_int(obj1, &val2);
6799 if (!SWIG_IsOK(ecode2)) {
6800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6801 }
6802 arg2 = static_cast< int >(val2);
6803 }
6804 if (obj2) {
6805 ecode3 = SWIG_AsVal_int(obj2, &val3);
6806 if (!SWIG_IsOK(ecode3)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6808 }
6809 arg3 = static_cast< int >(val3);
6810 }
6811 if (obj3) {
5cbf236d 6812 {
1bd55598
RD
6813 arg4 = &temp4;
6814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5cbf236d 6815 }
1bd55598
RD
6816 }
6817 if (obj4) {
5cbf236d 6818 {
1bd55598
RD
6819 arg5 = &temp5;
6820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6821 }
1bd55598
RD
6822 }
6823 if (obj5) {
6824 ecode6 = SWIG_AsVal_long(obj5, &val6);
6825 if (!SWIG_IsOK(ecode6)) {
6826 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6827 }
6828 arg6 = static_cast< long >(val6);
6829 }
6830 if (obj6) {
6831 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6832 if (!SWIG_IsOK(res7)) {
6833 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6834 }
6835 if (!argp7) {
6836 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
5cbf236d 6837 }
1bd55598
RD
6838 arg7 = reinterpret_cast< wxValidator * >(argp7);
6839 }
6840 if (obj7) {
5cbf236d 6841 {
1bd55598
RD
6842 arg8 = wxString_in_helper(obj7);
6843 if (arg8 == NULL) SWIG_fail;
6844 temp8 = true;
5cbf236d 6845 }
1bd55598
RD
6846 }
6847 {
6848 if (!wxPyCheckForApp()) SWIG_fail;
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6855 {
6856 if (temp8)
6857 delete arg8;
6858 }
6859 return resultobj;
6860fail:
6861 {
6862 if (temp8)
6863 delete arg8;
6864 }
6865 return NULL;
5cbf236d
RD
6866}
6867
6868
1bd55598
RD
6869SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6870 PyObject *resultobj = 0;
6871 wxGauge *result = 0 ;
6872
6873 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6874 {
6875 if (!wxPyCheckForApp()) SWIG_fail;
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 result = (wxGauge *)new wxGauge();
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6882 return resultobj;
6883fail:
6884 return NULL;
6885}
6886
6887
6888SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj = 0;
6890 wxGauge *arg1 = (wxGauge *) 0 ;
6891 wxWindow *arg2 = (wxWindow *) 0 ;
6892 int arg3 = (int) -1 ;
6893 int arg4 = (int) 100 ;
6894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6896 wxSize const &arg6_defvalue = wxDefaultSize ;
6897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6898 long arg7 = (long) wxGA_HORIZONTAL ;
6899 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6900 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6901 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6902 wxString *arg9 = (wxString *) &arg9_defvalue ;
6903 bool result;
6904 void *argp1 = 0 ;
6905 int res1 = 0 ;
6906 void *argp2 = 0 ;
6907 int res2 = 0 ;
6908 int val3 ;
6909 int ecode3 = 0 ;
6910 int val4 ;
6911 int ecode4 = 0 ;
6912 wxPoint temp5 ;
6913 wxSize temp6 ;
6914 long val7 ;
6915 int ecode7 = 0 ;
6916 void *argp8 = 0 ;
6917 int res8 = 0 ;
6918 bool temp9 = false ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 PyObject * obj2 = 0 ;
6922 PyObject * obj3 = 0 ;
6923 PyObject * obj4 = 0 ;
6924 PyObject * obj5 = 0 ;
6925 PyObject * obj6 = 0 ;
6926 PyObject * obj7 = 0 ;
6927 PyObject * obj8 = 0 ;
6928 char * kwnames[] = {
6929 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6930 };
6931
6932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6934 if (!SWIG_IsOK(res1)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6936 }
6937 arg1 = reinterpret_cast< wxGauge * >(argp1);
6938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6939 if (!SWIG_IsOK(res2)) {
6940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6941 }
6942 arg2 = reinterpret_cast< wxWindow * >(argp2);
6943 if (obj2) {
6944 ecode3 = SWIG_AsVal_int(obj2, &val3);
6945 if (!SWIG_IsOK(ecode3)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6947 }
6948 arg3 = static_cast< int >(val3);
6949 }
6950 if (obj3) {
6951 ecode4 = SWIG_AsVal_int(obj3, &val4);
6952 if (!SWIG_IsOK(ecode4)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6954 }
6955 arg4 = static_cast< int >(val4);
6956 }
6957 if (obj4) {
5cbf236d 6958 {
1bd55598
RD
6959 arg5 = &temp5;
6960 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6961 }
1bd55598
RD
6962 }
6963 if (obj5) {
5cbf236d 6964 {
1bd55598
RD
6965 arg6 = &temp6;
6966 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5cbf236d 6967 }
1bd55598
RD
6968 }
6969 if (obj6) {
6970 ecode7 = SWIG_AsVal_long(obj6, &val7);
6971 if (!SWIG_IsOK(ecode7)) {
6972 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6973 }
6974 arg7 = static_cast< long >(val7);
6975 }
6976 if (obj7) {
6977 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6978 if (!SWIG_IsOK(res8)) {
6979 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5cbf236d 6980 }
1bd55598
RD
6981 if (!argp8) {
6982 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 }
6984 arg8 = reinterpret_cast< wxValidator * >(argp8);
6985 }
6986 if (obj8) {
5cbf236d 6987 {
1bd55598
RD
6988 arg9 = wxString_in_helper(obj8);
6989 if (arg9 == NULL) SWIG_fail;
6990 temp9 = true;
5cbf236d 6991 }
1bd55598
RD
6992 }
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 {
7000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7001 }
7002 {
7003 if (temp9)
7004 delete arg9;
7005 }
7006 return resultobj;
7007fail:
7008 {
7009 if (temp9)
7010 delete arg9;
7011 }
7012 return NULL;
7013}
7014
7015
7016SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj = 0;
7018 wxGauge *arg1 = (wxGauge *) 0 ;
7019 int arg2 ;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 int val2 ;
7023 int ecode2 = 0 ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 char * kwnames[] = {
7027 (char *) "self",(char *) "range", NULL
7028 };
7029
7030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7032 if (!SWIG_IsOK(res1)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7034 }
7035 arg1 = reinterpret_cast< wxGauge * >(argp1);
7036 ecode2 = SWIG_AsVal_int(obj1, &val2);
7037 if (!SWIG_IsOK(ecode2)) {
7038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7039 }
7040 arg2 = static_cast< int >(val2);
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->SetRange(arg2);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_Py_Void();
7048 return resultobj;
7049fail:
7050 return NULL;
5cbf236d
RD
7051}
7052
7053
1bd55598
RD
7054SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7055 PyObject *resultobj = 0;
7056 wxGauge *arg1 = (wxGauge *) 0 ;
7057 int result;
7058 void *argp1 = 0 ;
7059 int res1 = 0 ;
7060 PyObject *swig_obj[1] ;
7061
7062 if (!args) SWIG_fail;
7063 swig_obj[0] = args;
7064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7067 }
7068 arg1 = reinterpret_cast< wxGauge * >(argp1);
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxGauge const *)arg1)->GetRange();
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = SWIG_From_int(static_cast< int >(result));
7076 return resultobj;
7077fail:
7078 return NULL;
7079}
7080
7081
7082SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj = 0;
7084 wxGauge *arg1 = (wxGauge *) 0 ;
7085 int arg2 ;
7086 void *argp1 = 0 ;
7087 int res1 = 0 ;
7088 int val2 ;
7089 int ecode2 = 0 ;
7090 PyObject * obj0 = 0 ;
7091 PyObject * obj1 = 0 ;
7092 char * kwnames[] = {
7093 (char *) "self",(char *) "pos", NULL
7094 };
7095
7096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7098 if (!SWIG_IsOK(res1)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7100 }
7101 arg1 = reinterpret_cast< wxGauge * >(argp1);
7102 ecode2 = SWIG_AsVal_int(obj1, &val2);
7103 if (!SWIG_IsOK(ecode2)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7105 }
7106 arg2 = static_cast< int >(val2);
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->SetValue(arg2);
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 resultobj = SWIG_Py_Void();
7114 return resultobj;
7115fail:
7116 return NULL;
5cbf236d
RD
7117}
7118
7119
1bd55598
RD
7120SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7121 PyObject *resultobj = 0;
7122 wxGauge *arg1 = (wxGauge *) 0 ;
7123 int result;
7124 void *argp1 = 0 ;
7125 int res1 = 0 ;
7126 PyObject *swig_obj[1] ;
7127
7128 if (!args) SWIG_fail;
7129 swig_obj[0] = args;
7130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7131 if (!SWIG_IsOK(res1)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7133 }
7134 arg1 = reinterpret_cast< wxGauge * >(argp1);
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (int)((wxGauge const *)arg1)->GetValue();
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 resultobj = SWIG_From_int(static_cast< int >(result));
7142 return resultobj;
7143fail:
7144 return NULL;
f20a2e1f
RD
7145}
7146
7147
1bd55598
RD
7148SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7149 PyObject *resultobj = 0;
7150 wxGauge *arg1 = (wxGauge *) 0 ;
7151 bool result;
7152 void *argp1 = 0 ;
7153 int res1 = 0 ;
7154 PyObject *swig_obj[1] ;
7155
7156 if (!args) SWIG_fail;
7157 swig_obj[0] = args;
7158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7159 if (!SWIG_IsOK(res1)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7161 }
7162 arg1 = reinterpret_cast< wxGauge * >(argp1);
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 result = (bool)((wxGauge const *)arg1)->IsVertical();
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 {
7170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7171 }
7172 return resultobj;
7173fail:
7174 return NULL;
7175}
7176
7177
7178SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj = 0;
7180 wxGauge *arg1 = (wxGauge *) 0 ;
7181 int arg2 ;
7182 void *argp1 = 0 ;
7183 int res1 = 0 ;
7184 int val2 ;
7185 int ecode2 = 0 ;
7186 PyObject * obj0 = 0 ;
7187 PyObject * obj1 = 0 ;
7188 char * kwnames[] = {
7189 (char *) "self",(char *) "w", NULL
7190 };
7191
7192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7194 if (!SWIG_IsOK(res1)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7196 }
7197 arg1 = reinterpret_cast< wxGauge * >(argp1);
7198 ecode2 = SWIG_AsVal_int(obj1, &val2);
7199 if (!SWIG_IsOK(ecode2)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7201 }
7202 arg2 = static_cast< int >(val2);
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetShadowWidth(arg2);
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = SWIG_Py_Void();
7210 return resultobj;
7211fail:
7212 return NULL;
d55e5bfc
RD
7213}
7214
7215
1bd55598
RD
7216SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7217 PyObject *resultobj = 0;
7218 wxGauge *arg1 = (wxGauge *) 0 ;
7219 int result;
7220 void *argp1 = 0 ;
7221 int res1 = 0 ;
7222 PyObject *swig_obj[1] ;
7223
7224 if (!args) SWIG_fail;
7225 swig_obj[0] = args;
7226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7227 if (!SWIG_IsOK(res1)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7229 }
7230 arg1 = reinterpret_cast< wxGauge * >(argp1);
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_From_int(static_cast< int >(result));
7238 return resultobj;
7239fail:
7240 return NULL;
7241}
7242
7243
7244SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj = 0;
7246 wxGauge *arg1 = (wxGauge *) 0 ;
7247 int arg2 ;
7248 void *argp1 = 0 ;
7249 int res1 = 0 ;
7250 int val2 ;
7251 int ecode2 = 0 ;
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 char * kwnames[] = {
7255 (char *) "self",(char *) "w", NULL
7256 };
7257
7258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7260 if (!SWIG_IsOK(res1)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7262 }
7263 arg1 = reinterpret_cast< wxGauge * >(argp1);
7264 ecode2 = SWIG_AsVal_int(obj1, &val2);
7265 if (!SWIG_IsOK(ecode2)) {
7266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7267 }
7268 arg2 = static_cast< int >(val2);
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 (arg1)->SetBezelFace(arg2);
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 resultobj = SWIG_Py_Void();
7276 return resultobj;
7277fail:
7278 return NULL;
d55e5bfc
RD
7279}
7280
7281
1bd55598
RD
7282SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7283 PyObject *resultobj = 0;
7284 wxGauge *arg1 = (wxGauge *) 0 ;
7285 int result;
7286 void *argp1 = 0 ;
7287 int res1 = 0 ;
7288 PyObject *swig_obj[1] ;
7289
7290 if (!args) SWIG_fail;
7291 swig_obj[0] = args;
7292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7293 if (!SWIG_IsOK(res1)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7295 }
7296 arg1 = reinterpret_cast< wxGauge * >(argp1);
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_From_int(static_cast< int >(result));
7304 return resultobj;
7305fail:
7306 return NULL;
7307}
7308
7309
7310SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj = 0;
7312 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7313 SwigValueWrapper<wxVisualAttributes > result;
7314 int val1 ;
7315 int ecode1 = 0 ;
7316 PyObject * obj0 = 0 ;
7317 char * kwnames[] = {
7318 (char *) "variant", NULL
7319 };
7320
7321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7322 if (obj0) {
7323 ecode1 = SWIG_AsVal_int(obj0, &val1);
7324 if (!SWIG_IsOK(ecode1)) {
7325 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7326 }
7327 arg1 = static_cast< wxWindowVariant >(val1);
7328 }
7329 {
7330 if (!wxPyCheckForApp()) SWIG_fail;
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = wxGauge::GetClassDefaultAttributes(arg1);
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7337 return resultobj;
7338fail:
7339 return NULL;
d55e5bfc
RD
7340}
7341
7342
1bd55598
RD
7343SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7344 PyObject *obj;
7345 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7346 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7347 return SWIG_Py_Void();
d55e5bfc
RD
7348}
7349
1bd55598
RD
7350SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7351 return SWIG_Python_InitShadowInstance(args);
7352}
d55e5bfc 7353
1bd55598
RD
7354SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7355 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7356 return 1;
d55e5bfc
RD
7357}
7358
7359
1bd55598
RD
7360SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7361 PyObject *pyobj = 0;
7362
7363 {
7364#if wxUSE_UNICODE
7365 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7366#else
7367 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7368#endif
7369 }
7370 return pyobj;
d55e5bfc
RD
7371}
7372
7373
1bd55598
RD
7374SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7375 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7376 return 1;
d55e5bfc
RD
7377}
7378
7379
1bd55598
RD
7380SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7381 PyObject *pyobj = 0;
7382
7383 {
7384#if wxUSE_UNICODE
7385 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7386#else
7387 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7388#endif
7389 }
7390 return pyobj;
d55e5bfc
RD
7391}
7392
7393
1bd55598
RD
7394SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7395 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7396 return 1;
d55e5bfc
RD
7397}
7398
7399
1bd55598
RD
7400SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7401 PyObject *pyobj = 0;
7402
7403 {
7404#if wxUSE_UNICODE
7405 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7406#else
7407 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7408#endif
7409 }
7410 return pyobj;
7411}
7412
7413
7414SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj = 0;
7416 wxWindow *arg1 = (wxWindow *) 0 ;
7417 int arg2 = (int) -1 ;
7418 wxString const &arg3_defvalue = wxPyEmptyString ;
7419 wxString *arg3 = (wxString *) &arg3_defvalue ;
7420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7422 wxSize const &arg5_defvalue = wxDefaultSize ;
7423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7424 long arg6 = (long) 0 ;
7425 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7426 wxString *arg7 = (wxString *) &arg7_defvalue ;
7427 wxStaticBox *result = 0 ;
7428 void *argp1 = 0 ;
7429 int res1 = 0 ;
7430 int val2 ;
7431 int ecode2 = 0 ;
7432 bool temp3 = false ;
7433 wxPoint temp4 ;
7434 wxSize temp5 ;
7435 long val6 ;
7436 int ecode6 = 0 ;
7437 bool temp7 = false ;
7438 PyObject * obj0 = 0 ;
7439 PyObject * obj1 = 0 ;
7440 PyObject * obj2 = 0 ;
7441 PyObject * obj3 = 0 ;
7442 PyObject * obj4 = 0 ;
7443 PyObject * obj5 = 0 ;
7444 PyObject * obj6 = 0 ;
7445 char * kwnames[] = {
7446 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7447 };
7448
7449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7451 if (!SWIG_IsOK(res1)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7453 }
7454 arg1 = reinterpret_cast< wxWindow * >(argp1);
7455 if (obj1) {
7456 ecode2 = SWIG_AsVal_int(obj1, &val2);
7457 if (!SWIG_IsOK(ecode2)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7459 }
7460 arg2 = static_cast< int >(val2);
7461 }
7462 if (obj2) {
36ed4f51 7463 {
1bd55598
RD
7464 arg3 = wxString_in_helper(obj2);
7465 if (arg3 == NULL) SWIG_fail;
7466 temp3 = true;
36ed4f51 7467 }
1bd55598
RD
7468 }
7469 if (obj3) {
d55e5bfc 7470 {
1bd55598
RD
7471 arg4 = &temp4;
7472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7473 }
1bd55598
RD
7474 }
7475 if (obj4) {
d55e5bfc 7476 {
1bd55598
RD
7477 arg5 = &temp5;
7478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7479 }
1bd55598
RD
7480 }
7481 if (obj5) {
7482 ecode6 = SWIG_AsVal_long(obj5, &val6);
7483 if (!SWIG_IsOK(ecode6)) {
7484 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7485 }
7486 arg6 = static_cast< long >(val6);
7487 }
7488 if (obj6) {
36ed4f51 7489 {
1bd55598
RD
7490 arg7 = wxString_in_helper(obj6);
7491 if (arg7 == NULL) SWIG_fail;
7492 temp7 = true;
36ed4f51 7493 }
1bd55598
RD
7494 }
7495 {
7496 if (!wxPyCheckForApp()) SWIG_fail;
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7503 {
7504 if (temp3)
7505 delete arg3;
7506 }
7507 {
7508 if (temp7)
7509 delete arg7;
7510 }
7511 return resultobj;
7512fail:
7513 {
7514 if (temp3)
7515 delete arg3;
7516 }
7517 {
7518 if (temp7)
7519 delete arg7;
7520 }
7521 return NULL;
7522}
d55e5bfc 7523
1bd55598
RD
7524
7525SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7526 PyObject *resultobj = 0;
7527 wxStaticBox *result = 0 ;
7528
7529 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7530 {
7531 if (!wxPyCheckForApp()) SWIG_fail;
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 result = (wxStaticBox *)new wxStaticBox();
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7538 return resultobj;
7539fail:
7540 return NULL;
7541}
7542
7543
7544SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj = 0;
7546 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7547 wxWindow *arg2 = (wxWindow *) 0 ;
7548 int arg3 = (int) -1 ;
7549 wxString const &arg4_defvalue = wxPyEmptyString ;
7550 wxString *arg4 = (wxString *) &arg4_defvalue ;
7551 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7552 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7553 wxSize const &arg6_defvalue = wxDefaultSize ;
7554 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7555 long arg7 = (long) 0 ;
7556 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7557 wxString *arg8 = (wxString *) &arg8_defvalue ;
7558 bool result;
7559 void *argp1 = 0 ;
7560 int res1 = 0 ;
7561 void *argp2 = 0 ;
7562 int res2 = 0 ;
7563 int val3 ;
7564 int ecode3 = 0 ;
7565 bool temp4 = false ;
7566 wxPoint temp5 ;
7567 wxSize temp6 ;
7568 long val7 ;
7569 int ecode7 = 0 ;
7570 bool temp8 = false ;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 PyObject * obj2 = 0 ;
7574 PyObject * obj3 = 0 ;
7575 PyObject * obj4 = 0 ;
7576 PyObject * obj5 = 0 ;
7577 PyObject * obj6 = 0 ;
7578 PyObject * obj7 = 0 ;
7579 char * kwnames[] = {
7580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7581 };
7582
7583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7585 if (!SWIG_IsOK(res1)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7587 }
7588 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7589 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7590 if (!SWIG_IsOK(res2)) {
7591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7592 }
7593 arg2 = reinterpret_cast< wxWindow * >(argp2);
7594 if (obj2) {
7595 ecode3 = SWIG_AsVal_int(obj2, &val3);
7596 if (!SWIG_IsOK(ecode3)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7598 }
7599 arg3 = static_cast< int >(val3);
7600 }
7601 if (obj3) {
36ed4f51 7602 {
1bd55598
RD
7603 arg4 = wxString_in_helper(obj3);
7604 if (arg4 == NULL) SWIG_fail;
7605 temp4 = true;
36ed4f51 7606 }
1bd55598
RD
7607 }
7608 if (obj4) {
d55e5bfc 7609 {
1bd55598
RD
7610 arg5 = &temp5;
7611 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7612 }
1bd55598
RD
7613 }
7614 if (obj5) {
d55e5bfc 7615 {
1bd55598
RD
7616 arg6 = &temp6;
7617 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7618 }
1bd55598
RD
7619 }
7620 if (obj6) {
7621 ecode7 = SWIG_AsVal_long(obj6, &val7);
7622 if (!SWIG_IsOK(ecode7)) {
7623 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7624 }
7625 arg7 = static_cast< long >(val7);
7626 }
7627 if (obj7) {
36ed4f51 7628 {
1bd55598
RD
7629 arg8 = wxString_in_helper(obj7);
7630 if (arg8 == NULL) SWIG_fail;
7631 temp8 = true;
36ed4f51 7632 }
1bd55598
RD
7633 }
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 {
7641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7642 }
7643 {
7644 if (temp4)
7645 delete arg4;
7646 }
7647 {
7648 if (temp8)
7649 delete arg8;
7650 }
7651 return resultobj;
7652fail:
7653 {
7654 if (temp4)
7655 delete arg4;
7656 }
7657 {
7658 if (temp8)
7659 delete arg8;
7660 }
7661 return NULL;
d55e5bfc
RD
7662}
7663
7664
1bd55598
RD
7665SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj = 0;
7667 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7668 SwigValueWrapper<wxVisualAttributes > result;
7669 int val1 ;
7670 int ecode1 = 0 ;
7671 PyObject * obj0 = 0 ;
7672 char * kwnames[] = {
7673 (char *) "variant", NULL
7674 };
7675
7676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7677 if (obj0) {
7678 ecode1 = SWIG_AsVal_int(obj0, &val1);
7679 if (!SWIG_IsOK(ecode1)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7681 }
7682 arg1 = static_cast< wxWindowVariant >(val1);
7683 }
7684 {
7685 if (!wxPyCheckForApp()) SWIG_fail;
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7692 return resultobj;
7693fail:
7694 return NULL;
7695}
7696
7697
7698SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7699 PyObject *obj;
7700 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7701 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7702 return SWIG_Py_Void();
7703}
7704
7705SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7706 return SWIG_Python_InitShadowInstance(args);
7707}
7708
7709SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj = 0;
7711 wxWindow *arg1 = (wxWindow *) 0 ;
7712 int arg2 = (int) -1 ;
7713 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7714 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7715 wxSize const &arg4_defvalue = wxDefaultSize ;
7716 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7717 long arg5 = (long) wxLI_HORIZONTAL ;
7718 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7719 wxString *arg6 = (wxString *) &arg6_defvalue ;
7720 wxStaticLine *result = 0 ;
7721 void *argp1 = 0 ;
7722 int res1 = 0 ;
7723 int val2 ;
7724 int ecode2 = 0 ;
7725 wxPoint temp3 ;
7726 wxSize temp4 ;
7727 long val5 ;
7728 int ecode5 = 0 ;
7729 bool temp6 = false ;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 PyObject * obj2 = 0 ;
7733 PyObject * obj3 = 0 ;
7734 PyObject * obj4 = 0 ;
7735 PyObject * obj5 = 0 ;
7736 char * kwnames[] = {
7737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7738 };
7739
7740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7742 if (!SWIG_IsOK(res1)) {
7743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7744 }
7745 arg1 = reinterpret_cast< wxWindow * >(argp1);
7746 if (obj1) {
7747 ecode2 = SWIG_AsVal_int(obj1, &val2);
7748 if (!SWIG_IsOK(ecode2)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7750 }
7751 arg2 = static_cast< int >(val2);
7752 }
7753 if (obj2) {
7754 {
7755 arg3 = &temp3;
7756 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 7757 }
1bd55598
RD
7758 }
7759 if (obj3) {
f20a2e1f 7760 {
1bd55598
RD
7761 arg4 = &temp4;
7762 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 7763 }
1bd55598
RD
7764 }
7765 if (obj4) {
7766 ecode5 = SWIG_AsVal_long(obj4, &val5);
7767 if (!SWIG_IsOK(ecode5)) {
7768 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7769 }
7770 arg5 = static_cast< long >(val5);
7771 }
7772 if (obj5) {
f20a2e1f 7773 {
1bd55598
RD
7774 arg6 = wxString_in_helper(obj5);
7775 if (arg6 == NULL) SWIG_fail;
7776 temp6 = true;
f20a2e1f 7777 }
1bd55598
RD
7778 }
7779 {
7780 if (!wxPyCheckForApp()) SWIG_fail;
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7787 {
7788 if (temp6)
7789 delete arg6;
7790 }
7791 return resultobj;
7792fail:
7793 {
7794 if (temp6)
7795 delete arg6;
7796 }
7797 return NULL;
d55e5bfc
RD
7798}
7799
7800
1bd55598
RD
7801SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7802 PyObject *resultobj = 0;
7803 wxStaticLine *result = 0 ;
7804
7805 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7806 {
7807 if (!wxPyCheckForApp()) SWIG_fail;
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (wxStaticLine *)new wxStaticLine();
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7814 return resultobj;
7815fail:
7816 return NULL;
7817}
7818
7819
7820SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj = 0;
7822 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7823 wxWindow *arg2 = (wxWindow *) 0 ;
7824 int arg3 = (int) -1 ;
7825 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7826 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7827 wxSize const &arg5_defvalue = wxDefaultSize ;
7828 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7829 long arg6 = (long) wxLI_HORIZONTAL ;
7830 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7831 wxString *arg7 = (wxString *) &arg7_defvalue ;
7832 bool result;
7833 void *argp1 = 0 ;
7834 int res1 = 0 ;
7835 void *argp2 = 0 ;
7836 int res2 = 0 ;
7837 int val3 ;
7838 int ecode3 = 0 ;
7839 wxPoint temp4 ;
7840 wxSize temp5 ;
7841 long val6 ;
7842 int ecode6 = 0 ;
7843 bool temp7 = false ;
7844 PyObject * obj0 = 0 ;
7845 PyObject * obj1 = 0 ;
7846 PyObject * obj2 = 0 ;
7847 PyObject * obj3 = 0 ;
7848 PyObject * obj4 = 0 ;
7849 PyObject * obj5 = 0 ;
7850 PyObject * obj6 = 0 ;
7851 char * kwnames[] = {
7852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7853 };
7854
7855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7857 if (!SWIG_IsOK(res1)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7859 }
7860 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7861 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7862 if (!SWIG_IsOK(res2)) {
7863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7864 }
7865 arg2 = reinterpret_cast< wxWindow * >(argp2);
7866 if (obj2) {
7867 ecode3 = SWIG_AsVal_int(obj2, &val3);
7868 if (!SWIG_IsOK(ecode3)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7870 }
7871 arg3 = static_cast< int >(val3);
7872 }
7873 if (obj3) {
d55e5bfc 7874 {
1bd55598
RD
7875 arg4 = &temp4;
7876 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7877 }
1bd55598
RD
7878 }
7879 if (obj4) {
d55e5bfc 7880 {
1bd55598
RD
7881 arg5 = &temp5;
7882 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7883 }
7884 }
7885 if (obj5) {
7886 ecode6 = SWIG_AsVal_long(obj5, &val6);
7887 if (!SWIG_IsOK(ecode6)) {
7888 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7889 }
7890 arg6 = static_cast< long >(val6);
7891 }
7892 if (obj6) {
7893 {
7894 arg7 = wxString_in_helper(obj6);
7895 if (arg7 == NULL) SWIG_fail;
7896 temp7 = true;
d55e5bfc 7897 }
1bd55598
RD
7898 }
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 {
7906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7907 }
7908 {
7909 if (temp7)
7910 delete arg7;
7911 }
7912 return resultobj;
7913fail:
7914 {
7915 if (temp7)
7916 delete arg7;
7917 }
7918 return NULL;
d55e5bfc
RD
7919}
7920
7921
1bd55598
RD
7922SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7923 PyObject *resultobj = 0;
7924 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7925 bool result;
7926 void *argp1 = 0 ;
7927 int res1 = 0 ;
7928 PyObject *swig_obj[1] ;
7929
7930 if (!args) SWIG_fail;
7931 swig_obj[0] = args;
7932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7933 if (!SWIG_IsOK(res1)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7935 }
7936 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 {
7944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7945 }
7946 return resultobj;
7947fail:
7948 return NULL;
d55e5bfc
RD
7949}
7950
7951
1bd55598
RD
7952SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7953 PyObject *resultobj = 0;
7954 int result;
7955
7956 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (int)wxStaticLine::GetDefaultSize();
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 resultobj = SWIG_From_int(static_cast< int >(result));
7964 return resultobj;
7965fail:
7966 return NULL;
7967}
7968
7969
7970SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj = 0;
7972 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7973 SwigValueWrapper<wxVisualAttributes > result;
7974 int val1 ;
7975 int ecode1 = 0 ;
7976 PyObject * obj0 = 0 ;
7977 char * kwnames[] = {
7978 (char *) "variant", NULL
7979 };
7980
7981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7982 if (obj0) {
7983 ecode1 = SWIG_AsVal_int(obj0, &val1);
7984 if (!SWIG_IsOK(ecode1)) {
7985 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7986 }
7987 arg1 = static_cast< wxWindowVariant >(val1);
7988 }
7989 {
7990 if (!wxPyCheckForApp()) SWIG_fail;
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = wxStaticLine::GetClassDefaultAttributes(arg1);
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7997 return resultobj;
7998fail:
7999 return NULL;
8000}
8001
8002
8003SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *obj;
8005 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8006 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8007 return SWIG_Py_Void();
8008}
8009
8010SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8011 return SWIG_Python_InitShadowInstance(args);
8012}
8013
8014SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj = 0;
8016 wxWindow *arg1 = (wxWindow *) 0 ;
8017 int arg2 = (int) -1 ;
8018 wxString const &arg3_defvalue = wxPyEmptyString ;
8019 wxString *arg3 = (wxString *) &arg3_defvalue ;
8020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8022 wxSize const &arg5_defvalue = wxDefaultSize ;
8023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8024 long arg6 = (long) 0 ;
8025 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8026 wxString *arg7 = (wxString *) &arg7_defvalue ;
8027 wxStaticText *result = 0 ;
8028 void *argp1 = 0 ;
8029 int res1 = 0 ;
8030 int val2 ;
8031 int ecode2 = 0 ;
8032 bool temp3 = false ;
8033 wxPoint temp4 ;
8034 wxSize temp5 ;
8035 long val6 ;
8036 int ecode6 = 0 ;
8037 bool temp7 = false ;
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
8040 PyObject * obj2 = 0 ;
8041 PyObject * obj3 = 0 ;
8042 PyObject * obj4 = 0 ;
8043 PyObject * obj5 = 0 ;
8044 PyObject * obj6 = 0 ;
8045 char * kwnames[] = {
8046 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8047 };
8048
8049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8051 if (!SWIG_IsOK(res1)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8053 }
8054 arg1 = reinterpret_cast< wxWindow * >(argp1);
8055 if (obj1) {
8056 ecode2 = SWIG_AsVal_int(obj1, &val2);
8057 if (!SWIG_IsOK(ecode2)) {
8058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8059 }
8060 arg2 = static_cast< int >(val2);
8061 }
8062 if (obj2) {
d55e5bfc 8063 {
1bd55598
RD
8064 arg3 = wxString_in_helper(obj2);
8065 if (arg3 == NULL) SWIG_fail;
8066 temp3 = true;
d55e5bfc 8067 }
1bd55598
RD
8068 }
8069 if (obj3) {
d55e5bfc 8070 {
1bd55598
RD
8071 arg4 = &temp4;
8072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8073 }
1bd55598
RD
8074 }
8075 if (obj4) {
d55e5bfc 8076 {
1bd55598
RD
8077 arg5 = &temp5;
8078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8079 }
1bd55598
RD
8080 }
8081 if (obj5) {
8082 ecode6 = SWIG_AsVal_long(obj5, &val6);
8083 if (!SWIG_IsOK(ecode6)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8085 }
8086 arg6 = static_cast< long >(val6);
8087 }
8088 if (obj6) {
d55e5bfc 8089 {
1bd55598
RD
8090 arg7 = wxString_in_helper(obj6);
8091 if (arg7 == NULL) SWIG_fail;
8092 temp7 = true;
d55e5bfc 8093 }
1bd55598
RD
8094 }
8095 {
8096 if (!wxPyCheckForApp()) SWIG_fail;
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8103 {
8104 if (temp3)
8105 delete arg3;
8106 }
8107 {
8108 if (temp7)
8109 delete arg7;
8110 }
8111 return resultobj;
8112fail:
8113 {
8114 if (temp3)
8115 delete arg3;
8116 }
8117 {
8118 if (temp7)
8119 delete arg7;
8120 }
8121 return NULL;
d55e5bfc
RD
8122}
8123
8124
1bd55598
RD
8125SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8126 PyObject *resultobj = 0;
8127 wxStaticText *result = 0 ;
8128
8129 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8130 {
8131 if (!wxPyCheckForApp()) SWIG_fail;
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (wxStaticText *)new wxStaticText();
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8138 return resultobj;
8139fail:
8140 return NULL;
8141}
8142
8143
8144SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj = 0;
8146 wxStaticText *arg1 = (wxStaticText *) 0 ;
8147 wxWindow *arg2 = (wxWindow *) 0 ;
8148 int arg3 = (int) -1 ;
8149 wxString const &arg4_defvalue = wxPyEmptyString ;
8150 wxString *arg4 = (wxString *) &arg4_defvalue ;
8151 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8152 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8153 wxSize const &arg6_defvalue = wxDefaultSize ;
8154 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8155 long arg7 = (long) 0 ;
8156 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8157 wxString *arg8 = (wxString *) &arg8_defvalue ;
8158 bool result;
8159 void *argp1 = 0 ;
8160 int res1 = 0 ;
8161 void *argp2 = 0 ;
8162 int res2 = 0 ;
8163 int val3 ;
8164 int ecode3 = 0 ;
8165 bool temp4 = false ;
8166 wxPoint temp5 ;
8167 wxSize temp6 ;
8168 long val7 ;
8169 int ecode7 = 0 ;
8170 bool temp8 = false ;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 PyObject * obj2 = 0 ;
8174 PyObject * obj3 = 0 ;
8175 PyObject * obj4 = 0 ;
8176 PyObject * obj5 = 0 ;
8177 PyObject * obj6 = 0 ;
8178 PyObject * obj7 = 0 ;
8179 char * kwnames[] = {
8180 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8181 };
8182
8183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8185 if (!SWIG_IsOK(res1)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8187 }
8188 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8190 if (!SWIG_IsOK(res2)) {
8191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8192 }
8193 arg2 = reinterpret_cast< wxWindow * >(argp2);
8194 if (obj2) {
8195 ecode3 = SWIG_AsVal_int(obj2, &val3);
8196 if (!SWIG_IsOK(ecode3)) {
8197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8198 }
8199 arg3 = static_cast< int >(val3);
8200 }
8201 if (obj3) {
d55e5bfc 8202 {
1bd55598
RD
8203 arg4 = wxString_in_helper(obj3);
8204 if (arg4 == NULL) SWIG_fail;
8205 temp4 = true;
d55e5bfc 8206 }
1bd55598
RD
8207 }
8208 if (obj4) {
d55e5bfc 8209 {
1bd55598
RD
8210 arg5 = &temp5;
8211 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8212 }
1bd55598
RD
8213 }
8214 if (obj5) {
d55e5bfc 8215 {
1bd55598
RD
8216 arg6 = &temp6;
8217 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8218 }
1bd55598
RD
8219 }
8220 if (obj6) {
8221 ecode7 = SWIG_AsVal_long(obj6, &val7);
8222 if (!SWIG_IsOK(ecode7)) {
8223 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8224 }
8225 arg7 = static_cast< long >(val7);
8226 }
8227 if (obj7) {
d55e5bfc 8228 {
1bd55598
RD
8229 arg8 = wxString_in_helper(obj7);
8230 if (arg8 == NULL) SWIG_fail;
8231 temp8 = true;
d55e5bfc 8232 }
1bd55598
RD
8233 }
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8237 wxPyEndAllowThreads(__tstate);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 }
8240 {
8241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8242 }
8243 {
8244 if (temp4)
8245 delete arg4;
8246 }
8247 {
8248 if (temp8)
8249 delete arg8;
8250 }
8251 return resultobj;
8252fail:
8253 {
8254 if (temp4)
8255 delete arg4;
8256 }
8257 {
8258 if (temp8)
8259 delete arg8;
8260 }
8261 return NULL;
8262}
8263
8264
8265SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj = 0;
8267 wxStaticText *arg1 = (wxStaticText *) 0 ;
8268 int arg2 ;
8269 void *argp1 = 0 ;
8270 int res1 = 0 ;
8271 int val2 ;
8272 int ecode2 = 0 ;
8273 PyObject * obj0 = 0 ;
8274 PyObject * obj1 = 0 ;
8275 char * kwnames[] = {
8276 (char *) "self",(char *) "width", NULL
8277 };
8278
8279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8281 if (!SWIG_IsOK(res1)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8283 }
8284 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8285 ecode2 = SWIG_AsVal_int(obj1, &val2);
8286 if (!SWIG_IsOK(ecode2)) {
8287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8288 }
8289 arg2 = static_cast< int >(val2);
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 (arg1)->Wrap(arg2);
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 resultobj = SWIG_Py_Void();
8297 return resultobj;
8298fail:
8299 return NULL;
8300}
8301
8302
8303SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj = 0;
8305 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8306 SwigValueWrapper<wxVisualAttributes > result;
8307 int val1 ;
8308 int ecode1 = 0 ;
8309 PyObject * obj0 = 0 ;
8310 char * kwnames[] = {
8311 (char *) "variant", NULL
8312 };
8313
8314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8315 if (obj0) {
8316 ecode1 = SWIG_AsVal_int(obj0, &val1);
8317 if (!SWIG_IsOK(ecode1)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8319 }
8320 arg1 = static_cast< wxWindowVariant >(val1);
8321 }
8322 {
8323 if (!wxPyCheckForApp()) SWIG_fail;
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = wxStaticText::GetClassDefaultAttributes(arg1);
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8330 return resultobj;
8331fail:
8332 return NULL;
8333}
8334
8335
8336SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8337 PyObject *obj;
8338 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8339 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8340 return SWIG_Py_Void();
8341}
8342
8343SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8344 return SWIG_Python_InitShadowInstance(args);
8345}
8346
8347SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj = 0;
8349 wxWindow *arg1 = (wxWindow *) 0 ;
8350 int arg2 = (int) -1 ;
8351 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8352 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8353 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8354 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8355 wxSize const &arg5_defvalue = wxDefaultSize ;
8356 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8357 long arg6 = (long) 0 ;
8358 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8359 wxString *arg7 = (wxString *) &arg7_defvalue ;
8360 wxStaticBitmap *result = 0 ;
8361 void *argp1 = 0 ;
8362 int res1 = 0 ;
8363 int val2 ;
8364 int ecode2 = 0 ;
8365 void *argp3 = 0 ;
8366 int res3 = 0 ;
8367 wxPoint temp4 ;
8368 wxSize temp5 ;
8369 long val6 ;
8370 int ecode6 = 0 ;
8371 bool temp7 = false ;
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj1 = 0 ;
8374 PyObject * obj2 = 0 ;
8375 PyObject * obj3 = 0 ;
8376 PyObject * obj4 = 0 ;
8377 PyObject * obj5 = 0 ;
8378 PyObject * obj6 = 0 ;
8379 char * kwnames[] = {
8380 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8381 };
8382
8383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8385 if (!SWIG_IsOK(res1)) {
8386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8387 }
8388 arg1 = reinterpret_cast< wxWindow * >(argp1);
8389 if (obj1) {
8390 ecode2 = SWIG_AsVal_int(obj1, &val2);
8391 if (!SWIG_IsOK(ecode2)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8393 }
8394 arg2 = static_cast< int >(val2);
8395 }
8396 if (obj2) {
8397 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8398 if (!SWIG_IsOK(res3)) {
8399 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
d55e5bfc 8400 }
1bd55598
RD
8401 if (!argp3) {
8402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
d55e5bfc 8403 }
1bd55598
RD
8404 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8405 }
8406 if (obj3) {
d55e5bfc 8407 {
1bd55598
RD
8408 arg4 = &temp4;
8409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 8410 }
1bd55598
RD
8411 }
8412 if (obj4) {
f20a2e1f 8413 {
1bd55598
RD
8414 arg5 = &temp5;
8415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8416 }
1bd55598
RD
8417 }
8418 if (obj5) {
8419 ecode6 = SWIG_AsVal_long(obj5, &val6);
8420 if (!SWIG_IsOK(ecode6)) {
8421 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8422 }
8423 arg6 = static_cast< long >(val6);
8424 }
8425 if (obj6) {
f20a2e1f 8426 {
1bd55598
RD
8427 arg7 = wxString_in_helper(obj6);
8428 if (arg7 == NULL) SWIG_fail;
8429 temp7 = true;
f20a2e1f 8430 }
1bd55598
RD
8431 }
8432 {
8433 if (!wxPyCheckForApp()) SWIG_fail;
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8440 {
8441 if (temp7)
8442 delete arg7;
8443 }
8444 return resultobj;
8445fail:
8446 {
8447 if (temp7)
8448 delete arg7;
8449 }
8450 return NULL;
f20a2e1f
RD
8451}
8452
8453
1bd55598
RD
8454SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8455 PyObject *resultobj = 0;
8456 wxStaticBitmap *result = 0 ;
8457
8458 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8459 {
8460 if (!wxPyCheckForApp()) SWIG_fail;
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 result = (wxStaticBitmap *)new wxStaticBitmap();
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8467 return resultobj;
8468fail:
8469 return NULL;
8470}
8471
8472
8473SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj = 0;
8475 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8476 wxWindow *arg2 = (wxWindow *) 0 ;
8477 int arg3 = (int) -1 ;
8478 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8479 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8482 wxSize const &arg6_defvalue = wxDefaultSize ;
8483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8484 long arg7 = (long) 0 ;
8485 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8486 wxString *arg8 = (wxString *) &arg8_defvalue ;
8487 bool result;
8488 void *argp1 = 0 ;
8489 int res1 = 0 ;
8490 void *argp2 = 0 ;
8491 int res2 = 0 ;
8492 int val3 ;
8493 int ecode3 = 0 ;
8494 void *argp4 = 0 ;
8495 int res4 = 0 ;
8496 wxPoint temp5 ;
8497 wxSize temp6 ;
8498 long val7 ;
8499 int ecode7 = 0 ;
8500 bool temp8 = false ;
8501 PyObject * obj0 = 0 ;
8502 PyObject * obj1 = 0 ;
8503 PyObject * obj2 = 0 ;
8504 PyObject * obj3 = 0 ;
8505 PyObject * obj4 = 0 ;
8506 PyObject * obj5 = 0 ;
8507 PyObject * obj6 = 0 ;
8508 PyObject * obj7 = 0 ;
8509 char * kwnames[] = {
8510 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8511 };
8512
8513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8515 if (!SWIG_IsOK(res1)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8517 }
8518 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8520 if (!SWIG_IsOK(res2)) {
8521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8522 }
8523 arg2 = reinterpret_cast< wxWindow * >(argp2);
8524 if (obj2) {
8525 ecode3 = SWIG_AsVal_int(obj2, &val3);
8526 if (!SWIG_IsOK(ecode3)) {
8527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8528 }
8529 arg3 = static_cast< int >(val3);
8530 }
8531 if (obj3) {
8532 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8533 if (!SWIG_IsOK(res4)) {
8534 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 8535 }
1bd55598
RD
8536 if (!argp4) {
8537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 8538 }
1bd55598
RD
8539 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8540 }
8541 if (obj4) {
d55e5bfc 8542 {
1bd55598
RD
8543 arg5 = &temp5;
8544 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8545 }
1bd55598
RD
8546 }
8547 if (obj5) {
d55e5bfc 8548 {
1bd55598
RD
8549 arg6 = &temp6;
8550 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8551 }
1bd55598
RD
8552 }
8553 if (obj6) {
8554 ecode7 = SWIG_AsVal_long(obj6, &val7);
8555 if (!SWIG_IsOK(ecode7)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8557 }
8558 arg7 = static_cast< long >(val7);
8559 }
8560 if (obj7) {
d55e5bfc 8561 {
1bd55598
RD
8562 arg8 = wxString_in_helper(obj7);
8563 if (arg8 == NULL) SWIG_fail;
8564 temp8 = true;
d55e5bfc 8565 }
1bd55598
RD
8566 }
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 {
8574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8575 }
8576 {
8577 if (temp8)
8578 delete arg8;
8579 }
8580 return resultobj;
8581fail:
8582 {
8583 if (temp8)
8584 delete arg8;
8585 }
8586 return NULL;
d55e5bfc
RD
8587}
8588
8589
1bd55598
RD
8590SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8591 PyObject *resultobj = 0;
8592 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8593 wxBitmap result;
8594 void *argp1 = 0 ;
8595 int res1 = 0 ;
8596 PyObject *swig_obj[1] ;
8597
8598 if (!args) SWIG_fail;
8599 swig_obj[0] = args;
8600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8601 if (!SWIG_IsOK(res1)) {
8602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8603 }
8604 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (arg1)->GetBitmap();
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8612 return resultobj;
8613fail:
8614 return NULL;
8615}
8616
8617
8618SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj = 0;
8620 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8621 wxBitmap *arg2 = 0 ;
8622 void *argp1 = 0 ;
8623 int res1 = 0 ;
8624 void *argp2 = 0 ;
8625 int res2 = 0 ;
8626 PyObject * obj0 = 0 ;
8627 PyObject * obj1 = 0 ;
8628 char * kwnames[] = {
8629 (char *) "self",(char *) "bitmap", NULL
8630 };
8631
8632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8634 if (!SWIG_IsOK(res1)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8636 }
8637 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8638 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8639 if (!SWIG_IsOK(res2)) {
8640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8641 }
8642 if (!argp2) {
8643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8644 }
8645 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 resultobj = SWIG_Py_Void();
8653 return resultobj;
8654fail:
8655 return NULL;
8656}
8657
8658
8659SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj = 0;
8661 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8662 wxIcon *arg2 = 0 ;
8663 void *argp1 = 0 ;
8664 int res1 = 0 ;
8665 void *argp2 = 0 ;
8666 int res2 = 0 ;
8667 PyObject * obj0 = 0 ;
8668 PyObject * obj1 = 0 ;
8669 char * kwnames[] = {
8670 (char *) "self",(char *) "icon", NULL
8671 };
8672
8673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8675 if (!SWIG_IsOK(res1)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8677 }
8678 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8679 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8680 if (!SWIG_IsOK(res2)) {
8681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8682 }
8683 if (!argp2) {
8684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8685 }
8686 arg2 = reinterpret_cast< wxIcon * >(argp2);
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->SetIcon((wxIcon const &)*arg2);
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_Py_Void();
8694 return resultobj;
8695fail:
8696 return NULL;
8697}
8698
8699
8700SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj = 0;
8702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8703 SwigValueWrapper<wxVisualAttributes > result;
8704 int val1 ;
8705 int ecode1 = 0 ;
8706 PyObject * obj0 = 0 ;
8707 char * kwnames[] = {
8708 (char *) "variant", NULL
8709 };
8710
8711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8712 if (obj0) {
8713 ecode1 = SWIG_AsVal_int(obj0, &val1);
8714 if (!SWIG_IsOK(ecode1)) {
8715 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8716 }
8717 arg1 = static_cast< wxWindowVariant >(val1);
8718 }
8719 {
8720 if (!wxPyCheckForApp()) SWIG_fail;
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8727 return resultobj;
8728fail:
8729 return NULL;
d55e5bfc
RD
8730}
8731
8732
1bd55598
RD
8733SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8734 PyObject *obj;
8735 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8736 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8737 return SWIG_Py_Void();
d55e5bfc
RD
8738}
8739
1bd55598
RD
8740SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8741 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
8742}
8743
1bd55598
RD
8744SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8745 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8746 return 1;
f20a2e1f
RD
8747}
8748
8749
1bd55598
RD
8750SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8751 PyObject *pyobj = 0;
8752
8753 {
8754#if wxUSE_UNICODE
8755 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8756#else
8757 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8758#endif
8759 }
8760 return pyobj;
8761}
8762
8763
8764SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj = 0;
8766 wxWindow *arg1 = (wxWindow *) 0 ;
8767 int arg2 = (int) -1 ;
8768 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8769 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8770 wxSize const &arg4_defvalue = wxDefaultSize ;
8771 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8772 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8773 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8774 long arg6 = (long) 0 ;
8775 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8776 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8777 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8778 wxString *arg8 = (wxString *) &arg8_defvalue ;
8779 wxListBox *result = 0 ;
8780 void *argp1 = 0 ;
8781 int res1 = 0 ;
8782 int val2 ;
8783 int ecode2 = 0 ;
8784 wxPoint temp3 ;
8785 wxSize temp4 ;
8786 bool temp5 = false ;
8787 long val6 ;
8788 int ecode6 = 0 ;
8789 void *argp7 = 0 ;
8790 int res7 = 0 ;
8791 bool temp8 = false ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 PyObject * obj2 = 0 ;
8795 PyObject * obj3 = 0 ;
8796 PyObject * obj4 = 0 ;
8797 PyObject * obj5 = 0 ;
8798 PyObject * obj6 = 0 ;
8799 PyObject * obj7 = 0 ;
8800 char * kwnames[] = {
8801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8802 };
8803
8804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8806 if (!SWIG_IsOK(res1)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8808 }
8809 arg1 = reinterpret_cast< wxWindow * >(argp1);
8810 if (obj1) {
8811 ecode2 = SWIG_AsVal_int(obj1, &val2);
8812 if (!SWIG_IsOK(ecode2)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8814 }
8815 arg2 = static_cast< int >(val2);
8816 }
8817 if (obj2) {
d55e5bfc 8818 {
1bd55598
RD
8819 arg3 = &temp3;
8820 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8821 }
1bd55598
RD
8822 }
8823 if (obj3) {
d55e5bfc 8824 {
1bd55598
RD
8825 arg4 = &temp4;
8826 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8827 }
1bd55598
RD
8828 }
8829 if (obj4) {
d55e5bfc 8830 {
1bd55598
RD
8831 if (! PySequence_Check(obj4)) {
8832 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8833 SWIG_fail;
8834 }
8835 arg5 = new wxArrayString;
8836 temp5 = true;
8837 int i, len=PySequence_Length(obj4);
8838 for (i=0; i<len; i++) {
8839 PyObject* item = PySequence_GetItem(obj4, i);
8840 wxString* s = wxString_in_helper(item);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 arg5->Add(*s);
8843 delete s;
8844 Py_DECREF(item);
8845 }
d55e5bfc 8846 }
1bd55598
RD
8847 }
8848 if (obj5) {
8849 ecode6 = SWIG_AsVal_long(obj5, &val6);
8850 if (!SWIG_IsOK(ecode6)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8852 }
8853 arg6 = static_cast< long >(val6);
8854 }
8855 if (obj6) {
8856 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8857 if (!SWIG_IsOK(res7)) {
8858 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8859 }
1bd55598
RD
8860 if (!argp7) {
8861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8862 }
1bd55598
RD
8863 arg7 = reinterpret_cast< wxValidator * >(argp7);
8864 }
8865 if (obj7) {
d55e5bfc 8866 {
1bd55598
RD
8867 arg8 = wxString_in_helper(obj7);
8868 if (arg8 == NULL) SWIG_fail;
8869 temp8 = true;
d55e5bfc 8870 }
1bd55598
RD
8871 }
8872 {
8873 if (!wxPyCheckForApp()) SWIG_fail;
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8880 {
8881 if (temp5) delete arg5;
8882 }
8883 {
8884 if (temp8)
8885 delete arg8;
8886 }
8887 return resultobj;
8888fail:
8889 {
8890 if (temp5) delete arg5;
8891 }
8892 {
8893 if (temp8)
8894 delete arg8;
8895 }
8896 return NULL;
d55e5bfc
RD
8897}
8898
8899
1bd55598
RD
8900SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8901 PyObject *resultobj = 0;
8902 wxListBox *result = 0 ;
8903
8904 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8905 {
8906 if (!wxPyCheckForApp()) SWIG_fail;
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 result = (wxListBox *)new wxListBox();
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8913 return resultobj;
8914fail:
8915 return NULL;
8916}
8917
8918
8919SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj = 0;
8921 wxListBox *arg1 = (wxListBox *) 0 ;
8922 wxWindow *arg2 = (wxWindow *) 0 ;
8923 int arg3 = (int) -1 ;
8924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8926 wxSize const &arg5_defvalue = wxDefaultSize ;
8927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8928 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8929 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8930 long arg7 = (long) 0 ;
8931 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8932 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8933 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8934 wxString *arg9 = (wxString *) &arg9_defvalue ;
8935 bool result;
8936 void *argp1 = 0 ;
8937 int res1 = 0 ;
8938 void *argp2 = 0 ;
8939 int res2 = 0 ;
8940 int val3 ;
8941 int ecode3 = 0 ;
8942 wxPoint temp4 ;
8943 wxSize temp5 ;
8944 bool temp6 = false ;
8945 long val7 ;
8946 int ecode7 = 0 ;
8947 void *argp8 = 0 ;
8948 int res8 = 0 ;
8949 bool temp9 = false ;
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 PyObject * obj2 = 0 ;
8953 PyObject * obj3 = 0 ;
8954 PyObject * obj4 = 0 ;
8955 PyObject * obj5 = 0 ;
8956 PyObject * obj6 = 0 ;
8957 PyObject * obj7 = 0 ;
8958 PyObject * obj8 = 0 ;
8959 char * kwnames[] = {
8960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8961 };
8962
8963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
8964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
8965 if (!SWIG_IsOK(res1)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8967 }
8968 arg1 = reinterpret_cast< wxListBox * >(argp1);
8969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8970 if (!SWIG_IsOK(res2)) {
8971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8972 }
8973 arg2 = reinterpret_cast< wxWindow * >(argp2);
8974 if (obj2) {
8975 ecode3 = SWIG_AsVal_int(obj2, &val3);
8976 if (!SWIG_IsOK(ecode3)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8978 }
8979 arg3 = static_cast< int >(val3);
8980 }
8981 if (obj3) {
d55e5bfc 8982 {
1bd55598
RD
8983 arg4 = &temp4;
8984 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8985 }
1bd55598
RD
8986 }
8987 if (obj4) {
d55e5bfc 8988 {
1bd55598
RD
8989 arg5 = &temp5;
8990 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8991 }
1bd55598
RD
8992 }
8993 if (obj5) {
943e8dfd 8994 {
1bd55598
RD
8995 if (! PySequence_Check(obj5)) {
8996 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8997 SWIG_fail;
8998 }
8999 arg6 = new wxArrayString;
9000 temp6 = true;
9001 int i, len=PySequence_Length(obj5);
9002 for (i=0; i<len; i++) {
9003 PyObject* item = PySequence_GetItem(obj5, i);
9004 wxString* s = wxString_in_helper(item);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 arg6->Add(*s);
9007 delete s;
9008 Py_DECREF(item);
9009 }
943e8dfd 9010 }
1bd55598
RD
9011 }
9012 if (obj6) {
9013 ecode7 = SWIG_AsVal_long(obj6, &val7);
9014 if (!SWIG_IsOK(ecode7)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9016 }
9017 arg7 = static_cast< long >(val7);
9018 }
9019 if (obj7) {
9020 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9021 if (!SWIG_IsOK(res8)) {
9022 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
943e8dfd 9023 }
1bd55598
RD
9024 if (!argp8) {
9025 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9026 }
1bd55598
RD
9027 arg8 = reinterpret_cast< wxValidator * >(argp8);
9028 }
9029 if (obj8) {
f20a2e1f 9030 {
1bd55598
RD
9031 arg9 = wxString_in_helper(obj8);
9032 if (arg9 == NULL) SWIG_fail;
9033 temp9 = true;
f20a2e1f 9034 }
1bd55598
RD
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 {
9043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9044 }
9045 {
9046 if (temp6) delete arg6;
9047 }
9048 {
9049 if (temp9)
9050 delete arg9;
9051 }
9052 return resultobj;
9053fail:
9054 {
9055 if (temp6) delete arg6;
9056 }
9057 {
9058 if (temp9)
9059 delete arg9;
9060 }
9061 return NULL;
9062}
9063
9064
9065SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9066 PyObject *resultobj = 0;
9067 wxListBox *arg1 = (wxListBox *) 0 ;
9068 wxString *arg2 = 0 ;
9069 int arg3 ;
9070 PyObject *arg4 = (PyObject *) NULL ;
9071 void *argp1 = 0 ;
9072 int res1 = 0 ;
9073 bool temp2 = false ;
9074 int val3 ;
9075 int ecode3 = 0 ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078 PyObject * obj2 = 0 ;
9079 PyObject * obj3 = 0 ;
9080 char * kwnames[] = {
9081 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9082 };
9083
9084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9086 if (!SWIG_IsOK(res1)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9088 }
9089 arg1 = reinterpret_cast< wxListBox * >(argp1);
9090 {
9091 arg2 = wxString_in_helper(obj1);
9092 if (arg2 == NULL) SWIG_fail;
9093 temp2 = true;
9094 }
9095 ecode3 = SWIG_AsVal_int(obj2, &val3);
9096 if (!SWIG_IsOK(ecode3)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9098 }
9099 arg3 = static_cast< int >(val3);
9100 if (obj3) {
9101 arg4 = obj3;
9102 }
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_Py_Void();
9110 {
9111 if (temp2)
9112 delete arg2;
9113 }
9114 return resultobj;
9115fail:
9116 {
9117 if (temp2)
9118 delete arg2;
9119 }
9120 return NULL;
9121}
9122
9123
9124SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj = 0;
9126 wxListBox *arg1 = (wxListBox *) 0 ;
9127 wxArrayString *arg2 = 0 ;
50f151d7 9128 unsigned int arg3 ;
1bd55598
RD
9129 void *argp1 = 0 ;
9130 int res1 = 0 ;
9131 bool temp2 = false ;
50f151d7 9132 unsigned int val3 ;
1bd55598
RD
9133 int ecode3 = 0 ;
9134 PyObject * obj0 = 0 ;
9135 PyObject * obj1 = 0 ;
9136 PyObject * obj2 = 0 ;
9137 char * kwnames[] = {
9138 (char *) "self",(char *) "items",(char *) "pos", NULL
9139 };
9140
9141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9143 if (!SWIG_IsOK(res1)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9145 }
9146 arg1 = reinterpret_cast< wxListBox * >(argp1);
9147 {
9148 if (! PySequence_Check(obj1)) {
9149 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9150 SWIG_fail;
9151 }
9152 arg2 = new wxArrayString;
9153 temp2 = true;
9154 int i, len=PySequence_Length(obj1);
9155 for (i=0; i<len; i++) {
9156 PyObject* item = PySequence_GetItem(obj1, i);
9157 wxString* s = wxString_in_helper(item);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 arg2->Add(*s);
9160 delete s;
9161 Py_DECREF(item);
f20a2e1f 9162 }
1bd55598 9163 }
50f151d7 9164 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
1bd55598 9165 if (!SWIG_IsOK(ecode3)) {
50f151d7 9166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
1bd55598 9167 }
50f151d7 9168 arg3 = static_cast< unsigned int >(val3);
1bd55598
RD
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 resultobj = SWIG_Py_Void();
9176 {
9177 if (temp2) delete arg2;
9178 }
9179 return resultobj;
9180fail:
9181 {
9182 if (temp2) delete arg2;
9183 }
9184 return NULL;
f20a2e1f
RD
9185}
9186
9187
1bd55598
RD
9188SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj = 0;
9190 wxListBox *arg1 = (wxListBox *) 0 ;
9191 wxArrayString *arg2 = 0 ;
9192 void *argp1 = 0 ;
9193 int res1 = 0 ;
9194 bool temp2 = false ;
9195 PyObject * obj0 = 0 ;
9196 PyObject * obj1 = 0 ;
9197 char * kwnames[] = {
9198 (char *) "self",(char *) "items", NULL
9199 };
9200
9201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9203 if (!SWIG_IsOK(res1)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9205 }
9206 arg1 = reinterpret_cast< wxListBox * >(argp1);
9207 {
9208 if (! PySequence_Check(obj1)) {
9209 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9210 SWIG_fail;
9211 }
9212 arg2 = new wxArrayString;
9213 temp2 = true;
9214 int i, len=PySequence_Length(obj1);
9215 for (i=0; i<len; i++) {
9216 PyObject* item = PySequence_GetItem(obj1, i);
9217 wxString* s = wxString_in_helper(item);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 arg2->Add(*s);
9220 delete s;
9221 Py_DECREF(item);
bfddbb17 9222 }
1bd55598
RD
9223 }
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 (arg1)->Set((wxArrayString const &)*arg2);
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 resultobj = SWIG_Py_Void();
9231 {
9232 if (temp2) delete arg2;
9233 }
9234 return resultobj;
9235fail:
9236 {
9237 if (temp2) delete arg2;
9238 }
9239 return NULL;
9240}
9241
9242
9243SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9244 PyObject *resultobj = 0;
9245 wxListBox *arg1 = (wxListBox *) 0 ;
9246 int arg2 ;
9247 bool result;
9248 void *argp1 = 0 ;
9249 int res1 = 0 ;
9250 int val2 ;
9251 int ecode2 = 0 ;
9252 PyObject * obj0 = 0 ;
9253 PyObject * obj1 = 0 ;
9254 char * kwnames[] = {
9255 (char *) "self",(char *) "n", NULL
9256 };
9257
9258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9260 if (!SWIG_IsOK(res1)) {
9261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9262 }
9263 arg1 = reinterpret_cast< wxListBox * >(argp1);
9264 ecode2 = SWIG_AsVal_int(obj1, &val2);
9265 if (!SWIG_IsOK(ecode2)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9267 }
9268 arg2 = static_cast< int >(val2);
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 {
9276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9277 }
9278 return resultobj;
9279fail:
9280 return NULL;
9281}
9282
9283
9284SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj = 0;
9286 wxListBox *arg1 = (wxListBox *) 0 ;
9287 int arg2 ;
9288 bool arg3 = (bool) true ;
9289 void *argp1 = 0 ;
9290 int res1 = 0 ;
9291 int val2 ;
9292 int ecode2 = 0 ;
9293 bool val3 ;
9294 int ecode3 = 0 ;
9295 PyObject * obj0 = 0 ;
9296 PyObject * obj1 = 0 ;
9297 PyObject * obj2 = 0 ;
9298 char * kwnames[] = {
9299 (char *) "self",(char *) "n",(char *) "select", NULL
9300 };
9301
9302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9304 if (!SWIG_IsOK(res1)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9306 }
9307 arg1 = reinterpret_cast< wxListBox * >(argp1);
9308 ecode2 = SWIG_AsVal_int(obj1, &val2);
9309 if (!SWIG_IsOK(ecode2)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9311 }
9312 arg2 = static_cast< int >(val2);
9313 if (obj2) {
9314 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9315 if (!SWIG_IsOK(ecode3)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9317 }
9318 arg3 = static_cast< bool >(val3);
9319 }
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 (arg1)->SetSelection(arg2,arg3);
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = SWIG_Py_Void();
9327 return resultobj;
9328fail:
9329 return NULL;
9330}
9331
9332
9333SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj = 0;
9335 wxListBox *arg1 = (wxListBox *) 0 ;
9336 int arg2 ;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 int val2 ;
9340 int ecode2 = 0 ;
9341 PyObject * obj0 = 0 ;
9342 PyObject * obj1 = 0 ;
9343 char * kwnames[] = {
9344 (char *) "self",(char *) "n", NULL
9345 };
9346
9347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9349 if (!SWIG_IsOK(res1)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9351 }
9352 arg1 = reinterpret_cast< wxListBox * >(argp1);
9353 ecode2 = SWIG_AsVal_int(obj1, &val2);
9354 if (!SWIG_IsOK(ecode2)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9356 }
9357 arg2 = static_cast< int >(val2);
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->Select(arg2);
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_Py_Void();
9365 return resultobj;
9366fail:
9367 return NULL;
9368}
9369
9370
9371SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj = 0;
9373 wxListBox *arg1 = (wxListBox *) 0 ;
9374 int arg2 ;
9375 void *argp1 = 0 ;
9376 int res1 = 0 ;
9377 int val2 ;
9378 int ecode2 = 0 ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj1 = 0 ;
9381 char * kwnames[] = {
9382 (char *) "self",(char *) "n", NULL
9383 };
9384
9385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9387 if (!SWIG_IsOK(res1)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9389 }
9390 arg1 = reinterpret_cast< wxListBox * >(argp1);
9391 ecode2 = SWIG_AsVal_int(obj1, &val2);
9392 if (!SWIG_IsOK(ecode2)) {
9393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9394 }
9395 arg2 = static_cast< int >(val2);
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 (arg1)->Deselect(arg2);
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 resultobj = SWIG_Py_Void();
9403 return resultobj;
9404fail:
9405 return NULL;
9406}
9407
9408
9409SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9410 PyObject *resultobj = 0;
9411 wxListBox *arg1 = (wxListBox *) 0 ;
9412 int arg2 = (int) -1 ;
9413 void *argp1 = 0 ;
9414 int res1 = 0 ;
9415 int val2 ;
9416 int ecode2 = 0 ;
9417 PyObject * obj0 = 0 ;
9418 PyObject * obj1 = 0 ;
9419 char * kwnames[] = {
9420 (char *) "self",(char *) "itemToLeaveSelected", NULL
9421 };
9422
9423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9425 if (!SWIG_IsOK(res1)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9427 }
9428 arg1 = reinterpret_cast< wxListBox * >(argp1);
9429 if (obj1) {
9430 ecode2 = SWIG_AsVal_int(obj1, &val2);
9431 if (!SWIG_IsOK(ecode2)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9433 }
9434 arg2 = static_cast< int >(val2);
9435 }
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 (arg1)->DeselectAll(arg2);
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 resultobj = SWIG_Py_Void();
9443 return resultobj;
9444fail:
9445 return NULL;
9446}
9447
9448
9449SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9450 PyObject *resultobj = 0;
9451 wxListBox *arg1 = (wxListBox *) 0 ;
9452 wxString *arg2 = 0 ;
9453 bool arg3 = (bool) true ;
9454 bool result;
9455 void *argp1 = 0 ;
9456 int res1 = 0 ;
9457 bool temp2 = false ;
9458 bool val3 ;
9459 int ecode3 = 0 ;
9460 PyObject * obj0 = 0 ;
9461 PyObject * obj1 = 0 ;
9462 PyObject * obj2 = 0 ;
9463 char * kwnames[] = {
9464 (char *) "self",(char *) "s",(char *) "select", NULL
9465 };
9466
9467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9469 if (!SWIG_IsOK(res1)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9471 }
9472 arg1 = reinterpret_cast< wxListBox * >(argp1);
9473 {
9474 arg2 = wxString_in_helper(obj1);
9475 if (arg2 == NULL) SWIG_fail;
9476 temp2 = true;
9477 }
9478 if (obj2) {
9479 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9480 if (!SWIG_IsOK(ecode3)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9482 }
9483 arg3 = static_cast< bool >(val3);
9484 }
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 {
9492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9493 }
9494 {
9495 if (temp2)
9496 delete arg2;
9497 }
9498 return resultobj;
9499fail:
9500 {
9501 if (temp2)
9502 delete arg2;
9503 }
9504 return NULL;
d55e5bfc
RD
9505}
9506
9507
1bd55598
RD
9508SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9509 PyObject *resultobj = 0;
9510 wxListBox *arg1 = (wxListBox *) 0 ;
9511 PyObject *result = 0 ;
9512 void *argp1 = 0 ;
9513 int res1 = 0 ;
9514 PyObject *swig_obj[1] ;
9515
9516 if (!args) SWIG_fail;
9517 swig_obj[0] = args;
9518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9519 if (!SWIG_IsOK(res1)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 }
9522 arg1 = reinterpret_cast< wxListBox * >(argp1);
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (PyObject *)wxListBox_GetSelections(arg1);
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = result;
9530 return resultobj;
9531fail:
9532 return NULL;
9533}
9534
9535
9536SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj = 0;
9538 wxListBox *arg1 = (wxListBox *) 0 ;
9539 int arg2 ;
9540 void *argp1 = 0 ;
9541 int res1 = 0 ;
9542 int val2 ;
9543 int ecode2 = 0 ;
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 char * kwnames[] = {
9547 (char *) "self",(char *) "n", NULL
9548 };
9549
9550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9552 if (!SWIG_IsOK(res1)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9554 }
9555 arg1 = reinterpret_cast< wxListBox * >(argp1);
9556 ecode2 = SWIG_AsVal_int(obj1, &val2);
9557 if (!SWIG_IsOK(ecode2)) {
9558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9559 }
9560 arg2 = static_cast< int >(val2);
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 (arg1)->SetFirstItem(arg2);
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 resultobj = SWIG_Py_Void();
9568 return resultobj;
9569fail:
9570 return NULL;
9571}
9572
9573
9574SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj = 0;
9576 wxListBox *arg1 = (wxListBox *) 0 ;
9577 wxString *arg2 = 0 ;
9578 void *argp1 = 0 ;
9579 int res1 = 0 ;
9580 bool temp2 = false ;
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 char * kwnames[] = {
9584 (char *) "self",(char *) "s", NULL
9585 };
9586
9587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9589 if (!SWIG_IsOK(res1)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9591 }
9592 arg1 = reinterpret_cast< wxListBox * >(argp1);
9593 {
9594 arg2 = wxString_in_helper(obj1);
9595 if (arg2 == NULL) SWIG_fail;
9596 temp2 = true;
9597 }
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 (arg1)->SetFirstItem((wxString const &)*arg2);
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = SWIG_Py_Void();
9605 {
9606 if (temp2)
9607 delete arg2;
9608 }
9609 return resultobj;
9610fail:
9611 {
9612 if (temp2)
9613 delete arg2;
9614 }
9615 return NULL;
9616}
9617
9618
9619SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9620 PyObject *resultobj = 0;
9621 wxListBox *arg1 = (wxListBox *) 0 ;
9622 int arg2 ;
9623 void *argp1 = 0 ;
9624 int res1 = 0 ;
9625 int val2 ;
9626 int ecode2 = 0 ;
9627 PyObject * obj0 = 0 ;
9628 PyObject * obj1 = 0 ;
9629 char * kwnames[] = {
9630 (char *) "self",(char *) "n", NULL
9631 };
9632
9633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9635 if (!SWIG_IsOK(res1)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9637 }
9638 arg1 = reinterpret_cast< wxListBox * >(argp1);
9639 ecode2 = SWIG_AsVal_int(obj1, &val2);
9640 if (!SWIG_IsOK(ecode2)) {
9641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9642 }
9643 arg2 = static_cast< int >(val2);
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 (arg1)->EnsureVisible(arg2);
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 resultobj = SWIG_Py_Void();
9651 return resultobj;
9652fail:
9653 return NULL;
9654}
9655
9656
9657SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj = 0;
9659 wxListBox *arg1 = (wxListBox *) 0 ;
9660 wxString *arg2 = 0 ;
9661 void *argp1 = 0 ;
9662 int res1 = 0 ;
9663 bool temp2 = false ;
9664 PyObject * obj0 = 0 ;
9665 PyObject * obj1 = 0 ;
9666 char * kwnames[] = {
9667 (char *) "self",(char *) "s", NULL
9668 };
9669
9670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9672 if (!SWIG_IsOK(res1)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9674 }
9675 arg1 = reinterpret_cast< wxListBox * >(argp1);
9676 {
9677 arg2 = wxString_in_helper(obj1);
9678 if (arg2 == NULL) SWIG_fail;
9679 temp2 = true;
9680 }
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 resultobj = SWIG_Py_Void();
9688 {
9689 if (temp2)
9690 delete arg2;
9691 }
9692 return resultobj;
9693fail:
9694 {
9695 if (temp2)
9696 delete arg2;
9697 }
9698 return NULL;
d55e5bfc
RD
9699}
9700
9701
1bd55598
RD
9702SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9703 PyObject *resultobj = 0;
9704 wxListBox *arg1 = (wxListBox *) 0 ;
9705 bool result;
9706 void *argp1 = 0 ;
9707 int res1 = 0 ;
9708 PyObject *swig_obj[1] ;
9709
9710 if (!args) SWIG_fail;
9711 swig_obj[0] = args;
9712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9713 if (!SWIG_IsOK(res1)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9715 }
9716 arg1 = reinterpret_cast< wxListBox * >(argp1);
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (bool)((wxListBox const *)arg1)->IsSorted();
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 {
9724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9725 }
9726 return resultobj;
9727fail:
9728 return NULL;
9729}
9730
9731
9732SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxListBox *arg1 = (wxListBox *) 0 ;
9735 wxPoint *arg2 = 0 ;
9736 int result;
9737 void *argp1 = 0 ;
9738 int res1 = 0 ;
9739 wxPoint temp2 ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 char * kwnames[] = {
9743 (char *) "self",(char *) "pt", NULL
9744 };
9745
9746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9748 if (!SWIG_IsOK(res1)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9750 }
9751 arg1 = reinterpret_cast< wxListBox * >(argp1);
9752 {
9753 arg2 = &temp2;
9754 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9755 }
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 resultobj = SWIG_From_int(static_cast< int >(result));
9763 return resultobj;
9764fail:
9765 return NULL;
9766}
9767
9768
9769SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9770 PyObject *resultobj = 0;
9771 wxListBox *arg1 = (wxListBox *) 0 ;
9772 int arg2 ;
9773 wxColour *arg3 = 0 ;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 int val2 ;
9777 int ecode2 = 0 ;
9778 wxColour temp3 ;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 char * kwnames[] = {
9783 (char *) "self",(char *) "item",(char *) "c", NULL
9784 };
9785
9786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9790 }
9791 arg1 = reinterpret_cast< wxListBox * >(argp1);
9792 ecode2 = SWIG_AsVal_int(obj1, &val2);
9793 if (!SWIG_IsOK(ecode2)) {
9794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9795 }
9796 arg2 = static_cast< int >(val2);
9797 {
9798 arg3 = &temp3;
9799 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9800 }
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 resultobj = SWIG_Py_Void();
9808 return resultobj;
9809fail:
9810 return NULL;
9811}
9812
9813
9814SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj = 0;
9816 wxListBox *arg1 = (wxListBox *) 0 ;
9817 int arg2 ;
9818 wxColour *arg3 = 0 ;
9819 void *argp1 = 0 ;
9820 int res1 = 0 ;
9821 int val2 ;
9822 int ecode2 = 0 ;
9823 wxColour temp3 ;
9824 PyObject * obj0 = 0 ;
9825 PyObject * obj1 = 0 ;
9826 PyObject * obj2 = 0 ;
9827 char * kwnames[] = {
9828 (char *) "self",(char *) "item",(char *) "c", NULL
9829 };
9830
9831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9833 if (!SWIG_IsOK(res1)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9835 }
9836 arg1 = reinterpret_cast< wxListBox * >(argp1);
9837 ecode2 = SWIG_AsVal_int(obj1, &val2);
9838 if (!SWIG_IsOK(ecode2)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9840 }
9841 arg2 = static_cast< int >(val2);
9842 {
9843 arg3 = &temp3;
9844 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 resultobj = SWIG_Py_Void();
9853 return resultobj;
9854fail:
9855 return NULL;
9856}
9857
9858
9859SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj = 0;
9861 wxListBox *arg1 = (wxListBox *) 0 ;
9862 int arg2 ;
9863 wxFont *arg3 = 0 ;
9864 void *argp1 = 0 ;
9865 int res1 = 0 ;
9866 int val2 ;
9867 int ecode2 = 0 ;
9868 void *argp3 = 0 ;
9869 int res3 = 0 ;
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 PyObject * obj2 = 0 ;
9873 char * kwnames[] = {
9874 (char *) "self",(char *) "item",(char *) "f", NULL
9875 };
9876
9877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9879 if (!SWIG_IsOK(res1)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9881 }
9882 arg1 = reinterpret_cast< wxListBox * >(argp1);
9883 ecode2 = SWIG_AsVal_int(obj1, &val2);
9884 if (!SWIG_IsOK(ecode2)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9886 }
9887 arg2 = static_cast< int >(val2);
9888 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9889 if (!SWIG_IsOK(res3)) {
9890 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9891 }
9892 if (!argp3) {
9893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9894 }
9895 arg3 = reinterpret_cast< wxFont * >(argp3);
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9899 wxPyEndAllowThreads(__tstate);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 resultobj = SWIG_Py_Void();
9903 return resultobj;
9904fail:
9905 return NULL;
9906}
9907
9908
9909SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj = 0;
9911 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9912 SwigValueWrapper<wxVisualAttributes > result;
9913 int val1 ;
9914 int ecode1 = 0 ;
9915 PyObject * obj0 = 0 ;
9916 char * kwnames[] = {
9917 (char *) "variant", NULL
9918 };
9919
9920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9921 if (obj0) {
9922 ecode1 = SWIG_AsVal_int(obj0, &val1);
9923 if (!SWIG_IsOK(ecode1)) {
9924 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9925 }
9926 arg1 = static_cast< wxWindowVariant >(val1);
9927 }
9928 {
9929 if (!wxPyCheckForApp()) SWIG_fail;
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = wxListBox::GetClassDefaultAttributes(arg1);
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9936 return resultobj;
9937fail:
9938 return NULL;
9939}
9940
9941
9942SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9943 PyObject *obj;
9944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9945 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9946 return SWIG_Py_Void();
9947}
9948
9949SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9950 return SWIG_Python_InitShadowInstance(args);
9951}
9952
9953SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj = 0;
9955 wxWindow *arg1 = (wxWindow *) 0 ;
9956 int arg2 = (int) -1 ;
9957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9959 wxSize const &arg4_defvalue = wxDefaultSize ;
9960 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9961 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
9962 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
9963 long arg6 = (long) 0 ;
9964 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9965 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9966 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
9967 wxString *arg8 = (wxString *) &arg8_defvalue ;
9968 wxCheckListBox *result = 0 ;
9969 void *argp1 = 0 ;
9970 int res1 = 0 ;
9971 int val2 ;
9972 int ecode2 = 0 ;
9973 wxPoint temp3 ;
9974 wxSize temp4 ;
9975 bool temp5 = false ;
9976 long val6 ;
9977 int ecode6 = 0 ;
9978 void *argp7 = 0 ;
9979 int res7 = 0 ;
9980 bool temp8 = false ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 PyObject * obj2 = 0 ;
9984 PyObject * obj3 = 0 ;
9985 PyObject * obj4 = 0 ;
9986 PyObject * obj5 = 0 ;
9987 PyObject * obj6 = 0 ;
9988 PyObject * obj7 = 0 ;
9989 char * kwnames[] = {
9990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9991 };
9992
9993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9995 if (!SWIG_IsOK(res1)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9997 }
9998 arg1 = reinterpret_cast< wxWindow * >(argp1);
9999 if (obj1) {
10000 ecode2 = SWIG_AsVal_int(obj1, &val2);
10001 if (!SWIG_IsOK(ecode2)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10003 }
10004 arg2 = static_cast< int >(val2);
10005 }
10006 if (obj2) {
10007 {
10008 arg3 = &temp3;
10009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
bfddbb17 10010 }
1bd55598
RD
10011 }
10012 if (obj3) {
10013 {
10014 arg4 = &temp4;
10015 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10016 }
1bd55598
RD
10017 }
10018 if (obj4) {
10019 {
10020 if (! PySequence_Check(obj4)) {
10021 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10022 SWIG_fail;
10023 }
10024 arg5 = new wxArrayString;
10025 temp5 = true;
10026 int i, len=PySequence_Length(obj4);
10027 for (i=0; i<len; i++) {
10028 PyObject* item = PySequence_GetItem(obj4, i);
10029 wxString* s = wxString_in_helper(item);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 arg5->Add(*s);
10032 delete s;
10033 Py_DECREF(item);
10034 }
d55e5bfc 10035 }
1bd55598
RD
10036 }
10037 if (obj5) {
10038 ecode6 = SWIG_AsVal_long(obj5, &val6);
10039 if (!SWIG_IsOK(ecode6)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10041 }
10042 arg6 = static_cast< long >(val6);
10043 }
10044 if (obj6) {
10045 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10046 if (!SWIG_IsOK(res7)) {
10047 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10048 }
1bd55598
RD
10049 if (!argp7) {
10050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10051 }
1bd55598
RD
10052 arg7 = reinterpret_cast< wxValidator * >(argp7);
10053 }
10054 if (obj7) {
10055 {
10056 arg8 = wxString_in_helper(obj7);
10057 if (arg8 == NULL) SWIG_fail;
10058 temp8 = true;
d55e5bfc 10059 }
1bd55598
RD
10060 }
10061 {
10062 if (!wxPyCheckForApp()) SWIG_fail;
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10069 {
10070 if (temp5) delete arg5;
10071 }
10072 {
10073 if (temp8)
10074 delete arg8;
10075 }
10076 return resultobj;
10077fail:
10078 {
10079 if (temp5) delete arg5;
10080 }
10081 {
10082 if (temp8)
10083 delete arg8;
10084 }
10085 return NULL;
10086}
10087
10088
10089SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10090 PyObject *resultobj = 0;
10091 wxCheckListBox *result = 0 ;
10092
10093 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10094 {
10095 if (!wxPyCheckForApp()) SWIG_fail;
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (wxCheckListBox *)new wxCheckListBox();
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10102 return resultobj;
10103fail:
10104 return NULL;
10105}
10106
10107
10108SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj = 0;
10110 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10111 wxWindow *arg2 = (wxWindow *) 0 ;
10112 int arg3 = (int) -1 ;
10113 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10114 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10115 wxSize const &arg5_defvalue = wxDefaultSize ;
10116 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10117 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10118 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10119 long arg7 = (long) 0 ;
10120 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10121 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10122 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10123 wxString *arg9 = (wxString *) &arg9_defvalue ;
10124 bool result;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 void *argp2 = 0 ;
10128 int res2 = 0 ;
10129 int val3 ;
10130 int ecode3 = 0 ;
10131 wxPoint temp4 ;
10132 wxSize temp5 ;
10133 bool temp6 = false ;
10134 long val7 ;
10135 int ecode7 = 0 ;
10136 void *argp8 = 0 ;
10137 int res8 = 0 ;
10138 bool temp9 = false ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 PyObject * obj2 = 0 ;
10142 PyObject * obj3 = 0 ;
10143 PyObject * obj4 = 0 ;
10144 PyObject * obj5 = 0 ;
10145 PyObject * obj6 = 0 ;
10146 PyObject * obj7 = 0 ;
10147 PyObject * obj8 = 0 ;
10148 char * kwnames[] = {
10149 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10150 };
10151
10152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10154 if (!SWIG_IsOK(res1)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10156 }
10157 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10158 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10159 if (!SWIG_IsOK(res2)) {
10160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10161 }
10162 arg2 = reinterpret_cast< wxWindow * >(argp2);
10163 if (obj2) {
10164 ecode3 = SWIG_AsVal_int(obj2, &val3);
10165 if (!SWIG_IsOK(ecode3)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10167 }
10168 arg3 = static_cast< int >(val3);
10169 }
10170 if (obj3) {
d55e5bfc 10171 {
1bd55598
RD
10172 arg4 = &temp4;
10173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10174 }
1bd55598
RD
10175 }
10176 if (obj4) {
d55e5bfc 10177 {
1bd55598
RD
10178 arg5 = &temp5;
10179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10180 }
1bd55598
RD
10181 }
10182 if (obj5) {
d55e5bfc 10183 {
1bd55598
RD
10184 if (! PySequence_Check(obj5)) {
10185 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10186 SWIG_fail;
10187 }
10188 arg6 = new wxArrayString;
10189 temp6 = true;
10190 int i, len=PySequence_Length(obj5);
10191 for (i=0; i<len; i++) {
10192 PyObject* item = PySequence_GetItem(obj5, i);
10193 wxString* s = wxString_in_helper(item);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 arg6->Add(*s);
10196 delete s;
10197 Py_DECREF(item);
10198 }
10199 }
10200 }
10201 if (obj6) {
10202 ecode7 = SWIG_AsVal_long(obj6, &val7);
10203 if (!SWIG_IsOK(ecode7)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10205 }
10206 arg7 = static_cast< long >(val7);
10207 }
10208 if (obj7) {
10209 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10210 if (!SWIG_IsOK(res8)) {
10211 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10212 }
10213 if (!argp8) {
10214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10215 }
1bd55598
RD
10216 arg8 = reinterpret_cast< wxValidator * >(argp8);
10217 }
10218 if (obj8) {
d55e5bfc 10219 {
1bd55598
RD
10220 arg9 = wxString_in_helper(obj8);
10221 if (arg9 == NULL) SWIG_fail;
10222 temp9 = true;
d55e5bfc 10223 }
1bd55598
RD
10224 }
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 {
10232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10233 }
10234 {
10235 if (temp6) delete arg6;
10236 }
10237 {
10238 if (temp9)
10239 delete arg9;
10240 }
10241 return resultobj;
10242fail:
10243 {
10244 if (temp6) delete arg6;
10245 }
10246 {
10247 if (temp9)
10248 delete arg9;
10249 }
10250 return NULL;
10251}
10252
10253
10254SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj = 0;
10256 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10257 unsigned int arg2 ;
1bd55598
RD
10258 bool result;
10259 void *argp1 = 0 ;
10260 int res1 = 0 ;
50f151d7 10261 unsigned int val2 ;
1bd55598
RD
10262 int ecode2 = 0 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 char * kwnames[] = {
10266 (char *) "self",(char *) "index", NULL
10267 };
10268
10269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10271 if (!SWIG_IsOK(res1)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10273 }
10274 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10275 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 10276 if (!SWIG_IsOK(ecode2)) {
50f151d7 10277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 10278 }
50f151d7 10279 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (bool)(arg1)->IsChecked(arg2);
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 {
10287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10288 }
10289 return resultobj;
10290fail:
10291 return NULL;
10292}
10293
10294
10295SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj = 0;
10297 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10298 unsigned int arg2 ;
1bd55598
RD
10299 int arg3 = (int) true ;
10300 void *argp1 = 0 ;
10301 int res1 = 0 ;
50f151d7 10302 unsigned int val2 ;
1bd55598
RD
10303 int ecode2 = 0 ;
10304 int val3 ;
10305 int ecode3 = 0 ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 PyObject * obj2 = 0 ;
10309 char * kwnames[] = {
10310 (char *) "self",(char *) "index",(char *) "check", NULL
10311 };
10312
10313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10315 if (!SWIG_IsOK(res1)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10317 }
10318 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10319 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 10320 if (!SWIG_IsOK(ecode2)) {
50f151d7 10321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 10322 }
50f151d7 10323 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
10324 if (obj2) {
10325 ecode3 = SWIG_AsVal_int(obj2, &val3);
10326 if (!SWIG_IsOK(ecode3)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10328 }
10329 arg3 = static_cast< int >(val3);
10330 }
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 (arg1)->Check(arg2,arg3);
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = SWIG_Py_Void();
10338 return resultobj;
10339fail:
10340 return NULL;
d55e5bfc
RD
10341}
10342
10343
1bd55598
RD
10344SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10345 PyObject *obj;
10346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10347 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10348 return SWIG_Py_Void();
d55e5bfc
RD
10349}
10350
1bd55598
RD
10351SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10352 return SWIG_Python_InitShadowInstance(args);
10353}
d55e5bfc 10354
1bd55598
RD
10355SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10356 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10357 return 1;
d55e5bfc
RD
10358}
10359
10360
1bd55598
RD
10361SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10362 PyObject *pyobj = 0;
10363
10364 {
d55e5bfc 10365#if wxUSE_UNICODE
1bd55598 10366 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
d55e5bfc 10367#else
1bd55598 10368 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
d55e5bfc 10369#endif
1bd55598
RD
10370 }
10371 return pyobj;
10372}
10373
10374
10375SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj = 0;
10377 wxColour const &arg1_defvalue = wxNullColour ;
10378 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10379 wxColour const &arg2_defvalue = wxNullColour ;
10380 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10381 wxFont const &arg3_defvalue = wxNullFont ;
10382 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10383 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10384 wxTextAttr *result = 0 ;
10385 wxColour temp1 ;
10386 wxColour temp2 ;
10387 void *argp3 = 0 ;
10388 int res3 = 0 ;
10389 int val4 ;
10390 int ecode4 = 0 ;
10391 PyObject * obj0 = 0 ;
10392 PyObject * obj1 = 0 ;
10393 PyObject * obj2 = 0 ;
10394 PyObject * obj3 = 0 ;
10395 char * kwnames[] = {
10396 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10397 };
10398
10399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10400 if (obj0) {
d55e5bfc 10401 {
1bd55598
RD
10402 arg1 = &temp1;
10403 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10404 }
1bd55598
RD
10405 }
10406 if (obj1) {
d55e5bfc 10407 {
1bd55598
RD
10408 arg2 = &temp2;
10409 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10410 }
1bd55598
RD
10411 }
10412 if (obj2) {
10413 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10414 if (!SWIG_IsOK(res3)) {
10415 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10416 }
1bd55598
RD
10417 if (!argp3) {
10418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10419 }
1bd55598
RD
10420 arg3 = reinterpret_cast< wxFont * >(argp3);
10421 }
10422 if (obj3) {
10423 ecode4 = SWIG_AsVal_int(obj3, &val4);
10424 if (!SWIG_IsOK(ecode4)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10426 }
10427 arg4 = static_cast< wxTextAttrAlignment >(val4);
10428 }
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10436 return resultobj;
10437fail:
10438 return NULL;
d55e5bfc
RD
10439}
10440
10441
1bd55598
RD
10442SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10443 PyObject *resultobj = 0;
10444 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10445 void *argp1 = 0 ;
10446 int res1 = 0 ;
10447 PyObject *swig_obj[1] ;
10448
10449 if (!args) SWIG_fail;
10450 swig_obj[0] = args;
10451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10452 if (!SWIG_IsOK(res1)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10454 }
10455 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 delete arg1;
d55e5bfc 10459
1bd55598
RD
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 resultobj = SWIG_Py_Void();
10464 return resultobj;
10465fail:
10466 return NULL;
d55e5bfc
RD
10467}
10468
10469
1bd55598
RD
10470SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10471 PyObject *resultobj = 0;
10472 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10473 void *argp1 = 0 ;
10474 int res1 = 0 ;
10475 PyObject *swig_obj[1] ;
10476
10477 if (!args) SWIG_fail;
10478 swig_obj[0] = args;
10479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10480 if (!SWIG_IsOK(res1)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10482 }
10483 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 (arg1)->Init();
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 resultobj = SWIG_Py_Void();
10491 return resultobj;
10492fail:
10493 return NULL;
10494}
10495
10496
2131d850
RD
10497SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj = 0;
10499 wxTextAttr *arg1 = 0 ;
10500 wxTextAttr *arg2 = 0 ;
10501 wxTextAttr result;
10502 void *argp1 = 0 ;
10503 int res1 = 0 ;
10504 void *argp2 = 0 ;
10505 int res2 = 0 ;
10506 PyObject * obj0 = 0 ;
10507 PyObject * obj1 = 0 ;
10508 char * kwnames[] = {
10509 (char *) "base",(char *) "overlay", NULL
10510 };
10511
10512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10513 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10514 if (!SWIG_IsOK(res1)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10516 }
10517 if (!argp1) {
10518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10519 }
10520 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10521 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10522 if (!SWIG_IsOK(res2)) {
10523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10524 }
10525 if (!argp2) {
10526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10527 }
10528 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10536 return resultobj;
10537fail:
10538 return NULL;
10539}
10540
10541
1bd55598
RD
10542SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj = 0;
10544 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10545 wxColour *arg2 = 0 ;
10546 void *argp1 = 0 ;
10547 int res1 = 0 ;
10548 wxColour temp2 ;
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj1 = 0 ;
10551 char * kwnames[] = {
10552 (char *) "self",(char *) "colText", NULL
10553 };
10554
10555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10557 if (!SWIG_IsOK(res1)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10559 }
10560 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10561 {
10562 arg2 = &temp2;
10563 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10564 }
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 (arg1)->SetTextColour((wxColour const &)*arg2);
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 resultobj = SWIG_Py_Void();
10572 return resultobj;
10573fail:
10574 return NULL;
10575}
10576
10577
10578SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj = 0;
10580 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10581 wxColour *arg2 = 0 ;
10582 void *argp1 = 0 ;
10583 int res1 = 0 ;
10584 wxColour temp2 ;
10585 PyObject * obj0 = 0 ;
10586 PyObject * obj1 = 0 ;
10587 char * kwnames[] = {
10588 (char *) "self",(char *) "colBack", NULL
10589 };
10590
10591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10593 if (!SWIG_IsOK(res1)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10595 }
10596 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10597 {
10598 arg2 = &temp2;
10599 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10600 }
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 resultobj = SWIG_Py_Void();
10608 return resultobj;
10609fail:
10610 return NULL;
10611}
10612
10613
10614SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj = 0;
10616 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10617 wxFont *arg2 = 0 ;
10618 long arg3 = (long) wxTEXT_ATTR_FONT ;
10619 void *argp1 = 0 ;
10620 int res1 = 0 ;
10621 void *argp2 = 0 ;
10622 int res2 = 0 ;
10623 long val3 ;
10624 int ecode3 = 0 ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 PyObject * obj2 = 0 ;
10628 char * kwnames[] = {
10629 (char *) "self",(char *) "font",(char *) "flags", NULL
10630 };
10631
10632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10634 if (!SWIG_IsOK(res1)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10636 }
10637 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10638 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10639 if (!SWIG_IsOK(res2)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10641 }
10642 if (!argp2) {
10643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10644 }
10645 arg2 = reinterpret_cast< wxFont * >(argp2);
10646 if (obj2) {
10647 ecode3 = SWIG_AsVal_long(obj2, &val3);
10648 if (!SWIG_IsOK(ecode3)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10650 }
10651 arg3 = static_cast< long >(val3);
10652 }
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 resultobj = SWIG_Py_Void();
10660 return resultobj;
10661fail:
10662 return NULL;
10663}
10664
10665
10666SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj = 0;
10668 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10669 wxTextAttrAlignment arg2 ;
10670 void *argp1 = 0 ;
10671 int res1 = 0 ;
10672 int val2 ;
10673 int ecode2 = 0 ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char * kwnames[] = {
10677 (char *) "self",(char *) "alignment", NULL
10678 };
10679
10680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10682 if (!SWIG_IsOK(res1)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10684 }
10685 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10686 ecode2 = SWIG_AsVal_int(obj1, &val2);
10687 if (!SWIG_IsOK(ecode2)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10689 }
10690 arg2 = static_cast< wxTextAttrAlignment >(val2);
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->SetAlignment(arg2);
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 resultobj = SWIG_Py_Void();
10698 return resultobj;
10699fail:
10700 return NULL;
10701}
10702
10703
10704SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj = 0;
10706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10707 wxArrayInt *arg2 = 0 ;
10708 void *argp1 = 0 ;
10709 int res1 = 0 ;
10710 bool temp2 = false ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 char * kwnames[] = {
10714 (char *) "self",(char *) "tabs", NULL
10715 };
10716
10717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10719 if (!SWIG_IsOK(res1)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10721 }
10722 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10723 {
10724 if (! PySequence_Check(obj1)) {
10725 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10726 SWIG_fail;
10727 }
10728 arg2 = new wxArrayInt;
10729 temp2 = true;
10730 int i, len=PySequence_Length(obj1);
10731 for (i=0; i<len; i++) {
10732 PyObject* item = PySequence_GetItem(obj1, i);
10733 PyObject* number = PyNumber_Int(item);
10734 arg2->Add(PyInt_AS_LONG(number));
10735 Py_DECREF(item);
10736 Py_DECREF(number);
d55e5bfc 10737 }
1bd55598
RD
10738 }
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 resultobj = SWIG_Py_Void();
10746 {
10747 if (temp2) delete arg2;
10748 }
10749 return resultobj;
10750fail:
10751 {
10752 if (temp2) delete arg2;
10753 }
10754 return NULL;
10755}
10756
10757
10758SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj = 0;
10760 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10761 int arg2 ;
10762 int arg3 = (int) 0 ;
10763 void *argp1 = 0 ;
10764 int res1 = 0 ;
10765 int val2 ;
10766 int ecode2 = 0 ;
10767 int val3 ;
10768 int ecode3 = 0 ;
10769 PyObject * obj0 = 0 ;
10770 PyObject * obj1 = 0 ;
10771 PyObject * obj2 = 0 ;
10772 char * kwnames[] = {
10773 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10774 };
10775
10776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10778 if (!SWIG_IsOK(res1)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10780 }
10781 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10782 ecode2 = SWIG_AsVal_int(obj1, &val2);
10783 if (!SWIG_IsOK(ecode2)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10785 }
10786 arg2 = static_cast< int >(val2);
10787 if (obj2) {
10788 ecode3 = SWIG_AsVal_int(obj2, &val3);
10789 if (!SWIG_IsOK(ecode3)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10791 }
10792 arg3 = static_cast< int >(val3);
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetLeftIndent(arg2,arg3);
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_Py_Void();
10801 return resultobj;
10802fail:
10803 return NULL;
10804}
10805
10806
10807SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj = 0;
10809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10810 int arg2 ;
10811 void *argp1 = 0 ;
10812 int res1 = 0 ;
10813 int val2 ;
10814 int ecode2 = 0 ;
10815 PyObject * obj0 = 0 ;
10816 PyObject * obj1 = 0 ;
10817 char * kwnames[] = {
10818 (char *) "self",(char *) "indent", NULL
10819 };
10820
10821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10823 if (!SWIG_IsOK(res1)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10825 }
10826 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10827 ecode2 = SWIG_AsVal_int(obj1, &val2);
10828 if (!SWIG_IsOK(ecode2)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10830 }
10831 arg2 = static_cast< int >(val2);
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->SetRightIndent(arg2);
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 resultobj = SWIG_Py_Void();
10839 return resultobj;
10840fail:
10841 return NULL;
10842}
10843
10844
10845SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj = 0;
10847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10848 long arg2 ;
10849 void *argp1 = 0 ;
10850 int res1 = 0 ;
10851 long val2 ;
10852 int ecode2 = 0 ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 char * kwnames[] = {
10856 (char *) "self",(char *) "flags", NULL
10857 };
10858
10859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10861 if (!SWIG_IsOK(res1)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10863 }
10864 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10865 ecode2 = SWIG_AsVal_long(obj1, &val2);
10866 if (!SWIG_IsOK(ecode2)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10868 }
10869 arg2 = static_cast< long >(val2);
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetFlags(arg2);
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 resultobj = SWIG_Py_Void();
10877 return resultobj;
10878fail:
10879 return NULL;
d55e5bfc
RD
10880}
10881
10882
1bd55598
RD
10883SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10884 PyObject *resultobj = 0;
10885 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10886 bool result;
10887 void *argp1 = 0 ;
10888 int res1 = 0 ;
10889 PyObject *swig_obj[1] ;
10890
10891 if (!args) SWIG_fail;
10892 swig_obj[0] = args;
10893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10896 }
10897 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 {
10905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10906 }
10907 return resultobj;
10908fail:
10909 return NULL;
d55e5bfc
RD
10910}
10911
10912
1bd55598
RD
10913SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10914 PyObject *resultobj = 0;
10915 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10916 bool result;
10917 void *argp1 = 0 ;
10918 int res1 = 0 ;
10919 PyObject *swig_obj[1] ;
10920
10921 if (!args) SWIG_fail;
10922 swig_obj[0] = args;
10923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10924 if (!SWIG_IsOK(res1)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10926 }
10927 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 {
10935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10936 }
10937 return resultobj;
10938fail:
10939 return NULL;
d55e5bfc
RD
10940}
10941
10942
1bd55598
RD
10943SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10944 PyObject *resultobj = 0;
10945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10946 bool result;
10947 void *argp1 = 0 ;
10948 int res1 = 0 ;
10949 PyObject *swig_obj[1] ;
10950
10951 if (!args) SWIG_fail;
10952 swig_obj[0] = args;
10953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10954 if (!SWIG_IsOK(res1)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10956 }
10957 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (bool)((wxTextAttr const *)arg1)->HasFont();
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 {
10965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10966 }
10967 return resultobj;
10968fail:
10969 return NULL;
d55e5bfc
RD
10970}
10971
10972
1bd55598
RD
10973SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10974 PyObject *resultobj = 0;
10975 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10976 bool result;
10977 void *argp1 = 0 ;
10978 int res1 = 0 ;
10979 PyObject *swig_obj[1] ;
10980
10981 if (!args) SWIG_fail;
10982 swig_obj[0] = args;
10983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10984 if (!SWIG_IsOK(res1)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10986 }
10987 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 {
10995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10996 }
10997 return resultobj;
10998fail:
10999 return NULL;
d55e5bfc
RD
11000}
11001
11002
1bd55598
RD
11003SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11004 PyObject *resultobj = 0;
11005 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11006 bool result;
11007 void *argp1 = 0 ;
11008 int res1 = 0 ;
11009 PyObject *swig_obj[1] ;
11010
11011 if (!args) SWIG_fail;
11012 swig_obj[0] = args;
11013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11014 if (!SWIG_IsOK(res1)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11016 }
11017 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 {
11025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11026 }
11027 return resultobj;
11028fail:
11029 return NULL;
d55e5bfc
RD
11030}
11031
11032
1bd55598
RD
11033SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11034 PyObject *resultobj = 0;
11035 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11036 bool result;
11037 void *argp1 = 0 ;
11038 int res1 = 0 ;
11039 PyObject *swig_obj[1] ;
11040
11041 if (!args) SWIG_fail;
11042 swig_obj[0] = args;
11043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11044 if (!SWIG_IsOK(res1)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11046 }
11047 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 {
11055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11056 }
11057 return resultobj;
11058fail:
11059 return NULL;
d55e5bfc
RD
11060}
11061
11062
1bd55598
RD
11063SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11064 PyObject *resultobj = 0;
11065 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11066 bool result;
11067 void *argp1 = 0 ;
11068 int res1 = 0 ;
11069 PyObject *swig_obj[1] ;
11070
11071 if (!args) SWIG_fail;
11072 swig_obj[0] = args;
11073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11074 if (!SWIG_IsOK(res1)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11076 }
11077 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 {
11085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11086 }
11087 return resultobj;
11088fail:
11089 return NULL;
11090}
11091
11092
11093SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj = 0;
11095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11096 long arg2 ;
11097 bool result;
11098 void *argp1 = 0 ;
11099 int res1 = 0 ;
11100 long val2 ;
11101 int ecode2 = 0 ;
11102 PyObject * obj0 = 0 ;
11103 PyObject * obj1 = 0 ;
11104 char * kwnames[] = {
11105 (char *) "self",(char *) "flag", NULL
11106 };
11107
11108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11110 if (!SWIG_IsOK(res1)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11112 }
11113 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11114 ecode2 = SWIG_AsVal_long(obj1, &val2);
11115 if (!SWIG_IsOK(ecode2)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11117 }
11118 arg2 = static_cast< long >(val2);
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 {
11126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11127 }
11128 return resultobj;
11129fail:
11130 return NULL;
d55e5bfc
RD
11131}
11132
11133
1bd55598
RD
11134SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11135 PyObject *resultobj = 0;
11136 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11137 wxColour *result = 0 ;
11138 void *argp1 = 0 ;
11139 int res1 = 0 ;
11140 PyObject *swig_obj[1] ;
11141
11142 if (!args) SWIG_fail;
11143 swig_obj[0] = args;
11144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11145 if (!SWIG_IsOK(res1)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11147 }
11148 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11151 {
1bd55598
RD
11152 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11153 result = (wxColour *) &_result_ref;
d55e5bfc 11154 }
1bd55598
RD
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11159 return resultobj;
11160fail:
11161 return NULL;
d55e5bfc
RD
11162}
11163
11164
1bd55598
RD
11165SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11166 PyObject *resultobj = 0;
11167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11168 wxColour *result = 0 ;
11169 void *argp1 = 0 ;
11170 int res1 = 0 ;
11171 PyObject *swig_obj[1] ;
11172
11173 if (!args) SWIG_fail;
11174 swig_obj[0] = args;
11175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11176 if (!SWIG_IsOK(res1)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11178 }
11179 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11182 {
1bd55598
RD
11183 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11184 result = (wxColour *) &_result_ref;
d55e5bfc 11185 }
1bd55598
RD
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11190 return resultobj;
11191fail:
11192 return NULL;
d55e5bfc
RD
11193}
11194
11195
1bd55598
RD
11196SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11197 PyObject *resultobj = 0;
11198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11199 wxFont *result = 0 ;
11200 void *argp1 = 0 ;
11201 int res1 = 0 ;
11202 PyObject *swig_obj[1] ;
11203
11204 if (!args) SWIG_fail;
11205 swig_obj[0] = args;
11206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11207 if (!SWIG_IsOK(res1)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11209 }
11210 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11213 {
1bd55598
RD
11214 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11215 result = (wxFont *) &_result_ref;
d55e5bfc 11216 }
1bd55598
RD
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
11220 {
11221 wxFont* resultptr = new wxFont(*result);
11222 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11223 }
11224 return resultobj;
11225fail:
11226 return NULL;
d55e5bfc
RD
11227}
11228
11229
1bd55598
RD
11230SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11231 PyObject *resultobj = 0;
11232 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11233 wxTextAttrAlignment result;
11234 void *argp1 = 0 ;
11235 int res1 = 0 ;
11236 PyObject *swig_obj[1] ;
11237
11238 if (!args) SWIG_fail;
11239 swig_obj[0] = args;
11240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11241 if (!SWIG_IsOK(res1)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11243 }
11244 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 resultobj = SWIG_From_int(static_cast< int >(result));
11252 return resultobj;
11253fail:
11254 return NULL;
d55e5bfc
RD
11255}
11256
11257
1bd55598
RD
11258SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11259 PyObject *resultobj = 0;
11260 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11261 wxArrayInt *result = 0 ;
11262 void *argp1 = 0 ;
11263 int res1 = 0 ;
11264 PyObject *swig_obj[1] ;
11265
11266 if (!args) SWIG_fail;
11267 swig_obj[0] = args;
11268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11269 if (!SWIG_IsOK(res1)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11271 }
11272 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11275 {
1bd55598
RD
11276 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11277 result = (wxArrayInt *) &_result_ref;
36ed4f51 11278 }
1bd55598
RD
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 {
11283 resultobj = PyList_New(0);
11284 size_t idx;
11285 for (idx = 0; idx < result->GetCount(); idx += 1) {
11286 PyObject* val = PyInt_FromLong( result->Item(idx) );
11287 PyList_Append(resultobj, val);
11288 Py_DECREF(val);
d55e5bfc 11289 }
1bd55598
RD
11290 }
11291 return resultobj;
11292fail:
11293 return NULL;
d55e5bfc
RD
11294}
11295
11296
1bd55598
RD
11297SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11298 PyObject *resultobj = 0;
11299 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11300 long result;
11301 void *argp1 = 0 ;
11302 int res1 = 0 ;
11303 PyObject *swig_obj[1] ;
11304
11305 if (!args) SWIG_fail;
11306 swig_obj[0] = args;
11307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11308 if (!SWIG_IsOK(res1)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11310 }
11311 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_From_long(static_cast< long >(result));
11319 return resultobj;
11320fail:
11321 return NULL;
d55e5bfc
RD
11322}
11323
11324
1bd55598
RD
11325SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11326 PyObject *resultobj = 0;
11327 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11328 long result;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 PyObject *swig_obj[1] ;
11332
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_From_long(static_cast< long >(result));
11347 return resultobj;
11348fail:
11349 return NULL;
d55e5bfc
RD
11350}
11351
11352
1bd55598
RD
11353SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11354 PyObject *resultobj = 0;
11355 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11356 long result;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 PyObject *swig_obj[1] ;
11360
11361 if (!args) SWIG_fail;
11362 swig_obj[0] = args;
11363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11364 if (!SWIG_IsOK(res1)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11366 }
11367 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 resultobj = SWIG_From_long(static_cast< long >(result));
11375 return resultobj;
11376fail:
11377 return NULL;
d55e5bfc
RD
11378}
11379
11380
1bd55598
RD
11381SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11382 PyObject *resultobj = 0;
11383 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11384 long result;
11385 void *argp1 = 0 ;
11386 int res1 = 0 ;
11387 PyObject *swig_obj[1] ;
11388
11389 if (!args) SWIG_fail;
11390 swig_obj[0] = args;
11391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11392 if (!SWIG_IsOK(res1)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11394 }
11395 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 resultobj = SWIG_From_long(static_cast< long >(result));
11403 return resultobj;
11404fail:
11405 return NULL;
d55e5bfc
RD
11406}
11407
11408
1bd55598
RD
11409SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11410 PyObject *resultobj = 0;
11411 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11412 bool result;
11413 void *argp1 = 0 ;
11414 int res1 = 0 ;
11415 PyObject *swig_obj[1] ;
11416
11417 if (!args) SWIG_fail;
11418 swig_obj[0] = args;
11419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11420 if (!SWIG_IsOK(res1)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11422 }
11423 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 {
11431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11432 }
11433 return resultobj;
11434fail:
11435 return NULL;
11436}
11437
11438
11439SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj = 0;
11441 wxTextAttr *arg1 = 0 ;
11442 wxTextAttr *arg2 = 0 ;
11443 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11444 wxTextAttr result;
11445 void *argp1 = 0 ;
11446 int res1 = 0 ;
11447 void *argp2 = 0 ;
11448 int res2 = 0 ;
11449 void *argp3 = 0 ;
11450 int res3 = 0 ;
11451 PyObject * obj0 = 0 ;
11452 PyObject * obj1 = 0 ;
11453 PyObject * obj2 = 0 ;
11454 char * kwnames[] = {
11455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11456 };
11457
11458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11459 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11460 if (!SWIG_IsOK(res1)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11462 }
11463 if (!argp1) {
11464 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11465 }
11466 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11467 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11468 if (!SWIG_IsOK(res2)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11470 }
11471 if (!argp2) {
11472 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11473 }
11474 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11475 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11476 if (!SWIG_IsOK(res3)) {
11477 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11478 }
11479 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11487 return resultobj;
11488fail:
11489 return NULL;
11490}
11491
11492
11493SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11494 PyObject *obj;
11495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11496 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11497 return SWIG_Py_Void();
11498}
11499
11500SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11501 return SWIG_Python_InitShadowInstance(args);
11502}
11503
11504SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj = 0;
11506 wxWindow *arg1 = (wxWindow *) 0 ;
11507 int arg2 = (int) -1 ;
11508 wxString const &arg3_defvalue = wxPyEmptyString ;
11509 wxString *arg3 = (wxString *) &arg3_defvalue ;
11510 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11511 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11512 wxSize const &arg5_defvalue = wxDefaultSize ;
11513 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11514 long arg6 = (long) 0 ;
11515 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11516 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11517 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11518 wxString *arg8 = (wxString *) &arg8_defvalue ;
11519 wxTextCtrl *result = 0 ;
11520 void *argp1 = 0 ;
11521 int res1 = 0 ;
11522 int val2 ;
11523 int ecode2 = 0 ;
11524 bool temp3 = false ;
11525 wxPoint temp4 ;
11526 wxSize temp5 ;
11527 long val6 ;
11528 int ecode6 = 0 ;
11529 void *argp7 = 0 ;
11530 int res7 = 0 ;
11531 bool temp8 = false ;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535 PyObject * obj3 = 0 ;
11536 PyObject * obj4 = 0 ;
11537 PyObject * obj5 = 0 ;
11538 PyObject * obj6 = 0 ;
11539 PyObject * obj7 = 0 ;
11540 char * kwnames[] = {
11541 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11542 };
11543
11544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11548 }
11549 arg1 = reinterpret_cast< wxWindow * >(argp1);
11550 if (obj1) {
11551 ecode2 = SWIG_AsVal_int(obj1, &val2);
11552 if (!SWIG_IsOK(ecode2)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11554 }
11555 arg2 = static_cast< int >(val2);
11556 }
11557 if (obj2) {
36ed4f51 11558 {
1bd55598
RD
11559 arg3 = wxString_in_helper(obj2);
11560 if (arg3 == NULL) SWIG_fail;
11561 temp3 = true;
36ed4f51 11562 }
1bd55598
RD
11563 }
11564 if (obj3) {
36ed4f51 11565 {
1bd55598
RD
11566 arg4 = &temp4;
11567 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11568 }
1bd55598
RD
11569 }
11570 if (obj4) {
d55e5bfc 11571 {
1bd55598
RD
11572 arg5 = &temp5;
11573 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11574 }
1bd55598
RD
11575 }
11576 if (obj5) {
11577 ecode6 = SWIG_AsVal_long(obj5, &val6);
11578 if (!SWIG_IsOK(ecode6)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11580 }
11581 arg6 = static_cast< long >(val6);
11582 }
11583 if (obj6) {
11584 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11585 if (!SWIG_IsOK(res7)) {
11586 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11587 }
1bd55598
RD
11588 if (!argp7) {
11589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11590 }
1bd55598
RD
11591 arg7 = reinterpret_cast< wxValidator * >(argp7);
11592 }
11593 if (obj7) {
d55e5bfc 11594 {
1bd55598
RD
11595 arg8 = wxString_in_helper(obj7);
11596 if (arg8 == NULL) SWIG_fail;
11597 temp8 = true;
d55e5bfc 11598 }
1bd55598
RD
11599 }
11600 {
11601 if (!wxPyCheckForApp()) SWIG_fail;
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11608 {
11609 if (temp3)
11610 delete arg3;
11611 }
11612 {
11613 if (temp8)
11614 delete arg8;
11615 }
11616 return resultobj;
11617fail:
11618 {
11619 if (temp3)
11620 delete arg3;
11621 }
11622 {
11623 if (temp8)
11624 delete arg8;
11625 }
11626 return NULL;
d55e5bfc
RD
11627}
11628
11629
1bd55598
RD
11630SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11631 PyObject *resultobj = 0;
11632 wxTextCtrl *result = 0 ;
11633
11634 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11635 {
11636 if (!wxPyCheckForApp()) SWIG_fail;
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (wxTextCtrl *)new wxTextCtrl();
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11643 return resultobj;
11644fail:
11645 return NULL;
11646}
11647
11648
11649SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj = 0;
11651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11652 wxWindow *arg2 = (wxWindow *) 0 ;
11653 int arg3 = (int) -1 ;
11654 wxString const &arg4_defvalue = wxPyEmptyString ;
11655 wxString *arg4 = (wxString *) &arg4_defvalue ;
11656 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11657 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11658 wxSize const &arg6_defvalue = wxDefaultSize ;
11659 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11660 long arg7 = (long) 0 ;
11661 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11662 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11663 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11664 wxString *arg9 = (wxString *) &arg9_defvalue ;
11665 bool result;
11666 void *argp1 = 0 ;
11667 int res1 = 0 ;
11668 void *argp2 = 0 ;
11669 int res2 = 0 ;
11670 int val3 ;
11671 int ecode3 = 0 ;
11672 bool temp4 = false ;
11673 wxPoint temp5 ;
11674 wxSize temp6 ;
11675 long val7 ;
11676 int ecode7 = 0 ;
11677 void *argp8 = 0 ;
11678 int res8 = 0 ;
11679 bool temp9 = false ;
11680 PyObject * obj0 = 0 ;
11681 PyObject * obj1 = 0 ;
11682 PyObject * obj2 = 0 ;
11683 PyObject * obj3 = 0 ;
11684 PyObject * obj4 = 0 ;
11685 PyObject * obj5 = 0 ;
11686 PyObject * obj6 = 0 ;
11687 PyObject * obj7 = 0 ;
11688 PyObject * obj8 = 0 ;
11689 char * kwnames[] = {
11690 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11691 };
11692
11693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11695 if (!SWIG_IsOK(res1)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11697 }
11698 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11699 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11700 if (!SWIG_IsOK(res2)) {
11701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11702 }
11703 arg2 = reinterpret_cast< wxWindow * >(argp2);
11704 if (obj2) {
11705 ecode3 = SWIG_AsVal_int(obj2, &val3);
11706 if (!SWIG_IsOK(ecode3)) {
11707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11708 }
11709 arg3 = static_cast< int >(val3);
11710 }
11711 if (obj3) {
d55e5bfc 11712 {
1bd55598
RD
11713 arg4 = wxString_in_helper(obj3);
11714 if (arg4 == NULL) SWIG_fail;
11715 temp4 = true;
d55e5bfc 11716 }
1bd55598
RD
11717 }
11718 if (obj4) {
d55e5bfc 11719 {
1bd55598
RD
11720 arg5 = &temp5;
11721 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11722 }
1bd55598
RD
11723 }
11724 if (obj5) {
d55e5bfc 11725 {
1bd55598
RD
11726 arg6 = &temp6;
11727 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11728 }
1bd55598
RD
11729 }
11730 if (obj6) {
11731 ecode7 = SWIG_AsVal_long(obj6, &val7);
11732 if (!SWIG_IsOK(ecode7)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11734 }
11735 arg7 = static_cast< long >(val7);
11736 }
11737 if (obj7) {
11738 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11739 if (!SWIG_IsOK(res8)) {
11740 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11741 }
1bd55598
RD
11742 if (!argp8) {
11743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11744 }
11745 arg8 = reinterpret_cast< wxValidator * >(argp8);
11746 }
11747 if (obj8) {
d55e5bfc 11748 {
1bd55598
RD
11749 arg9 = wxString_in_helper(obj8);
11750 if (arg9 == NULL) SWIG_fail;
11751 temp9 = true;
d55e5bfc 11752 }
1bd55598
RD
11753 }
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 {
11761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11762 }
11763 {
11764 if (temp4)
11765 delete arg4;
11766 }
11767 {
11768 if (temp9)
11769 delete arg9;
11770 }
11771 return resultobj;
11772fail:
11773 {
11774 if (temp4)
11775 delete arg4;
11776 }
11777 {
11778 if (temp9)
11779 delete arg9;
11780 }
11781 return NULL;
d55e5bfc
RD
11782}
11783
11784
1bd55598
RD
11785SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11788 wxString result;
11789 void *argp1 = 0 ;
11790 int res1 = 0 ;
11791 PyObject *swig_obj[1] ;
11792
11793 if (!args) SWIG_fail;
11794 swig_obj[0] = args;
11795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11798 }
11799 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = ((wxTextCtrl const *)arg1)->GetValue();
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 {
11807#if wxUSE_UNICODE
11808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11809#else
11810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11811#endif
11812 }
11813 return resultobj;
11814fail:
11815 return NULL;
11816}
11817
11818
11819SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj = 0;
11821 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11822 wxString *arg2 = 0 ;
11823 void *argp1 = 0 ;
11824 int res1 = 0 ;
11825 bool temp2 = false ;
11826 PyObject * obj0 = 0 ;
11827 PyObject * obj1 = 0 ;
11828 char * kwnames[] = {
11829 (char *) "self",(char *) "value", NULL
11830 };
11831
11832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11834 if (!SWIG_IsOK(res1)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11836 }
11837 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11838 {
11839 arg2 = wxString_in_helper(obj1);
11840 if (arg2 == NULL) SWIG_fail;
11841 temp2 = true;
11842 }
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetValue((wxString const &)*arg2);
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_Py_Void();
11850 {
11851 if (temp2)
11852 delete arg2;
11853 }
11854 return resultobj;
11855fail:
11856 {
11857 if (temp2)
11858 delete arg2;
11859 }
11860 return NULL;
11861}
11862
11863
11864SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj = 0;
11866 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11867 long arg2 ;
11868 long arg3 ;
11869 wxString result;
11870 void *argp1 = 0 ;
11871 int res1 = 0 ;
11872 long val2 ;
11873 int ecode2 = 0 ;
11874 long val3 ;
11875 int ecode3 = 0 ;
11876 PyObject * obj0 = 0 ;
11877 PyObject * obj1 = 0 ;
11878 PyObject * obj2 = 0 ;
11879 char * kwnames[] = {
2131d850 11880 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
11881 };
11882
11883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11885 if (!SWIG_IsOK(res1)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11887 }
11888 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11889 ecode2 = SWIG_AsVal_long(obj1, &val2);
11890 if (!SWIG_IsOK(ecode2)) {
11891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11892 }
11893 arg2 = static_cast< long >(val2);
11894 ecode3 = SWIG_AsVal_long(obj2, &val3);
11895 if (!SWIG_IsOK(ecode3)) {
11896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11897 }
11898 arg3 = static_cast< long >(val3);
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 {
11906#if wxUSE_UNICODE
11907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11908#else
11909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11910#endif
11911 }
11912 return resultobj;
11913fail:
11914 return NULL;
11915}
11916
11917
11918SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11919 PyObject *resultobj = 0;
11920 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11921 long arg2 ;
11922 int result;
11923 void *argp1 = 0 ;
11924 int res1 = 0 ;
11925 long val2 ;
11926 int ecode2 = 0 ;
11927 PyObject * obj0 = 0 ;
11928 PyObject * obj1 = 0 ;
11929 char * kwnames[] = {
11930 (char *) "self",(char *) "lineNo", NULL
11931 };
11932
11933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
11934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11935 if (!SWIG_IsOK(res1)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11937 }
11938 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11939 ecode2 = SWIG_AsVal_long(obj1, &val2);
11940 if (!SWIG_IsOK(ecode2)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11942 }
11943 arg2 = static_cast< long >(val2);
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_From_int(static_cast< int >(result));
11951 return resultobj;
11952fail:
11953 return NULL;
11954}
11955
11956
11957SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj = 0;
11959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11960 long arg2 ;
11961 wxString result;
11962 void *argp1 = 0 ;
11963 int res1 = 0 ;
11964 long val2 ;
11965 int ecode2 = 0 ;
11966 PyObject * obj0 = 0 ;
11967 PyObject * obj1 = 0 ;
11968 char * kwnames[] = {
11969 (char *) "self",(char *) "lineNo", NULL
11970 };
11971
11972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
11973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11974 if (!SWIG_IsOK(res1)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11976 }
11977 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11978 ecode2 = SWIG_AsVal_long(obj1, &val2);
11979 if (!SWIG_IsOK(ecode2)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11981 }
11982 arg2 = static_cast< long >(val2);
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 {
11990#if wxUSE_UNICODE
11991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11992#else
11993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11994#endif
11995 }
11996 return resultobj;
11997fail:
11998 return NULL;
d55e5bfc
RD
11999}
12000
12001
1bd55598
RD
12002SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12003 PyObject *resultobj = 0;
12004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12005 int result;
12006 void *argp1 = 0 ;
12007 int res1 = 0 ;
12008 PyObject *swig_obj[1] ;
12009
12010 if (!args) SWIG_fail;
12011 swig_obj[0] = args;
12012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12013 if (!SWIG_IsOK(res1)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12015 }
12016 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 resultobj = SWIG_From_int(static_cast< int >(result));
12024 return resultobj;
12025fail:
12026 return NULL;
d55e5bfc
RD
12027}
12028
12029
1bd55598
RD
12030SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12031 PyObject *resultobj = 0;
12032 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12033 bool result;
12034 void *argp1 = 0 ;
12035 int res1 = 0 ;
12036 PyObject *swig_obj[1] ;
12037
12038 if (!args) SWIG_fail;
12039 swig_obj[0] = args;
12040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12041 if (!SWIG_IsOK(res1)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12043 }
12044 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 {
12052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12053 }
12054 return resultobj;
12055fail:
12056 return NULL;
d55e5bfc
RD
12057}
12058
12059
1bd55598
RD
12060SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12061 PyObject *resultobj = 0;
12062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12063 bool result;
12064 void *argp1 = 0 ;
12065 int res1 = 0 ;
12066 PyObject *swig_obj[1] ;
12067
12068 if (!args) SWIG_fail;
12069 swig_obj[0] = args;
12070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12071 if (!SWIG_IsOK(res1)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12073 }
12074 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 {
12082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12083 }
12084 return resultobj;
12085fail:
12086 return NULL;
d55e5bfc
RD
12087}
12088
12089
1bd55598
RD
12090SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *resultobj = 0;
12092 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12093 bool result;
12094 void *argp1 = 0 ;
12095 int res1 = 0 ;
12096 PyObject *swig_obj[1] ;
12097
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12101 if (!SWIG_IsOK(res1)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12103 }
12104 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 {
12112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12113 }
12114 return resultobj;
12115fail:
12116 return NULL;
d55e5bfc
RD
12117}
12118
12119
1bd55598
RD
12120SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12121 PyObject *resultobj = 0;
12122 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12123 bool result;
12124 void *argp1 = 0 ;
12125 int res1 = 0 ;
12126 PyObject *swig_obj[1] ;
12127
12128 if (!args) SWIG_fail;
12129 swig_obj[0] = args;
12130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12131 if (!SWIG_IsOK(res1)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12133 }
12134 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 {
12142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12143 }
12144 return resultobj;
12145fail:
12146 return NULL;
12147}
12148
12149
12150SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12151 PyObject *resultobj = 0;
12152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12153 long *arg2 = (long *) 0 ;
12154 long *arg3 = (long *) 0 ;
12155 void *argp1 = 0 ;
12156 int res1 = 0 ;
12157 long temp2 ;
12158 int res2 = SWIG_TMPOBJ ;
12159 long temp3 ;
12160 int res3 = SWIG_TMPOBJ ;
12161 PyObject *swig_obj[1] ;
12162
12163 arg2 = &temp2;
12164 arg3 = &temp3;
12165 if (!args) SWIG_fail;
12166 swig_obj[0] = args;
12167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12168 if (!SWIG_IsOK(res1)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12170 }
12171 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 resultobj = SWIG_Py_Void();
12179 if (SWIG_IsTmpObj(res2)) {
12180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12181 } else {
12182 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12183 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12184 }
12185 if (SWIG_IsTmpObj(res3)) {
12186 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12187 } else {
12188 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12189 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12190 }
12191 return resultobj;
12192fail:
12193 return NULL;
d55e5bfc
RD
12194}
12195
12196
1bd55598
RD
12197SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12198 PyObject *resultobj = 0;
12199 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12200 wxString result;
12201 void *argp1 = 0 ;
12202 int res1 = 0 ;
12203 PyObject *swig_obj[1] ;
12204
12205 if (!args) SWIG_fail;
12206 swig_obj[0] = args;
12207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12208 if (!SWIG_IsOK(res1)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12210 }
12211 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 {
d55e5bfc 12219#if wxUSE_UNICODE
1bd55598 12220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 12221#else
1bd55598 12222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 12223#endif
1bd55598
RD
12224 }
12225 return resultobj;
12226fail:
12227 return NULL;
d55e5bfc
RD
12228}
12229
12230
1bd55598
RD
12231SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12232 PyObject *resultobj = 0;
12233 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12234 void *argp1 = 0 ;
12235 int res1 = 0 ;
12236 PyObject *swig_obj[1] ;
12237
12238 if (!args) SWIG_fail;
12239 swig_obj[0] = args;
12240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12241 if (!SWIG_IsOK(res1)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12243 }
12244 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->Clear();
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_Py_Void();
12252 return resultobj;
12253fail:
12254 return NULL;
12255}
12256
12257
12258SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj = 0;
12260 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12261 long arg2 ;
12262 long arg3 ;
12263 wxString *arg4 = 0 ;
12264 void *argp1 = 0 ;
12265 int res1 = 0 ;
12266 long val2 ;
12267 int ecode2 = 0 ;
12268 long val3 ;
12269 int ecode3 = 0 ;
12270 bool temp4 = false ;
12271 PyObject * obj0 = 0 ;
12272 PyObject * obj1 = 0 ;
12273 PyObject * obj2 = 0 ;
12274 PyObject * obj3 = 0 ;
12275 char * kwnames[] = {
2131d850 12276 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
1bd55598
RD
12277 };
12278
12279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12281 if (!SWIG_IsOK(res1)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12283 }
12284 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12285 ecode2 = SWIG_AsVal_long(obj1, &val2);
12286 if (!SWIG_IsOK(ecode2)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12288 }
12289 arg2 = static_cast< long >(val2);
12290 ecode3 = SWIG_AsVal_long(obj2, &val3);
12291 if (!SWIG_IsOK(ecode3)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12293 }
12294 arg3 = static_cast< long >(val3);
12295 {
12296 arg4 = wxString_in_helper(obj3);
12297 if (arg4 == NULL) SWIG_fail;
12298 temp4 = true;
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 resultobj = SWIG_Py_Void();
12307 {
12308 if (temp4)
12309 delete arg4;
12310 }
12311 return resultobj;
12312fail:
12313 {
12314 if (temp4)
12315 delete arg4;
12316 }
12317 return NULL;
12318}
12319
12320
12321SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12322 PyObject *resultobj = 0;
12323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12324 long arg2 ;
12325 long arg3 ;
12326 void *argp1 = 0 ;
12327 int res1 = 0 ;
12328 long val2 ;
12329 int ecode2 = 0 ;
12330 long val3 ;
12331 int ecode3 = 0 ;
12332 PyObject * obj0 = 0 ;
12333 PyObject * obj1 = 0 ;
12334 PyObject * obj2 = 0 ;
12335 char * kwnames[] = {
2131d850 12336 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
12337 };
12338
12339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12341 if (!SWIG_IsOK(res1)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12343 }
12344 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12345 ecode2 = SWIG_AsVal_long(obj1, &val2);
12346 if (!SWIG_IsOK(ecode2)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12348 }
12349 arg2 = static_cast< long >(val2);
12350 ecode3 = SWIG_AsVal_long(obj2, &val3);
12351 if (!SWIG_IsOK(ecode3)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12353 }
12354 arg3 = static_cast< long >(val3);
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 (arg1)->Remove(arg2,arg3);
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = SWIG_Py_Void();
12362 return resultobj;
12363fail:
12364 return NULL;
12365}
12366
12367
12368SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj = 0;
12370 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12371 wxString *arg2 = 0 ;
12372 bool result;
12373 void *argp1 = 0 ;
12374 int res1 = 0 ;
12375 bool temp2 = false ;
12376 PyObject * obj0 = 0 ;
12377 PyObject * obj1 = 0 ;
12378 char * kwnames[] = {
12379 (char *) "self",(char *) "file", NULL
12380 };
12381
12382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
12383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12386 }
12387 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12388 {
12389 arg2 = wxString_in_helper(obj1);
12390 if (arg2 == NULL) SWIG_fail;
12391 temp2 = true;
12392 }
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 {
12400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12401 }
12402 {
12403 if (temp2)
12404 delete arg2;
12405 }
12406 return resultobj;
12407fail:
12408 {
12409 if (temp2)
12410 delete arg2;
12411 }
12412 return NULL;
12413}
12414
12415
12416SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj = 0;
12418 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12419 wxString const &arg2_defvalue = wxPyEmptyString ;
12420 wxString *arg2 = (wxString *) &arg2_defvalue ;
12421 bool result;
12422 void *argp1 = 0 ;
12423 int res1 = 0 ;
12424 bool temp2 = false ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427 char * kwnames[] = {
12428 (char *) "self",(char *) "file", NULL
12429 };
12430
12431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
12432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12433 if (!SWIG_IsOK(res1)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12435 }
12436 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12437 if (obj1) {
d55e5bfc 12438 {
1bd55598
RD
12439 arg2 = wxString_in_helper(obj1);
12440 if (arg2 == NULL) SWIG_fail;
12441 temp2 = true;
d55e5bfc 12442 }
1bd55598
RD
12443 }
12444 {
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 {
12451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12452 }
12453 {
12454 if (temp2)
12455 delete arg2;
12456 }
12457 return resultobj;
12458fail:
12459 {
12460 if (temp2)
12461 delete arg2;
12462 }
12463 return NULL;
d55e5bfc
RD
12464}
12465
12466
1bd55598
RD
12467SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12468 PyObject *resultobj = 0;
12469 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12470 void *argp1 = 0 ;
12471 int res1 = 0 ;
12472 PyObject *swig_obj[1] ;
12473
12474 if (!args) SWIG_fail;
12475 swig_obj[0] = args;
12476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12477 if (!SWIG_IsOK(res1)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12479 }
12480 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 (arg1)->MarkDirty();
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 resultobj = SWIG_Py_Void();
12488 return resultobj;
12489fail:
12490 return NULL;
d55e5bfc
RD
12491}
12492
12493
1bd55598
RD
12494SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12495 PyObject *resultobj = 0;
12496 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12497 void *argp1 = 0 ;
12498 int res1 = 0 ;
12499 PyObject *swig_obj[1] ;
12500
12501 if (!args) SWIG_fail;
12502 swig_obj[0] = args;
12503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12504 if (!SWIG_IsOK(res1)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12506 }
12507 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->DiscardEdits();
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 resultobj = SWIG_Py_Void();
12515 return resultobj;
12516fail:
12517 return NULL;
12518}
12519
12520
12521SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj = 0;
12523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12524 unsigned long arg2 ;
12525 void *argp1 = 0 ;
12526 int res1 = 0 ;
12527 unsigned long val2 ;
12528 int ecode2 = 0 ;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 char * kwnames[] = {
12532 (char *) "self",(char *) "len", NULL
12533 };
12534
12535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12537 if (!SWIG_IsOK(res1)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12539 }
12540 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12541 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12542 if (!SWIG_IsOK(ecode2)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12544 }
12545 arg2 = static_cast< unsigned long >(val2);
12546 {
12547 PyThreadState* __tstate = wxPyBeginAllowThreads();
12548 (arg1)->SetMaxLength(arg2);
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 resultobj = SWIG_Py_Void();
12553 return resultobj;
12554fail:
12555 return NULL;
12556}
12557
12558
12559SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj = 0;
12561 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12562 wxString *arg2 = 0 ;
12563 void *argp1 = 0 ;
12564 int res1 = 0 ;
12565 bool temp2 = false ;
12566 PyObject * obj0 = 0 ;
12567 PyObject * obj1 = 0 ;
12568 char * kwnames[] = {
12569 (char *) "self",(char *) "text", NULL
12570 };
12571
12572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12574 if (!SWIG_IsOK(res1)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12576 }
12577 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12578 {
12579 arg2 = wxString_in_helper(obj1);
12580 if (arg2 == NULL) SWIG_fail;
12581 temp2 = true;
12582 }
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->WriteText((wxString const &)*arg2);
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 resultobj = SWIG_Py_Void();
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 return resultobj;
12595fail:
12596 {
12597 if (temp2)
12598 delete arg2;
12599 }
12600 return NULL;
d55e5bfc
RD
12601}
12602
12603
1bd55598
RD
12604SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj = 0;
12606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12607 wxString *arg2 = 0 ;
12608 void *argp1 = 0 ;
12609 int res1 = 0 ;
12610 bool temp2 = false ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 char * kwnames[] = {
12614 (char *) "self",(char *) "text", NULL
12615 };
12616
12617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12619 if (!SWIG_IsOK(res1)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12621 }
12622 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12623 {
12624 arg2 = wxString_in_helper(obj1);
12625 if (arg2 == NULL) SWIG_fail;
12626 temp2 = true;
12627 }
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 (arg1)->AppendText((wxString const &)*arg2);
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 resultobj = SWIG_Py_Void();
12635 {
12636 if (temp2)
12637 delete arg2;
12638 }
12639 return resultobj;
12640fail:
12641 {
12642 if (temp2)
12643 delete arg2;
12644 }
12645 return NULL;
12646}
12647
12648
12649SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12650 PyObject *resultobj = 0;
12651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12652 wxKeyEvent *arg2 = 0 ;
12653 bool result;
12654 void *argp1 = 0 ;
12655 int res1 = 0 ;
12656 void *argp2 = 0 ;
12657 int res2 = 0 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 char * kwnames[] = {
12661 (char *) "self",(char *) "event", NULL
12662 };
12663
12664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12666 if (!SWIG_IsOK(res1)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12668 }
12669 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12670 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12671 if (!SWIG_IsOK(res2)) {
12672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12673 }
12674 if (!argp2) {
12675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12676 }
12677 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 {
12685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12686 }
12687 return resultobj;
12688fail:
12689 return NULL;
12690}
12691
12692
12693SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj = 0;
12695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12696 long arg2 ;
12697 long arg3 ;
12698 wxTextAttr *arg4 = 0 ;
12699 bool result;
12700 void *argp1 = 0 ;
12701 int res1 = 0 ;
12702 long val2 ;
12703 int ecode2 = 0 ;
12704 long val3 ;
12705 int ecode3 = 0 ;
12706 void *argp4 = 0 ;
12707 int res4 = 0 ;
12708 PyObject * obj0 = 0 ;
12709 PyObject * obj1 = 0 ;
12710 PyObject * obj2 = 0 ;
12711 PyObject * obj3 = 0 ;
12712 char * kwnames[] = {
12713 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12714 };
12715
12716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12718 if (!SWIG_IsOK(res1)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12720 }
12721 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12722 ecode2 = SWIG_AsVal_long(obj1, &val2);
12723 if (!SWIG_IsOK(ecode2)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12725 }
12726 arg2 = static_cast< long >(val2);
12727 ecode3 = SWIG_AsVal_long(obj2, &val3);
12728 if (!SWIG_IsOK(ecode3)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12730 }
12731 arg3 = static_cast< long >(val3);
12732 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12733 if (!SWIG_IsOK(res4)) {
12734 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12735 }
12736 if (!argp4) {
12737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12738 }
12739 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 {
12747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12748 }
12749 return resultobj;
12750fail:
12751 return NULL;
12752}
12753
12754
12755SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj = 0;
12757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12758 long arg2 ;
12759 wxTextAttr *arg3 = 0 ;
12760 bool result;
12761 void *argp1 = 0 ;
12762 int res1 = 0 ;
12763 long val2 ;
12764 int ecode2 = 0 ;
12765 void *argp3 = 0 ;
12766 int res3 = 0 ;
12767 PyObject * obj0 = 0 ;
12768 PyObject * obj1 = 0 ;
12769 PyObject * obj2 = 0 ;
12770 char * kwnames[] = {
12771 (char *) "self",(char *) "position",(char *) "style", NULL
12772 };
12773
12774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12776 if (!SWIG_IsOK(res1)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12778 }
12779 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12780 ecode2 = SWIG_AsVal_long(obj1, &val2);
12781 if (!SWIG_IsOK(ecode2)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12783 }
12784 arg2 = static_cast< long >(val2);
12785 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12786 if (!SWIG_IsOK(res3)) {
12787 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12788 }
12789 if (!argp3) {
12790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12791 }
12792 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 {
12800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12801 }
12802 return resultobj;
12803fail:
12804 return NULL;
12805}
12806
12807
12808SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj = 0;
12810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12811 wxTextAttr *arg2 = 0 ;
12812 bool result;
12813 void *argp1 = 0 ;
12814 int res1 = 0 ;
12815 void *argp2 = 0 ;
12816 int res2 = 0 ;
12817 PyObject * obj0 = 0 ;
12818 PyObject * obj1 = 0 ;
12819 char * kwnames[] = {
12820 (char *) "self",(char *) "style", NULL
12821 };
12822
12823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
12824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12825 if (!SWIG_IsOK(res1)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12827 }
12828 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12829 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
12830 if (!SWIG_IsOK(res2)) {
12831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12832 }
12833 if (!argp2) {
12834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12835 }
12836 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 {
12844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12845 }
12846 return resultobj;
12847fail:
12848 return NULL;
d55e5bfc
RD
12849}
12850
12851
1bd55598
RD
12852SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12853 PyObject *resultobj = 0;
12854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12855 wxTextAttr *result = 0 ;
12856 void *argp1 = 0 ;
12857 int res1 = 0 ;
12858 PyObject *swig_obj[1] ;
12859
12860 if (!args) SWIG_fail;
12861 swig_obj[0] = args;
12862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12863 if (!SWIG_IsOK(res1)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12865 }
12866 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 12869 {
1bd55598
RD
12870 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
12871 result = (wxTextAttr *) &_result_ref;
d55e5bfc 12872 }
1bd55598
RD
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
12877 return resultobj;
12878fail:
12879 return NULL;
12880}
12881
12882
12883SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj = 0;
12885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12886 long arg2 ;
12887 long arg3 ;
12888 long result;
12889 void *argp1 = 0 ;
12890 int res1 = 0 ;
12891 long val2 ;
12892 int ecode2 = 0 ;
12893 long val3 ;
12894 int ecode3 = 0 ;
12895 PyObject * obj0 = 0 ;
12896 PyObject * obj1 = 0 ;
12897 PyObject * obj2 = 0 ;
12898 char * kwnames[] = {
12899 (char *) "self",(char *) "x",(char *) "y", NULL
12900 };
12901
12902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12904 if (!SWIG_IsOK(res1)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12906 }
12907 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12908 ecode2 = SWIG_AsVal_long(obj1, &val2);
12909 if (!SWIG_IsOK(ecode2)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12911 }
12912 arg2 = static_cast< long >(val2);
12913 ecode3 = SWIG_AsVal_long(obj2, &val3);
12914 if (!SWIG_IsOK(ecode3)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12916 }
12917 arg3 = static_cast< long >(val3);
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 resultobj = SWIG_From_long(static_cast< long >(result));
12925 return resultobj;
12926fail:
12927 return NULL;
12928}
12929
12930
12931SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj = 0;
12933 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12934 long arg2 ;
12935 long *arg3 = (long *) 0 ;
12936 long *arg4 = (long *) 0 ;
12937 void *argp1 = 0 ;
12938 int res1 = 0 ;
12939 long val2 ;
12940 int ecode2 = 0 ;
12941 long temp3 ;
12942 int res3 = SWIG_TMPOBJ ;
12943 long temp4 ;
12944 int res4 = SWIG_TMPOBJ ;
12945 PyObject * obj0 = 0 ;
12946 PyObject * obj1 = 0 ;
12947 char * kwnames[] = {
12948 (char *) "self",(char *) "pos", NULL
12949 };
12950
12951 arg3 = &temp3;
12952 arg4 = &temp4;
12953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
12954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12955 if (!SWIG_IsOK(res1)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12957 }
12958 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12959 ecode2 = SWIG_AsVal_long(obj1, &val2);
12960 if (!SWIG_IsOK(ecode2)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12962 }
12963 arg2 = static_cast< long >(val2);
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = SWIG_Py_Void();
12971 if (SWIG_IsTmpObj(res3)) {
12972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12973 } else {
12974 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12976 }
12977 if (SWIG_IsTmpObj(res4)) {
12978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
12979 } else {
12980 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
12982 }
12983 return resultobj;
12984fail:
12985 return NULL;
12986}
12987
12988
12989SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj = 0;
12991 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12992 long arg2 ;
12993 void *argp1 = 0 ;
12994 int res1 = 0 ;
12995 long val2 ;
12996 int ecode2 = 0 ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 char * kwnames[] = {
13000 (char *) "self",(char *) "pos", NULL
13001 };
13002
13003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13005 if (!SWIG_IsOK(res1)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13007 }
13008 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13009 ecode2 = SWIG_AsVal_long(obj1, &val2);
13010 if (!SWIG_IsOK(ecode2)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13012 }
13013 arg2 = static_cast< long >(val2);
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 (arg1)->ShowPosition(arg2);
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = SWIG_Py_Void();
13021 return resultobj;
13022fail:
13023 return NULL;
13024}
13025
13026
13027SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj = 0;
13029 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13030 wxPoint *arg2 = 0 ;
13031 long *arg3 = (long *) 0 ;
13032 long *arg4 = (long *) 0 ;
13033 wxTextCtrlHitTestResult result;
13034 void *argp1 = 0 ;
13035 int res1 = 0 ;
13036 wxPoint temp2 ;
13037 long temp3 ;
13038 int res3 = SWIG_TMPOBJ ;
13039 long temp4 ;
13040 int res4 = SWIG_TMPOBJ ;
13041 PyObject * obj0 = 0 ;
13042 PyObject * obj1 = 0 ;
13043 char * kwnames[] = {
13044 (char *) "self",(char *) "pt", NULL
13045 };
13046
13047 arg3 = &temp3;
13048 arg4 = &temp4;
13049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13051 if (!SWIG_IsOK(res1)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13053 }
13054 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13055 {
13056 arg2 = &temp2;
13057 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13058 }
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 resultobj = SWIG_From_int(static_cast< int >(result));
13066 if (SWIG_IsTmpObj(res3)) {
13067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13068 } else {
13069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13071 }
13072 if (SWIG_IsTmpObj(res4)) {
13073 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13074 } else {
13075 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13076 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13077 }
13078 return resultobj;
13079fail:
13080 return NULL;
13081}
13082
13083
13084SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj = 0;
13086 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13087 wxPoint *arg2 = 0 ;
13088 long *arg3 = (long *) 0 ;
13089 wxTextCtrlHitTestResult result;
13090 void *argp1 = 0 ;
13091 int res1 = 0 ;
13092 wxPoint temp2 ;
13093 long temp3 ;
13094 int res3 = SWIG_TMPOBJ ;
13095 PyObject * obj0 = 0 ;
13096 PyObject * obj1 = 0 ;
13097 char * kwnames[] = {
13098 (char *) "self",(char *) "pt", NULL
13099 };
13100
13101 arg3 = &temp3;
13102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13104 if (!SWIG_IsOK(res1)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13106 }
13107 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13108 {
13109 arg2 = &temp2;
13110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = SWIG_From_int(static_cast< int >(result));
13119 if (SWIG_IsTmpObj(res3)) {
13120 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13121 } else {
13122 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13123 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13124 }
13125 return resultobj;
13126fail:
13127 return NULL;
d55e5bfc
RD
13128}
13129
13130
1bd55598
RD
13131SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13132 PyObject *resultobj = 0;
13133 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13134 void *argp1 = 0 ;
13135 int res1 = 0 ;
13136 PyObject *swig_obj[1] ;
13137
13138 if (!args) SWIG_fail;
13139 swig_obj[0] = args;
13140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13141 if (!SWIG_IsOK(res1)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13143 }
13144 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13145 {
13146 PyThreadState* __tstate = wxPyBeginAllowThreads();
13147 (arg1)->Copy();
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 resultobj = SWIG_Py_Void();
13152 return resultobj;
13153fail:
13154 return NULL;
d55e5bfc
RD
13155}
13156
13157
1bd55598
RD
13158SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13159 PyObject *resultobj = 0;
13160 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13161 void *argp1 = 0 ;
13162 int res1 = 0 ;
13163 PyObject *swig_obj[1] ;
13164
13165 if (!args) SWIG_fail;
13166 swig_obj[0] = args;
13167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13168 if (!SWIG_IsOK(res1)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13170 }
13171 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 (arg1)->Cut();
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 resultobj = SWIG_Py_Void();
13179 return resultobj;
13180fail:
13181 return NULL;
d55e5bfc
RD
13182}
13183
13184
1bd55598
RD
13185SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13186 PyObject *resultobj = 0;
13187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 PyObject *swig_obj[1] ;
13191
13192 if (!args) SWIG_fail;
13193 swig_obj[0] = args;
13194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13195 if (!SWIG_IsOK(res1)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13197 }
13198 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 (arg1)->Paste();
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 resultobj = SWIG_Py_Void();
13206 return resultobj;
13207fail:
13208 return NULL;
d55e5bfc
RD
13209}
13210
13211
1bd55598
RD
13212SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13213 PyObject *resultobj = 0;
13214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13215 bool result;
13216 void *argp1 = 0 ;
13217 int res1 = 0 ;
13218 PyObject *swig_obj[1] ;
13219
13220 if (!args) SWIG_fail;
13221 swig_obj[0] = args;
13222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13223 if (!SWIG_IsOK(res1)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13225 }
13226 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 {
13234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13235 }
13236 return resultobj;
13237fail:
13238 return NULL;
d55e5bfc
RD
13239}
13240
13241
1bd55598
RD
13242SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13243 PyObject *resultobj = 0;
13244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13245 bool result;
13246 void *argp1 = 0 ;
13247 int res1 = 0 ;
13248 PyObject *swig_obj[1] ;
13249
13250 if (!args) SWIG_fail;
13251 swig_obj[0] = args;
13252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13253 if (!SWIG_IsOK(res1)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13255 }
13256 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
13263 {
13264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13265 }
13266 return resultobj;
13267fail:
13268 return NULL;
d55e5bfc
RD
13269}
13270
13271
1bd55598
RD
13272SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13273 PyObject *resultobj = 0;
13274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13275 bool result;
13276 void *argp1 = 0 ;
13277 int res1 = 0 ;
13278 PyObject *swig_obj[1] ;
13279
13280 if (!args) SWIG_fail;
13281 swig_obj[0] = args;
13282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13283 if (!SWIG_IsOK(res1)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13285 }
13286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 {
13294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13295 }
13296 return resultobj;
13297fail:
13298 return NULL;
d55e5bfc
RD
13299}
13300
13301
1bd55598
RD
13302SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13303 PyObject *resultobj = 0;
13304 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13305 void *argp1 = 0 ;
13306 int res1 = 0 ;
13307 PyObject *swig_obj[1] ;
13308
13309 if (!args) SWIG_fail;
13310 swig_obj[0] = args;
13311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13312 if (!SWIG_IsOK(res1)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13314 }
13315 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 (arg1)->Undo();
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 resultobj = SWIG_Py_Void();
13323 return resultobj;
13324fail:
13325 return NULL;
d55e5bfc
RD
13326}
13327
13328
1bd55598
RD
13329SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13330 PyObject *resultobj = 0;
13331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13332 void *argp1 = 0 ;
13333 int res1 = 0 ;
13334 PyObject *swig_obj[1] ;
13335
13336 if (!args) SWIG_fail;
13337 swig_obj[0] = args;
13338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13339 if (!SWIG_IsOK(res1)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13341 }
13342 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 (arg1)->Redo();
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 resultobj = SWIG_Py_Void();
13350 return resultobj;
13351fail:
13352 return NULL;
d55e5bfc
RD
13353}
13354
13355
1bd55598
RD
13356SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13357 PyObject *resultobj = 0;
13358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13359 bool result;
13360 void *argp1 = 0 ;
13361 int res1 = 0 ;
13362 PyObject *swig_obj[1] ;
13363
13364 if (!args) SWIG_fail;
13365 swig_obj[0] = args;
13366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13367 if (!SWIG_IsOK(res1)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13369 }
13370 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 {
13378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13379 }
13380 return resultobj;
13381fail:
13382 return NULL;
d55e5bfc
RD
13383}
13384
13385
1bd55598
RD
13386SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13387 PyObject *resultobj = 0;
13388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13389 bool result;
13390 void *argp1 = 0 ;
13391 int res1 = 0 ;
13392 PyObject *swig_obj[1] ;
13393
13394 if (!args) SWIG_fail;
13395 swig_obj[0] = args;
13396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13397 if (!SWIG_IsOK(res1)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13399 }
13400 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 {
13408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13409 }
13410 return resultobj;
13411fail:
13412 return NULL;
13413}
13414
13415
13416SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj = 0;
13418 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13419 long arg2 ;
13420 void *argp1 = 0 ;
13421 int res1 = 0 ;
13422 long val2 ;
13423 int ecode2 = 0 ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 char * kwnames[] = {
13427 (char *) "self",(char *) "pos", NULL
13428 };
13429
13430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13434 }
13435 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13436 ecode2 = SWIG_AsVal_long(obj1, &val2);
13437 if (!SWIG_IsOK(ecode2)) {
13438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13439 }
13440 arg2 = static_cast< long >(val2);
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 (arg1)->SetInsertionPoint(arg2);
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_Py_Void();
13448 return resultobj;
13449fail:
13450 return NULL;
d55e5bfc
RD
13451}
13452
13453
1bd55598
RD
13454SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 PyObject *resultobj = 0;
13456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13457 void *argp1 = 0 ;
13458 int res1 = 0 ;
13459 PyObject *swig_obj[1] ;
13460
13461 if (!args) SWIG_fail;
13462 swig_obj[0] = args;
13463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13464 if (!SWIG_IsOK(res1)) {
13465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13466 }
13467 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 (arg1)->SetInsertionPointEnd();
13471 wxPyEndAllowThreads(__tstate);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 }
13474 resultobj = SWIG_Py_Void();
13475 return resultobj;
13476fail:
13477 return NULL;
d55e5bfc
RD
13478}
13479
13480
1bd55598
RD
13481SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13482 PyObject *resultobj = 0;
13483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13484 long result;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 PyObject *swig_obj[1] ;
13488
13489 if (!args) SWIG_fail;
13490 swig_obj[0] = args;
13491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13492 if (!SWIG_IsOK(res1)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13494 }
13495 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 resultobj = SWIG_From_long(static_cast< long >(result));
13503 return resultobj;
13504fail:
13505 return NULL;
d55e5bfc
RD
13506}
13507
13508
1bd55598
RD
13509SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13510 PyObject *resultobj = 0;
13511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13512 long result;
13513 void *argp1 = 0 ;
13514 int res1 = 0 ;
13515 PyObject *swig_obj[1] ;
13516
13517 if (!args) SWIG_fail;
13518 swig_obj[0] = args;
13519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13522 }
13523 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = SWIG_From_long(static_cast< long >(result));
13531 return resultobj;
13532fail:
13533 return NULL;
13534}
13535
13536
13537SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj = 0;
13539 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13540 long arg2 ;
13541 long arg3 ;
13542 void *argp1 = 0 ;
13543 int res1 = 0 ;
13544 long val2 ;
13545 int ecode2 = 0 ;
13546 long val3 ;
13547 int ecode3 = 0 ;
13548 PyObject * obj0 = 0 ;
13549 PyObject * obj1 = 0 ;
13550 PyObject * obj2 = 0 ;
13551 char * kwnames[] = {
2131d850 13552 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13553 };
13554
13555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13557 if (!SWIG_IsOK(res1)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13559 }
13560 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13561 ecode2 = SWIG_AsVal_long(obj1, &val2);
13562 if (!SWIG_IsOK(ecode2)) {
13563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13564 }
13565 arg2 = static_cast< long >(val2);
13566 ecode3 = SWIG_AsVal_long(obj2, &val3);
13567 if (!SWIG_IsOK(ecode3)) {
13568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13569 }
13570 arg3 = static_cast< long >(val3);
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->SetSelection(arg2,arg3);
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_Py_Void();
13578 return resultobj;
13579fail:
13580 return NULL;
d55e5bfc
RD
13581}
13582
13583
1bd55598
RD
13584SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13585 PyObject *resultobj = 0;
13586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13587 void *argp1 = 0 ;
13588 int res1 = 0 ;
13589 PyObject *swig_obj[1] ;
13590
13591 if (!args) SWIG_fail;
13592 swig_obj[0] = args;
13593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13594 if (!SWIG_IsOK(res1)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13596 }
13597 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 (arg1)->SelectAll();
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 resultobj = SWIG_Py_Void();
13605 return resultobj;
13606fail:
13607 return NULL;
13608}
13609
13610
13611SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj = 0;
13613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13614 bool arg2 ;
13615 void *argp1 = 0 ;
13616 int res1 = 0 ;
13617 bool val2 ;
13618 int ecode2 = 0 ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 char * kwnames[] = {
13622 (char *) "self",(char *) "editable", NULL
13623 };
13624
13625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13627 if (!SWIG_IsOK(res1)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13629 }
13630 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13631 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13632 if (!SWIG_IsOK(ecode2)) {
13633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13634 }
13635 arg2 = static_cast< bool >(val2);
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->SetEditable(arg2);
13639 wxPyEndAllowThreads(__tstate);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
13642 resultobj = SWIG_Py_Void();
13643 return resultobj;
13644fail:
13645 return NULL;
13646}
13647
13648
13649SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13650 PyObject *resultobj = 0;
13651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13652 wxString *arg2 = 0 ;
13653 void *argp1 = 0 ;
13654 int res1 = 0 ;
13655 bool temp2 = false ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char * kwnames[] = {
13659 (char *) "self",(char *) "text", NULL
13660 };
13661
13662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13664 if (!SWIG_IsOK(res1)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13666 }
13667 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13668 {
13669 arg2 = wxString_in_helper(obj1);
13670 if (arg2 == NULL) SWIG_fail;
13671 temp2 = true;
13672 }
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_Py_Void();
13680 {
13681 if (temp2)
13682 delete arg2;
13683 }
13684 return resultobj;
13685fail:
13686 {
13687 if (temp2)
13688 delete arg2;
13689 }
13690 return NULL;
13691}
13692
13693
13694SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13695 PyObject *resultobj = 0;
13696 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13697 long arg2 ;
13698 long arg3 ;
13699 wxString result;
13700 void *argp1 = 0 ;
13701 int res1 = 0 ;
13702 long val2 ;
13703 int ecode2 = 0 ;
13704 long val3 ;
13705 int ecode3 = 0 ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 PyObject * obj2 = 0 ;
13709 char * kwnames[] = {
2131d850 13710 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13711 };
13712
13713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13715 if (!SWIG_IsOK(res1)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13717 }
13718 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13719 ecode2 = SWIG_AsVal_long(obj1, &val2);
13720 if (!SWIG_IsOK(ecode2)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13722 }
13723 arg2 = static_cast< long >(val2);
13724 ecode3 = SWIG_AsVal_long(obj2, &val3);
13725 if (!SWIG_IsOK(ecode3)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13727 }
13728 arg3 = static_cast< long >(val3);
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 {
13736#if wxUSE_UNICODE
13737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13738#else
13739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13740#endif
13741 }
13742 return resultobj;
13743fail:
13744 return NULL;
d55e5bfc
RD
13745}
13746
13747
1bd55598
RD
13748SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj = 0;
13750 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13751 SwigValueWrapper<wxVisualAttributes > result;
13752 int val1 ;
13753 int ecode1 = 0 ;
13754 PyObject * obj0 = 0 ;
13755 char * kwnames[] = {
13756 (char *) "variant", NULL
13757 };
13758
13759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
13760 if (obj0) {
13761 ecode1 = SWIG_AsVal_int(obj0, &val1);
13762 if (!SWIG_IsOK(ecode1)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13764 }
13765 arg1 = static_cast< wxWindowVariant >(val1);
13766 }
13767 {
13768 if (!wxPyCheckForApp()) SWIG_fail;
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
13775 return resultobj;
13776fail:
13777 return NULL;
13778}
13779
13780
13781SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13782 PyObject *obj;
13783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13784 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
13785 return SWIG_Py_Void();
13786}
13787
13788SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13789 return SWIG_Python_InitShadowInstance(args);
13790}
13791
13792SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13793 PyObject *resultobj = 0;
13794 int arg1 ;
13795 wxMouseEvent *arg2 = 0 ;
13796 long arg3 ;
13797 long arg4 ;
13798 wxTextUrlEvent *result = 0 ;
13799 int val1 ;
13800 int ecode1 = 0 ;
13801 void *argp2 = 0 ;
13802 int res2 = 0 ;
13803 long val3 ;
13804 int ecode3 = 0 ;
13805 long val4 ;
13806 int ecode4 = 0 ;
13807 PyObject * obj0 = 0 ;
13808 PyObject * obj1 = 0 ;
13809 PyObject * obj2 = 0 ;
13810 PyObject * obj3 = 0 ;
13811 char * kwnames[] = {
13812 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13813 };
13814
13815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13816 ecode1 = SWIG_AsVal_int(obj0, &val1);
13817 if (!SWIG_IsOK(ecode1)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13819 }
13820 arg1 = static_cast< int >(val1);
13821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
13822 if (!SWIG_IsOK(res2)) {
13823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13824 }
13825 if (!argp2) {
13826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13827 }
13828 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
13829 ecode3 = SWIG_AsVal_long(obj2, &val3);
13830 if (!SWIG_IsOK(ecode3)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13832 }
13833 arg3 = static_cast< long >(val3);
13834 ecode4 = SWIG_AsVal_long(obj3, &val4);
13835 if (!SWIG_IsOK(ecode4)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13837 }
13838 arg4 = static_cast< long >(val4);
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
13846 return resultobj;
13847fail:
13848 return NULL;
d55e5bfc
RD
13849}
13850
13851
1bd55598
RD
13852SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13853 PyObject *resultobj = 0;
13854 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13855 wxMouseEvent *result = 0 ;
13856 void *argp1 = 0 ;
13857 int res1 = 0 ;
13858 PyObject *swig_obj[1] ;
13859
13860 if (!args) SWIG_fail;
13861 swig_obj[0] = args;
13862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13863 if (!SWIG_IsOK(res1)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13865 }
13866 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 13869 {
1bd55598
RD
13870 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
13871 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 13872 }
1bd55598
RD
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
13877 return resultobj;
13878fail:
13879 return NULL;
d55e5bfc
RD
13880}
13881
13882
1bd55598
RD
13883SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13884 PyObject *resultobj = 0;
13885 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13886 long result;
13887 void *argp1 = 0 ;
13888 int res1 = 0 ;
13889 PyObject *swig_obj[1] ;
13890
13891 if (!args) SWIG_fail;
13892 swig_obj[0] = args;
13893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13894 if (!SWIG_IsOK(res1)) {
13895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13896 }
13897 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 resultobj = SWIG_From_long(static_cast< long >(result));
13905 return resultobj;
13906fail:
13907 return NULL;
d55e5bfc
RD
13908}
13909
13910
1bd55598
RD
13911SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13912 PyObject *resultobj = 0;
13913 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13914 long result;
13915 void *argp1 = 0 ;
13916 int res1 = 0 ;
13917 PyObject *swig_obj[1] ;
13918
13919 if (!args) SWIG_fail;
13920 swig_obj[0] = args;
13921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13922 if (!SWIG_IsOK(res1)) {
13923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13924 }
13925 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 resultobj = SWIG_From_long(static_cast< long >(result));
13933 return resultobj;
13934fail:
13935 return NULL;
d55e5bfc
RD
13936}
13937
13938
1bd55598
RD
13939SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13940 PyObject *obj;
13941 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13942 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
13943 return SWIG_Py_Void();
68e533f8
RD
13944}
13945
1bd55598
RD
13946SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13947 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13948}
13949
1bd55598
RD
13950SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
13951 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
13952 return 1;
d55e5bfc
RD
13953}
13954
13955
1bd55598
RD
13956SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
13957 PyObject *pyobj = 0;
13958
13959 {
13960#if wxUSE_UNICODE
13961 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
13962#else
13963 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
13964#endif
13965 }
13966 return pyobj;
13967}
13968
13969
13970SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj = 0;
13972 wxWindow *arg1 = (wxWindow *) 0 ;
13973 int arg2 = (int) -1 ;
13974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13976 wxSize const &arg4_defvalue = wxDefaultSize ;
13977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13978 long arg5 = (long) wxSB_HORIZONTAL ;
13979 wxValidator const &arg6_defvalue = wxDefaultValidator ;
13980 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
13981 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
13982 wxString *arg7 = (wxString *) &arg7_defvalue ;
13983 wxScrollBar *result = 0 ;
13984 void *argp1 = 0 ;
13985 int res1 = 0 ;
13986 int val2 ;
13987 int ecode2 = 0 ;
13988 wxPoint temp3 ;
13989 wxSize temp4 ;
13990 long val5 ;
13991 int ecode5 = 0 ;
13992 void *argp6 = 0 ;
13993 int res6 = 0 ;
13994 bool temp7 = false ;
13995 PyObject * obj0 = 0 ;
13996 PyObject * obj1 = 0 ;
13997 PyObject * obj2 = 0 ;
13998 PyObject * obj3 = 0 ;
13999 PyObject * obj4 = 0 ;
14000 PyObject * obj5 = 0 ;
14001 PyObject * obj6 = 0 ;
14002 char * kwnames[] = {
14003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14004 };
14005
14006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14008 if (!SWIG_IsOK(res1)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14010 }
14011 arg1 = reinterpret_cast< wxWindow * >(argp1);
14012 if (obj1) {
14013 ecode2 = SWIG_AsVal_int(obj1, &val2);
14014 if (!SWIG_IsOK(ecode2)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14016 }
14017 arg2 = static_cast< int >(val2);
14018 }
14019 if (obj2) {
d55e5bfc 14020 {
1bd55598
RD
14021 arg3 = &temp3;
14022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14023 }
1bd55598
RD
14024 }
14025 if (obj3) {
36ed4f51 14026 {
1bd55598
RD
14027 arg4 = &temp4;
14028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14029 }
1bd55598
RD
14030 }
14031 if (obj4) {
14032 ecode5 = SWIG_AsVal_long(obj4, &val5);
14033 if (!SWIG_IsOK(ecode5)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14035 }
14036 arg5 = static_cast< long >(val5);
14037 }
14038 if (obj5) {
14039 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14040 if (!SWIG_IsOK(res6)) {
14041 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14042 }
1bd55598
RD
14043 if (!argp6) {
14044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14045 }
1bd55598
RD
14046 arg6 = reinterpret_cast< wxValidator * >(argp6);
14047 }
14048 if (obj6) {
d55e5bfc 14049 {
1bd55598
RD
14050 arg7 = wxString_in_helper(obj6);
14051 if (arg7 == NULL) SWIG_fail;
14052 temp7 = true;
d55e5bfc 14053 }
1bd55598
RD
14054 }
14055 {
14056 if (!wxPyCheckForApp()) SWIG_fail;
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14063 {
14064 if (temp7)
14065 delete arg7;
14066 }
14067 return resultobj;
14068fail:
14069 {
14070 if (temp7)
14071 delete arg7;
14072 }
14073 return NULL;
d55e5bfc
RD
14074}
14075
14076
1bd55598
RD
14077SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14078 PyObject *resultobj = 0;
14079 wxScrollBar *result = 0 ;
14080
14081 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14082 {
14083 if (!wxPyCheckForApp()) SWIG_fail;
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (wxScrollBar *)new wxScrollBar();
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14090 return resultobj;
14091fail:
14092 return NULL;
14093}
14094
14095
14096SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj = 0;
14098 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14099 wxWindow *arg2 = (wxWindow *) 0 ;
14100 int arg3 = (int) -1 ;
14101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14103 wxSize const &arg5_defvalue = wxDefaultSize ;
14104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14105 long arg6 = (long) wxSB_HORIZONTAL ;
14106 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14107 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14108 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14109 wxString *arg8 = (wxString *) &arg8_defvalue ;
14110 bool result;
14111 void *argp1 = 0 ;
14112 int res1 = 0 ;
14113 void *argp2 = 0 ;
14114 int res2 = 0 ;
14115 int val3 ;
14116 int ecode3 = 0 ;
14117 wxPoint temp4 ;
14118 wxSize temp5 ;
14119 long val6 ;
14120 int ecode6 = 0 ;
14121 void *argp7 = 0 ;
14122 int res7 = 0 ;
14123 bool temp8 = false ;
14124 PyObject * obj0 = 0 ;
14125 PyObject * obj1 = 0 ;
14126 PyObject * obj2 = 0 ;
14127 PyObject * obj3 = 0 ;
14128 PyObject * obj4 = 0 ;
14129 PyObject * obj5 = 0 ;
14130 PyObject * obj6 = 0 ;
14131 PyObject * obj7 = 0 ;
14132 char * kwnames[] = {
14133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14134 };
14135
14136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14138 if (!SWIG_IsOK(res1)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14140 }
14141 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14143 if (!SWIG_IsOK(res2)) {
14144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14145 }
14146 arg2 = reinterpret_cast< wxWindow * >(argp2);
14147 if (obj2) {
14148 ecode3 = SWIG_AsVal_int(obj2, &val3);
14149 if (!SWIG_IsOK(ecode3)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14151 }
14152 arg3 = static_cast< int >(val3);
14153 }
14154 if (obj3) {
d55e5bfc 14155 {
1bd55598
RD
14156 arg4 = &temp4;
14157 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14158 }
1bd55598
RD
14159 }
14160 if (obj4) {
d55e5bfc 14161 {
1bd55598
RD
14162 arg5 = &temp5;
14163 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14164 }
1bd55598
RD
14165 }
14166 if (obj5) {
14167 ecode6 = SWIG_AsVal_long(obj5, &val6);
14168 if (!SWIG_IsOK(ecode6)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14170 }
14171 arg6 = static_cast< long >(val6);
14172 }
14173 if (obj6) {
14174 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14175 if (!SWIG_IsOK(res7)) {
14176 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 14177 }
1bd55598
RD
14178 if (!argp7) {
14179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 14180 }
1bd55598
RD
14181 arg7 = reinterpret_cast< wxValidator * >(argp7);
14182 }
14183 if (obj7) {
d55e5bfc 14184 {
1bd55598
RD
14185 arg8 = wxString_in_helper(obj7);
14186 if (arg8 == NULL) SWIG_fail;
14187 temp8 = true;
d55e5bfc 14188 }
1bd55598
RD
14189 }
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 {
14197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14198 }
14199 {
14200 if (temp8)
14201 delete arg8;
14202 }
14203 return resultobj;
14204fail:
14205 {
14206 if (temp8)
14207 delete arg8;
14208 }
14209 return NULL;
d55e5bfc
RD
14210}
14211
14212
1bd55598
RD
14213SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14214 PyObject *resultobj = 0;
14215 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14216 int result;
14217 void *argp1 = 0 ;
14218 int res1 = 0 ;
14219 PyObject *swig_obj[1] ;
14220
14221 if (!args) SWIG_fail;
14222 swig_obj[0] = args;
14223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14224 if (!SWIG_IsOK(res1)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14226 }
14227 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = SWIG_From_int(static_cast< int >(result));
14235 return resultobj;
14236fail:
14237 return NULL;
d55e5bfc
RD
14238}
14239
14240
1bd55598
RD
14241SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14242 PyObject *resultobj = 0;
14243 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14244 int result;
14245 void *argp1 = 0 ;
14246 int res1 = 0 ;
14247 PyObject *swig_obj[1] ;
14248
14249 if (!args) SWIG_fail;
14250 swig_obj[0] = args;
14251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14252 if (!SWIG_IsOK(res1)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14254 }
14255 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 resultobj = SWIG_From_int(static_cast< int >(result));
14263 return resultobj;
14264fail:
14265 return NULL;
d55e5bfc
RD
14266}
14267
14268
1bd55598
RD
14269SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14270 PyObject *resultobj = 0;
14271 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14272 int result;
14273 void *argp1 = 0 ;
14274 int res1 = 0 ;
14275 PyObject *swig_obj[1] ;
14276
14277 if (!args) SWIG_fail;
14278 swig_obj[0] = args;
14279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14280 if (!SWIG_IsOK(res1)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14282 }
14283 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14284 {
14285 PyThreadState* __tstate = wxPyBeginAllowThreads();
14286 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14287 wxPyEndAllowThreads(__tstate);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 resultobj = SWIG_From_int(static_cast< int >(result));
14291 return resultobj;
14292fail:
14293 return NULL;
d55e5bfc
RD
14294}
14295
14296
1bd55598
RD
14297SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14298 PyObject *resultobj = 0;
14299 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14300 int result;
14301 void *argp1 = 0 ;
14302 int res1 = 0 ;
14303 PyObject *swig_obj[1] ;
14304
14305 if (!args) SWIG_fail;
14306 swig_obj[0] = args;
14307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14308 if (!SWIG_IsOK(res1)) {
14309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14310 }
14311 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14312 {
14313 PyThreadState* __tstate = wxPyBeginAllowThreads();
14314 result = (int)((wxScrollBar const *)arg1)->GetRange();
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 resultobj = SWIG_From_int(static_cast< int >(result));
14319 return resultobj;
14320fail:
14321 return NULL;
d55e5bfc
RD
14322}
14323
14324
1bd55598
RD
14325SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14326 PyObject *resultobj = 0;
14327 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14328 bool result;
14329 void *argp1 = 0 ;
14330 int res1 = 0 ;
14331 PyObject *swig_obj[1] ;
14332
14333 if (!args) SWIG_fail;
14334 swig_obj[0] = args;
14335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14336 if (!SWIG_IsOK(res1)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14338 }
14339 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 {
14347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14348 }
14349 return resultobj;
14350fail:
14351 return NULL;
14352}
14353
14354
14355SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14356 PyObject *resultobj = 0;
14357 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14358 int arg2 ;
14359 void *argp1 = 0 ;
14360 int res1 = 0 ;
14361 int val2 ;
14362 int ecode2 = 0 ;
14363 PyObject * obj0 = 0 ;
14364 PyObject * obj1 = 0 ;
14365 char * kwnames[] = {
14366 (char *) "self",(char *) "viewStart", NULL
14367 };
14368
14369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14371 if (!SWIG_IsOK(res1)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14373 }
14374 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14375 ecode2 = SWIG_AsVal_int(obj1, &val2);
14376 if (!SWIG_IsOK(ecode2)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14378 }
14379 arg2 = static_cast< int >(val2);
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 (arg1)->SetThumbPosition(arg2);
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 resultobj = SWIG_Py_Void();
14387 return resultobj;
14388fail:
14389 return NULL;
14390}
14391
14392
14393SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj = 0;
14395 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14396 SwigValueWrapper<wxVisualAttributes > result;
14397 int val1 ;
14398 int ecode1 = 0 ;
14399 PyObject * obj0 = 0 ;
14400 char * kwnames[] = {
14401 (char *) "variant", NULL
14402 };
14403
14404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14405 if (obj0) {
14406 ecode1 = SWIG_AsVal_int(obj0, &val1);
14407 if (!SWIG_IsOK(ecode1)) {
14408 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14409 }
14410 arg1 = static_cast< wxWindowVariant >(val1);
14411 }
14412 {
14413 if (!wxPyCheckForApp()) SWIG_fail;
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14420 return resultobj;
14421fail:
14422 return NULL;
d55e5bfc
RD
14423}
14424
14425
1bd55598
RD
14426SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14427 PyObject *obj;
14428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14429 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14430 return SWIG_Py_Void();
d55e5bfc
RD
14431}
14432
1bd55598
RD
14433SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14434 return SWIG_Python_InitShadowInstance(args);
14435}
d55e5bfc 14436
1bd55598
RD
14437SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14438 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14439 return 1;
14440}
14441
14442
14443SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14444 PyObject *pyobj = 0;
14445
14446 {
d55e5bfc 14447#if wxUSE_UNICODE
1bd55598 14448 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14449#else
1bd55598 14450 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14451#endif
1bd55598
RD
14452 }
14453 return pyobj;
d55e5bfc
RD
14454}
14455
14456
1bd55598
RD
14457SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14458 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14459 return 1;
d55e5bfc
RD
14460}
14461
14462
1bd55598
RD
14463SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14464 PyObject *pyobj = 0;
14465
14466 {
14467#if wxUSE_UNICODE
14468 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14469#else
14470 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14471#endif
14472 }
14473 return pyobj;
14474}
14475
14476
14477SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj = 0;
14479 wxWindow *arg1 = (wxWindow *) 0 ;
14480 int arg2 = (int) -1 ;
14481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14483 wxSize const &arg4_defvalue = wxDefaultSize ;
14484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14485 long arg5 = (long) wxSP_HORIZONTAL ;
14486 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14487 wxString *arg6 = (wxString *) &arg6_defvalue ;
14488 wxSpinButton *result = 0 ;
14489 void *argp1 = 0 ;
14490 int res1 = 0 ;
14491 int val2 ;
14492 int ecode2 = 0 ;
14493 wxPoint temp3 ;
14494 wxSize temp4 ;
14495 long val5 ;
14496 int ecode5 = 0 ;
14497 bool temp6 = false ;
14498 PyObject * obj0 = 0 ;
14499 PyObject * obj1 = 0 ;
14500 PyObject * obj2 = 0 ;
14501 PyObject * obj3 = 0 ;
14502 PyObject * obj4 = 0 ;
14503 PyObject * obj5 = 0 ;
14504 char * kwnames[] = {
14505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14506 };
14507
14508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14510 if (!SWIG_IsOK(res1)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14512 }
14513 arg1 = reinterpret_cast< wxWindow * >(argp1);
14514 if (obj1) {
14515 ecode2 = SWIG_AsVal_int(obj1, &val2);
14516 if (!SWIG_IsOK(ecode2)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14518 }
14519 arg2 = static_cast< int >(val2);
14520 }
14521 if (obj2) {
d55e5bfc 14522 {
1bd55598
RD
14523 arg3 = &temp3;
14524 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14525 }
1bd55598
RD
14526 }
14527 if (obj3) {
d55e5bfc 14528 {
1bd55598
RD
14529 arg4 = &temp4;
14530 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14531 }
1bd55598
RD
14532 }
14533 if (obj4) {
14534 ecode5 = SWIG_AsVal_long(obj4, &val5);
14535 if (!SWIG_IsOK(ecode5)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14537 }
14538 arg5 = static_cast< long >(val5);
14539 }
14540 if (obj5) {
d55e5bfc 14541 {
1bd55598
RD
14542 arg6 = wxString_in_helper(obj5);
14543 if (arg6 == NULL) SWIG_fail;
14544 temp6 = true;
d55e5bfc 14545 }
1bd55598
RD
14546 }
14547 {
14548 if (!wxPyCheckForApp()) SWIG_fail;
14549 PyThreadState* __tstate = wxPyBeginAllowThreads();
14550 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14555 {
14556 if (temp6)
14557 delete arg6;
14558 }
14559 return resultobj;
14560fail:
14561 {
14562 if (temp6)
14563 delete arg6;
14564 }
14565 return NULL;
d55e5bfc
RD
14566}
14567
14568
1bd55598
RD
14569SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14570 PyObject *resultobj = 0;
14571 wxSpinButton *result = 0 ;
14572
14573 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14574 {
14575 if (!wxPyCheckForApp()) SWIG_fail;
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (wxSpinButton *)new wxSpinButton();
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14582 return resultobj;
14583fail:
14584 return NULL;
14585}
14586
14587
14588SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj = 0;
14590 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14591 wxWindow *arg2 = (wxWindow *) 0 ;
14592 int arg3 = (int) -1 ;
14593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14595 wxSize const &arg5_defvalue = wxDefaultSize ;
14596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14597 long arg6 = (long) wxSP_HORIZONTAL ;
14598 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14599 wxString *arg7 = (wxString *) &arg7_defvalue ;
14600 bool result;
14601 void *argp1 = 0 ;
14602 int res1 = 0 ;
14603 void *argp2 = 0 ;
14604 int res2 = 0 ;
14605 int val3 ;
14606 int ecode3 = 0 ;
14607 wxPoint temp4 ;
14608 wxSize temp5 ;
14609 long val6 ;
14610 int ecode6 = 0 ;
14611 bool temp7 = false ;
14612 PyObject * obj0 = 0 ;
14613 PyObject * obj1 = 0 ;
14614 PyObject * obj2 = 0 ;
14615 PyObject * obj3 = 0 ;
14616 PyObject * obj4 = 0 ;
14617 PyObject * obj5 = 0 ;
14618 PyObject * obj6 = 0 ;
14619 char * kwnames[] = {
14620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14621 };
14622
14623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14625 if (!SWIG_IsOK(res1)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14627 }
14628 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14630 if (!SWIG_IsOK(res2)) {
14631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14632 }
14633 arg2 = reinterpret_cast< wxWindow * >(argp2);
14634 if (obj2) {
14635 ecode3 = SWIG_AsVal_int(obj2, &val3);
14636 if (!SWIG_IsOK(ecode3)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14638 }
14639 arg3 = static_cast< int >(val3);
14640 }
14641 if (obj3) {
d55e5bfc 14642 {
1bd55598
RD
14643 arg4 = &temp4;
14644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14645 }
1bd55598
RD
14646 }
14647 if (obj4) {
d55e5bfc 14648 {
1bd55598
RD
14649 arg5 = &temp5;
14650 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14651 }
1bd55598
RD
14652 }
14653 if (obj5) {
14654 ecode6 = SWIG_AsVal_long(obj5, &val6);
14655 if (!SWIG_IsOK(ecode6)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14657 }
14658 arg6 = static_cast< long >(val6);
14659 }
14660 if (obj6) {
14661 {
14662 arg7 = wxString_in_helper(obj6);
14663 if (arg7 == NULL) SWIG_fail;
14664 temp7 = true;
14665 }
14666 }
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 {
14674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14675 }
14676 {
14677 if (temp7)
14678 delete arg7;
14679 }
14680 return resultobj;
14681fail:
14682 {
14683 if (temp7)
14684 delete arg7;
14685 }
14686 return NULL;
d55e5bfc
RD
14687}
14688
14689
1bd55598
RD
14690SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14691 PyObject *resultobj = 0;
14692 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14693 int result;
14694 void *argp1 = 0 ;
14695 int res1 = 0 ;
14696 PyObject *swig_obj[1] ;
14697
14698 if (!args) SWIG_fail;
14699 swig_obj[0] = args;
14700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14701 if (!SWIG_IsOK(res1)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14703 }
14704 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14705 {
14706 PyThreadState* __tstate = wxPyBeginAllowThreads();
14707 result = (int)((wxSpinButton const *)arg1)->GetValue();
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 resultobj = SWIG_From_int(static_cast< int >(result));
14712 return resultobj;
14713fail:
14714 return NULL;
d55e5bfc
RD
14715}
14716
14717
1bd55598
RD
14718SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14719 PyObject *resultobj = 0;
14720 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14721 int result;
14722 void *argp1 = 0 ;
14723 int res1 = 0 ;
14724 PyObject *swig_obj[1] ;
14725
14726 if (!args) SWIG_fail;
14727 swig_obj[0] = args;
14728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14729 if (!SWIG_IsOK(res1)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14731 }
14732 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (int)((wxSpinButton const *)arg1)->GetMin();
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = SWIG_From_int(static_cast< int >(result));
14740 return resultobj;
14741fail:
14742 return NULL;
d55e5bfc
RD
14743}
14744
14745
1bd55598
RD
14746SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14747 PyObject *resultobj = 0;
14748 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14749 int result;
14750 void *argp1 = 0 ;
14751 int res1 = 0 ;
14752 PyObject *swig_obj[1] ;
14753
14754 if (!args) SWIG_fail;
14755 swig_obj[0] = args;
14756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14757 if (!SWIG_IsOK(res1)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14759 }
14760 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = (int)((wxSpinButton const *)arg1)->GetMax();
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 resultobj = SWIG_From_int(static_cast< int >(result));
14768 return resultobj;
14769fail:
14770 return NULL;
14771}
14772
14773
14774SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj = 0;
14776 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14777 int arg2 ;
14778 void *argp1 = 0 ;
14779 int res1 = 0 ;
14780 int val2 ;
14781 int ecode2 = 0 ;
14782 PyObject * obj0 = 0 ;
14783 PyObject * obj1 = 0 ;
14784 char * kwnames[] = {
14785 (char *) "self",(char *) "val", NULL
14786 };
14787
14788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
14789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14790 if (!SWIG_IsOK(res1)) {
14791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14792 }
14793 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14794 ecode2 = SWIG_AsVal_int(obj1, &val2);
14795 if (!SWIG_IsOK(ecode2)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14797 }
14798 arg2 = static_cast< int >(val2);
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 (arg1)->SetValue(arg2);
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = SWIG_Py_Void();
14806 return resultobj;
14807fail:
14808 return NULL;
14809}
14810
14811
14812SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj = 0;
14814 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14815 int arg2 ;
14816 void *argp1 = 0 ;
14817 int res1 = 0 ;
14818 int val2 ;
14819 int ecode2 = 0 ;
14820 PyObject * obj0 = 0 ;
14821 PyObject * obj1 = 0 ;
14822 char * kwnames[] = {
14823 (char *) "self",(char *) "minVal", NULL
14824 };
14825
14826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
14827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14830 }
14831 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14832 ecode2 = SWIG_AsVal_int(obj1, &val2);
14833 if (!SWIG_IsOK(ecode2)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14835 }
14836 arg2 = static_cast< int >(val2);
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 (arg1)->SetMin(arg2);
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 resultobj = SWIG_Py_Void();
14844 return resultobj;
14845fail:
14846 return NULL;
14847}
14848
14849
14850SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj = 0;
14852 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14853 int arg2 ;
14854 void *argp1 = 0 ;
14855 int res1 = 0 ;
14856 int val2 ;
14857 int ecode2 = 0 ;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 char * kwnames[] = {
14861 (char *) "self",(char *) "maxVal", NULL
14862 };
14863
14864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
14865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14866 if (!SWIG_IsOK(res1)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14868 }
14869 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14870 ecode2 = SWIG_AsVal_int(obj1, &val2);
14871 if (!SWIG_IsOK(ecode2)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14873 }
14874 arg2 = static_cast< int >(val2);
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 (arg1)->SetMax(arg2);
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 resultobj = SWIG_Py_Void();
14882 return resultobj;
14883fail:
14884 return NULL;
14885}
14886
14887
14888SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj = 0;
14890 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14891 int arg2 ;
14892 int arg3 ;
14893 void *argp1 = 0 ;
14894 int res1 = 0 ;
14895 int val2 ;
14896 int ecode2 = 0 ;
14897 int val3 ;
14898 int ecode3 = 0 ;
14899 PyObject * obj0 = 0 ;
14900 PyObject * obj1 = 0 ;
14901 PyObject * obj2 = 0 ;
14902 char * kwnames[] = {
14903 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14904 };
14905
14906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14908 if (!SWIG_IsOK(res1)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14910 }
14911 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14912 ecode2 = SWIG_AsVal_int(obj1, &val2);
14913 if (!SWIG_IsOK(ecode2)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14915 }
14916 arg2 = static_cast< int >(val2);
14917 ecode3 = SWIG_AsVal_int(obj2, &val3);
14918 if (!SWIG_IsOK(ecode3)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14920 }
14921 arg3 = static_cast< int >(val3);
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 (arg1)->SetRange(arg2,arg3);
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 resultobj = SWIG_Py_Void();
14929 return resultobj;
14930fail:
14931 return NULL;
d55e5bfc
RD
14932}
14933
14934
1bd55598
RD
14935SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14936 PyObject *resultobj = 0;
14937 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14938 bool result;
14939 void *argp1 = 0 ;
14940 int res1 = 0 ;
14941 PyObject *swig_obj[1] ;
14942
14943 if (!args) SWIG_fail;
14944 swig_obj[0] = args;
14945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14946 if (!SWIG_IsOK(res1)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14948 }
14949 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 {
14957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14958 }
14959 return resultobj;
14960fail:
14961 return NULL;
d55e5bfc
RD
14962}
14963
14964
1bd55598
RD
14965SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj = 0;
14967 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14968 SwigValueWrapper<wxVisualAttributes > result;
14969 int val1 ;
14970 int ecode1 = 0 ;
14971 PyObject * obj0 = 0 ;
14972 char * kwnames[] = {
14973 (char *) "variant", NULL
14974 };
14975
14976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14977 if (obj0) {
14978 ecode1 = SWIG_AsVal_int(obj0, &val1);
14979 if (!SWIG_IsOK(ecode1)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14981 }
14982 arg1 = static_cast< wxWindowVariant >(val1);
14983 }
14984 {
14985 if (!wxPyCheckForApp()) SWIG_fail;
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = wxSpinButton::GetClassDefaultAttributes(arg1);
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14992 return resultobj;
14993fail:
14994 return NULL;
14995}
14996
14997
14998SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14999 PyObject *obj;
15000 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15002 return SWIG_Py_Void();
15003}
15004
15005SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15006 return SWIG_Python_InitShadowInstance(args);
15007}
15008
15009SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj = 0;
15011 wxWindow *arg1 = (wxWindow *) 0 ;
15012 int arg2 = (int) -1 ;
15013 wxString const &arg3_defvalue = wxPyEmptyString ;
15014 wxString *arg3 = (wxString *) &arg3_defvalue ;
15015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15017 wxSize const &arg5_defvalue = wxDefaultSize ;
15018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15019 long arg6 = (long) wxSP_ARROW_KEYS ;
15020 int arg7 = (int) 0 ;
15021 int arg8 = (int) 100 ;
15022 int arg9 = (int) 0 ;
15023 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15024 wxString *arg10 = (wxString *) &arg10_defvalue ;
15025 wxSpinCtrl *result = 0 ;
15026 void *argp1 = 0 ;
15027 int res1 = 0 ;
15028 int val2 ;
15029 int ecode2 = 0 ;
15030 bool temp3 = false ;
15031 wxPoint temp4 ;
15032 wxSize temp5 ;
15033 long val6 ;
15034 int ecode6 = 0 ;
15035 int val7 ;
15036 int ecode7 = 0 ;
15037 int val8 ;
15038 int ecode8 = 0 ;
15039 int val9 ;
15040 int ecode9 = 0 ;
15041 bool temp10 = false ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 PyObject * obj2 = 0 ;
15045 PyObject * obj3 = 0 ;
15046 PyObject * obj4 = 0 ;
15047 PyObject * obj5 = 0 ;
15048 PyObject * obj6 = 0 ;
15049 PyObject * obj7 = 0 ;
15050 PyObject * obj8 = 0 ;
15051 PyObject * obj9 = 0 ;
15052 char * kwnames[] = {
15053 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15054 };
15055
15056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15058 if (!SWIG_IsOK(res1)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15060 }
15061 arg1 = reinterpret_cast< wxWindow * >(argp1);
15062 if (obj1) {
15063 ecode2 = SWIG_AsVal_int(obj1, &val2);
15064 if (!SWIG_IsOK(ecode2)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15066 }
15067 arg2 = static_cast< int >(val2);
15068 }
15069 if (obj2) {
d55e5bfc 15070 {
1bd55598
RD
15071 arg3 = wxString_in_helper(obj2);
15072 if (arg3 == NULL) SWIG_fail;
15073 temp3 = true;
d55e5bfc 15074 }
1bd55598
RD
15075 }
15076 if (obj3) {
d55e5bfc 15077 {
1bd55598
RD
15078 arg4 = &temp4;
15079 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15080 }
1bd55598
RD
15081 }
15082 if (obj4) {
d55e5bfc 15083 {
1bd55598
RD
15084 arg5 = &temp5;
15085 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15086 }
1bd55598
RD
15087 }
15088 if (obj5) {
15089 ecode6 = SWIG_AsVal_long(obj5, &val6);
15090 if (!SWIG_IsOK(ecode6)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15092 }
15093 arg6 = static_cast< long >(val6);
15094 }
15095 if (obj6) {
15096 ecode7 = SWIG_AsVal_int(obj6, &val7);
15097 if (!SWIG_IsOK(ecode7)) {
15098 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15099 }
15100 arg7 = static_cast< int >(val7);
15101 }
15102 if (obj7) {
15103 ecode8 = SWIG_AsVal_int(obj7, &val8);
15104 if (!SWIG_IsOK(ecode8)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15106 }
15107 arg8 = static_cast< int >(val8);
15108 }
15109 if (obj8) {
15110 ecode9 = SWIG_AsVal_int(obj8, &val9);
15111 if (!SWIG_IsOK(ecode9)) {
15112 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15113 }
15114 arg9 = static_cast< int >(val9);
15115 }
15116 if (obj9) {
d55e5bfc 15117 {
1bd55598
RD
15118 arg10 = wxString_in_helper(obj9);
15119 if (arg10 == NULL) SWIG_fail;
15120 temp10 = true;
d55e5bfc 15121 }
1bd55598
RD
15122 }
15123 {
15124 if (!wxPyCheckForApp()) SWIG_fail;
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15127 wxPyEndAllowThreads(__tstate);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 }
15130 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15131 {
15132 if (temp3)
15133 delete arg3;
15134 }
15135 {
15136 if (temp10)
15137 delete arg10;
15138 }
15139 return resultobj;
15140fail:
15141 {
15142 if (temp3)
15143 delete arg3;
15144 }
15145 {
15146 if (temp10)
15147 delete arg10;
15148 }
15149 return NULL;
d55e5bfc
RD
15150}
15151
15152
1bd55598
RD
15153SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15154 PyObject *resultobj = 0;
15155 wxSpinCtrl *result = 0 ;
15156
15157 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15158 {
15159 if (!wxPyCheckForApp()) SWIG_fail;
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (wxSpinCtrl *)new wxSpinCtrl();
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15166 return resultobj;
15167fail:
15168 return NULL;
15169}
15170
15171
15172SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = 0;
15174 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15175 wxWindow *arg2 = (wxWindow *) 0 ;
15176 int arg3 = (int) -1 ;
15177 wxString const &arg4_defvalue = wxPyEmptyString ;
15178 wxString *arg4 = (wxString *) &arg4_defvalue ;
15179 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15180 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15181 wxSize const &arg6_defvalue = wxDefaultSize ;
15182 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15183 long arg7 = (long) wxSP_ARROW_KEYS ;
15184 int arg8 = (int) 0 ;
15185 int arg9 = (int) 100 ;
15186 int arg10 = (int) 0 ;
15187 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15188 wxString *arg11 = (wxString *) &arg11_defvalue ;
15189 bool result;
15190 void *argp1 = 0 ;
15191 int res1 = 0 ;
15192 void *argp2 = 0 ;
15193 int res2 = 0 ;
15194 int val3 ;
15195 int ecode3 = 0 ;
15196 bool temp4 = false ;
15197 wxPoint temp5 ;
15198 wxSize temp6 ;
15199 long val7 ;
15200 int ecode7 = 0 ;
15201 int val8 ;
15202 int ecode8 = 0 ;
15203 int val9 ;
15204 int ecode9 = 0 ;
15205 int val10 ;
15206 int ecode10 = 0 ;
15207 bool temp11 = false ;
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj1 = 0 ;
15210 PyObject * obj2 = 0 ;
15211 PyObject * obj3 = 0 ;
15212 PyObject * obj4 = 0 ;
15213 PyObject * obj5 = 0 ;
15214 PyObject * obj6 = 0 ;
15215 PyObject * obj7 = 0 ;
15216 PyObject * obj8 = 0 ;
15217 PyObject * obj9 = 0 ;
15218 PyObject * obj10 = 0 ;
15219 char * kwnames[] = {
15220 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15221 };
15222
15223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15225 if (!SWIG_IsOK(res1)) {
15226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15227 }
15228 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15230 if (!SWIG_IsOK(res2)) {
15231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15232 }
15233 arg2 = reinterpret_cast< wxWindow * >(argp2);
15234 if (obj2) {
15235 ecode3 = SWIG_AsVal_int(obj2, &val3);
15236 if (!SWIG_IsOK(ecode3)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15238 }
15239 arg3 = static_cast< int >(val3);
15240 }
15241 if (obj3) {
36ed4f51 15242 {
1bd55598
RD
15243 arg4 = wxString_in_helper(obj3);
15244 if (arg4 == NULL) SWIG_fail;
15245 temp4 = true;
36ed4f51 15246 }
1bd55598
RD
15247 }
15248 if (obj4) {
36ed4f51 15249 {
1bd55598
RD
15250 arg5 = &temp5;
15251 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 15252 }
1bd55598
RD
15253 }
15254 if (obj5) {
d55e5bfc 15255 {
1bd55598
RD
15256 arg6 = &temp6;
15257 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15258 }
1bd55598
RD
15259 }
15260 if (obj6) {
15261 ecode7 = SWIG_AsVal_long(obj6, &val7);
15262 if (!SWIG_IsOK(ecode7)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15264 }
15265 arg7 = static_cast< long >(val7);
15266 }
15267 if (obj7) {
15268 ecode8 = SWIG_AsVal_int(obj7, &val8);
15269 if (!SWIG_IsOK(ecode8)) {
15270 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15271 }
15272 arg8 = static_cast< int >(val8);
15273 }
15274 if (obj8) {
15275 ecode9 = SWIG_AsVal_int(obj8, &val9);
15276 if (!SWIG_IsOK(ecode9)) {
15277 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15278 }
15279 arg9 = static_cast< int >(val9);
15280 }
15281 if (obj9) {
15282 ecode10 = SWIG_AsVal_int(obj9, &val10);
15283 if (!SWIG_IsOK(ecode10)) {
15284 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15285 }
15286 arg10 = static_cast< int >(val10);
15287 }
15288 if (obj10) {
15289 {
15290 arg11 = wxString_in_helper(obj10);
15291 if (arg11 == NULL) SWIG_fail;
15292 temp11 = true;
15293 }
15294 }
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 {
15302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15303 }
15304 {
15305 if (temp4)
15306 delete arg4;
15307 }
15308 {
15309 if (temp11)
15310 delete arg11;
15311 }
15312 return resultobj;
15313fail:
15314 {
15315 if (temp4)
15316 delete arg4;
15317 }
15318 {
15319 if (temp11)
15320 delete arg11;
15321 }
15322 return NULL;
d55e5bfc
RD
15323}
15324
15325
1bd55598
RD
15326SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15327 PyObject *resultobj = 0;
15328 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15329 int result;
15330 void *argp1 = 0 ;
15331 int res1 = 0 ;
15332 PyObject *swig_obj[1] ;
15333
15334 if (!args) SWIG_fail;
15335 swig_obj[0] = args;
15336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15337 if (!SWIG_IsOK(res1)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15339 }
15340 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15341 {
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 resultobj = SWIG_From_int(static_cast< int >(result));
15348 return resultobj;
15349fail:
15350 return NULL;
15351}
15352
15353
15354SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj = 0;
15356 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15357 int arg2 ;
15358 void *argp1 = 0 ;
15359 int res1 = 0 ;
15360 int val2 ;
15361 int ecode2 = 0 ;
15362 PyObject * obj0 = 0 ;
15363 PyObject * obj1 = 0 ;
15364 char * kwnames[] = {
15365 (char *) "self",(char *) "value", NULL
15366 };
15367
15368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15370 if (!SWIG_IsOK(res1)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15372 }
15373 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15374 ecode2 = SWIG_AsVal_int(obj1, &val2);
15375 if (!SWIG_IsOK(ecode2)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15377 }
15378 arg2 = static_cast< int >(val2);
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 (arg1)->SetValue(arg2);
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 resultobj = SWIG_Py_Void();
15386 return resultobj;
15387fail:
15388 return NULL;
15389}
15390
15391
15392SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj = 0;
15394 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15395 wxString *arg2 = 0 ;
15396 void *argp1 = 0 ;
15397 int res1 = 0 ;
15398 bool temp2 = false ;
15399 PyObject * obj0 = 0 ;
15400 PyObject * obj1 = 0 ;
15401 char * kwnames[] = {
15402 (char *) "self",(char *) "text", NULL
15403 };
15404
15405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15407 if (!SWIG_IsOK(res1)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15409 }
15410 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15411 {
15412 arg2 = wxString_in_helper(obj1);
15413 if (arg2 == NULL) SWIG_fail;
15414 temp2 = true;
15415 }
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->SetValue((wxString const &)*arg2);
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 resultobj = SWIG_Py_Void();
15423 {
15424 if (temp2)
15425 delete arg2;
15426 }
15427 return resultobj;
15428fail:
15429 {
15430 if (temp2)
15431 delete arg2;
15432 }
15433 return NULL;
15434}
15435
15436
15437SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15438 PyObject *resultobj = 0;
15439 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15440 int arg2 ;
15441 int arg3 ;
15442 void *argp1 = 0 ;
15443 int res1 = 0 ;
15444 int val2 ;
15445 int ecode2 = 0 ;
15446 int val3 ;
15447 int ecode3 = 0 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 PyObject * obj2 = 0 ;
15451 char * kwnames[] = {
15452 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15453 };
15454
15455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15457 if (!SWIG_IsOK(res1)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15459 }
15460 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15461 ecode2 = SWIG_AsVal_int(obj1, &val2);
15462 if (!SWIG_IsOK(ecode2)) {
15463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15464 }
15465 arg2 = static_cast< int >(val2);
15466 ecode3 = SWIG_AsVal_int(obj2, &val3);
15467 if (!SWIG_IsOK(ecode3)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15469 }
15470 arg3 = static_cast< int >(val3);
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetRange(arg2,arg3);
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_Py_Void();
15478 return resultobj;
15479fail:
15480 return NULL;
d55e5bfc
RD
15481}
15482
15483
1bd55598
RD
15484SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15485 PyObject *resultobj = 0;
15486 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15487 int result;
15488 void *argp1 = 0 ;
15489 int res1 = 0 ;
15490 PyObject *swig_obj[1] ;
15491
15492 if (!args) SWIG_fail;
15493 swig_obj[0] = args;
15494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15495 if (!SWIG_IsOK(res1)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15497 }
15498 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 resultobj = SWIG_From_int(static_cast< int >(result));
15506 return resultobj;
15507fail:
15508 return NULL;
d55e5bfc
RD
15509}
15510
15511
1bd55598
RD
15512SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15513 PyObject *resultobj = 0;
15514 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15515 int result;
15516 void *argp1 = 0 ;
15517 int res1 = 0 ;
15518 PyObject *swig_obj[1] ;
15519
15520 if (!args) SWIG_fail;
15521 swig_obj[0] = args;
15522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15523 if (!SWIG_IsOK(res1)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15525 }
15526 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = SWIG_From_int(static_cast< int >(result));
15534 return resultobj;
15535fail:
15536 return NULL;
15537}
15538
15539
15540SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj = 0;
15542 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15543 long arg2 ;
15544 long arg3 ;
15545 void *argp1 = 0 ;
15546 int res1 = 0 ;
15547 long val2 ;
15548 int ecode2 = 0 ;
15549 long val3 ;
15550 int ecode3 = 0 ;
15551 PyObject * obj0 = 0 ;
15552 PyObject * obj1 = 0 ;
15553 PyObject * obj2 = 0 ;
15554 char * kwnames[] = {
2131d850 15555 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15556 };
15557
15558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15560 if (!SWIG_IsOK(res1)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15562 }
15563 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15564 ecode2 = SWIG_AsVal_long(obj1, &val2);
15565 if (!SWIG_IsOK(ecode2)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15567 }
15568 arg2 = static_cast< long >(val2);
15569 ecode3 = SWIG_AsVal_long(obj2, &val3);
15570 if (!SWIG_IsOK(ecode3)) {
15571 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15572 }
15573 arg3 = static_cast< long >(val3);
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 (arg1)->SetSelection(arg2,arg3);
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 resultobj = SWIG_Py_Void();
15581 return resultobj;
15582fail:
15583 return NULL;
15584}
15585
15586
15587SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj = 0;
15589 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15590 SwigValueWrapper<wxVisualAttributes > result;
15591 int val1 ;
15592 int ecode1 = 0 ;
15593 PyObject * obj0 = 0 ;
15594 char * kwnames[] = {
15595 (char *) "variant", NULL
15596 };
15597
15598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15599 if (obj0) {
15600 ecode1 = SWIG_AsVal_int(obj0, &val1);
15601 if (!SWIG_IsOK(ecode1)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15603 }
15604 arg1 = static_cast< wxWindowVariant >(val1);
15605 }
15606 {
15607 if (!wxPyCheckForApp()) SWIG_fail;
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15614 return resultobj;
15615fail:
15616 return NULL;
d55e5bfc
RD
15617}
15618
15619
1bd55598
RD
15620SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15621 PyObject *obj;
15622 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15623 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15624 return SWIG_Py_Void();
d55e5bfc
RD
15625}
15626
1bd55598
RD
15627SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15628 return SWIG_Python_InitShadowInstance(args);
15629}
d55e5bfc 15630
1bd55598
RD
15631SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15632 PyObject *resultobj = 0;
15633 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15634 int arg2 = (int) 0 ;
15635 wxSpinEvent *result = 0 ;
15636 int val1 ;
15637 int ecode1 = 0 ;
15638 int val2 ;
15639 int ecode2 = 0 ;
15640 PyObject * obj0 = 0 ;
15641 PyObject * obj1 = 0 ;
15642 char * kwnames[] = {
15643 (char *) "commandType",(char *) "winid", NULL
15644 };
15645
15646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15647 if (obj0) {
15648 ecode1 = SWIG_AsVal_int(obj0, &val1);
15649 if (!SWIG_IsOK(ecode1)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15651 }
15652 arg1 = static_cast< wxEventType >(val1);
15653 }
15654 if (obj1) {
15655 ecode2 = SWIG_AsVal_int(obj1, &val2);
15656 if (!SWIG_IsOK(ecode2)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15658 }
15659 arg2 = static_cast< int >(val2);
15660 }
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15668 return resultobj;
15669fail:
15670 return NULL;
d55e5bfc
RD
15671}
15672
15673
1bd55598
RD
15674SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15675 PyObject *resultobj = 0;
15676 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15677 int result;
15678 void *argp1 = 0 ;
15679 int res1 = 0 ;
15680 PyObject *swig_obj[1] ;
15681
15682 if (!args) SWIG_fail;
15683 swig_obj[0] = args;
15684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15685 if (!SWIG_IsOK(res1)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15687 }
15688 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 resultobj = SWIG_From_int(static_cast< int >(result));
15696 return resultobj;
15697fail:
15698 return NULL;
15699}
15700
15701
15702SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj = 0;
15704 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15705 int arg2 ;
15706 void *argp1 = 0 ;
15707 int res1 = 0 ;
15708 int val2 ;
15709 int ecode2 = 0 ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 char * kwnames[] = {
15713 (char *) "self",(char *) "pos", NULL
15714 };
15715
15716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15718 if (!SWIG_IsOK(res1)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15720 }
15721 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15722 ecode2 = SWIG_AsVal_int(obj1, &val2);
15723 if (!SWIG_IsOK(ecode2)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15725 }
15726 arg2 = static_cast< int >(val2);
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->SetPosition(arg2);
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 resultobj = SWIG_Py_Void();
15734 return resultobj;
15735fail:
15736 return NULL;
d55e5bfc
RD
15737}
15738
15739
1bd55598
RD
15740SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15741 PyObject *obj;
15742 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15743 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15744 return SWIG_Py_Void();
d55e5bfc
RD
15745}
15746
1bd55598
RD
15747SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15748 return SWIG_Python_InitShadowInstance(args);
15749}
d55e5bfc 15750
1bd55598
RD
15751SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15752 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
15753 return 1;
d55e5bfc
RD
15754}
15755
15756
1bd55598
RD
15757SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
15758 PyObject *pyobj = 0;
15759
15760 {
15761#if wxUSE_UNICODE
15762 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15763#else
15764 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15765#endif
15766 }
15767 return pyobj;
d55e5bfc
RD
15768}
15769
15770
1bd55598
RD
15771SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
15772 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
15773 return 1;
15774}
15775
15776
15777SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
15778 PyObject *pyobj = 0;
15779
15780 {
15781#if wxUSE_UNICODE
15782 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15783#else
15784 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15785#endif
15786 }
15787 return pyobj;
15788}
15789
15790
15791SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj = 0;
15793 wxWindow *arg1 = (wxWindow *) 0 ;
15794 int arg2 = (int) -1 ;
15795 wxString const &arg3_defvalue = wxPyEmptyString ;
15796 wxString *arg3 = (wxString *) &arg3_defvalue ;
15797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15799 wxSize const &arg5_defvalue = wxDefaultSize ;
15800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15801 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15802 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15803 int arg7 = (int) 0 ;
15804 long arg8 = (long) wxRA_HORIZONTAL ;
15805 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15806 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15807 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
15808 wxString *arg10 = (wxString *) &arg10_defvalue ;
15809 wxRadioBox *result = 0 ;
15810 void *argp1 = 0 ;
15811 int res1 = 0 ;
15812 int val2 ;
15813 int ecode2 = 0 ;
15814 bool temp3 = false ;
15815 wxPoint temp4 ;
15816 wxSize temp5 ;
15817 bool temp6 = false ;
15818 int val7 ;
15819 int ecode7 = 0 ;
15820 long val8 ;
15821 int ecode8 = 0 ;
15822 void *argp9 = 0 ;
15823 int res9 = 0 ;
15824 bool temp10 = false ;
15825 PyObject * obj0 = 0 ;
15826 PyObject * obj1 = 0 ;
15827 PyObject * obj2 = 0 ;
15828 PyObject * obj3 = 0 ;
15829 PyObject * obj4 = 0 ;
15830 PyObject * obj5 = 0 ;
15831 PyObject * obj6 = 0 ;
15832 PyObject * obj7 = 0 ;
15833 PyObject * obj8 = 0 ;
15834 PyObject * obj9 = 0 ;
15835 char * kwnames[] = {
15836 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15837 };
15838
15839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15841 if (!SWIG_IsOK(res1)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15843 }
15844 arg1 = reinterpret_cast< wxWindow * >(argp1);
15845 if (obj1) {
15846 ecode2 = SWIG_AsVal_int(obj1, &val2);
15847 if (!SWIG_IsOK(ecode2)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15849 }
15850 arg2 = static_cast< int >(val2);
15851 }
15852 if (obj2) {
36ed4f51 15853 {
1bd55598
RD
15854 arg3 = wxString_in_helper(obj2);
15855 if (arg3 == NULL) SWIG_fail;
15856 temp3 = true;
36ed4f51 15857 }
1bd55598
RD
15858 }
15859 if (obj3) {
36ed4f51 15860 {
1bd55598
RD
15861 arg4 = &temp4;
15862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15863 }
1bd55598
RD
15864 }
15865 if (obj4) {
d55e5bfc 15866 {
1bd55598
RD
15867 arg5 = &temp5;
15868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15869 }
1bd55598
RD
15870 }
15871 if (obj5) {
d55e5bfc 15872 {
1bd55598
RD
15873 if (! PySequence_Check(obj5)) {
15874 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15875 SWIG_fail;
15876 }
15877 arg6 = new wxArrayString;
15878 temp6 = true;
15879 int i, len=PySequence_Length(obj5);
15880 for (i=0; i<len; i++) {
15881 PyObject* item = PySequence_GetItem(obj5, i);
15882 wxString* s = wxString_in_helper(item);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 arg6->Add(*s);
15885 delete s;
15886 Py_DECREF(item);
15887 }
d55e5bfc 15888 }
1bd55598
RD
15889 }
15890 if (obj6) {
15891 ecode7 = SWIG_AsVal_int(obj6, &val7);
15892 if (!SWIG_IsOK(ecode7)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15894 }
15895 arg7 = static_cast< int >(val7);
15896 }
15897 if (obj7) {
15898 ecode8 = SWIG_AsVal_long(obj7, &val8);
15899 if (!SWIG_IsOK(ecode8)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15901 }
15902 arg8 = static_cast< long >(val8);
15903 }
15904 if (obj8) {
15905 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
15906 if (!SWIG_IsOK(res9)) {
15907 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 15908 }
1bd55598
RD
15909 if (!argp9) {
15910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 15911 }
1bd55598
RD
15912 arg9 = reinterpret_cast< wxValidator * >(argp9);
15913 }
15914 if (obj9) {
d55e5bfc 15915 {
1bd55598
RD
15916 arg10 = wxString_in_helper(obj9);
15917 if (arg10 == NULL) SWIG_fail;
15918 temp10 = true;
d55e5bfc 15919 }
1bd55598
RD
15920 }
15921 {
15922 if (!wxPyCheckForApp()) SWIG_fail;
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 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);
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
15929 {
15930 if (temp3)
15931 delete arg3;
15932 }
15933 {
15934 if (temp6) delete arg6;
15935 }
15936 {
15937 if (temp10)
15938 delete arg10;
15939 }
15940 return resultobj;
15941fail:
15942 {
15943 if (temp3)
15944 delete arg3;
15945 }
15946 {
15947 if (temp6) delete arg6;
15948 }
15949 {
15950 if (temp10)
15951 delete arg10;
15952 }
15953 return NULL;
d55e5bfc
RD
15954}
15955
15956
1bd55598
RD
15957SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15958 PyObject *resultobj = 0;
15959 wxRadioBox *result = 0 ;
15960
15961 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
15962 {
15963 if (!wxPyCheckForApp()) SWIG_fail;
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 result = (wxRadioBox *)new wxRadioBox();
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
15970 return resultobj;
15971fail:
15972 return NULL;
15973}
15974
15975
15976SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj = 0;
15978 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
15979 wxWindow *arg2 = (wxWindow *) 0 ;
15980 int arg3 = (int) -1 ;
15981 wxString const &arg4_defvalue = wxPyEmptyString ;
15982 wxString *arg4 = (wxString *) &arg4_defvalue ;
15983 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15984 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15985 wxSize const &arg6_defvalue = wxDefaultSize ;
15986 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15987 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
15988 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
15989 int arg8 = (int) 0 ;
15990 long arg9 = (long) wxRA_HORIZONTAL ;
15991 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15992 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15993 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
15994 wxString *arg11 = (wxString *) &arg11_defvalue ;
15995 bool result;
15996 void *argp1 = 0 ;
15997 int res1 = 0 ;
15998 void *argp2 = 0 ;
15999 int res2 = 0 ;
16000 int val3 ;
16001 int ecode3 = 0 ;
16002 bool temp4 = false ;
16003 wxPoint temp5 ;
16004 wxSize temp6 ;
16005 bool temp7 = false ;
16006 int val8 ;
16007 int ecode8 = 0 ;
16008 long val9 ;
16009 int ecode9 = 0 ;
16010 void *argp10 = 0 ;
16011 int res10 = 0 ;
16012 bool temp11 = false ;
16013 PyObject * obj0 = 0 ;
16014 PyObject * obj1 = 0 ;
16015 PyObject * obj2 = 0 ;
16016 PyObject * obj3 = 0 ;
16017 PyObject * obj4 = 0 ;
16018 PyObject * obj5 = 0 ;
16019 PyObject * obj6 = 0 ;
16020 PyObject * obj7 = 0 ;
16021 PyObject * obj8 = 0 ;
16022 PyObject * obj9 = 0 ;
16023 PyObject * obj10 = 0 ;
16024 char * kwnames[] = {
16025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16026 };
16027
16028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16032 }
16033 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16034 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16035 if (!SWIG_IsOK(res2)) {
16036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16037 }
16038 arg2 = reinterpret_cast< wxWindow * >(argp2);
16039 if (obj2) {
16040 ecode3 = SWIG_AsVal_int(obj2, &val3);
16041 if (!SWIG_IsOK(ecode3)) {
16042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16043 }
16044 arg3 = static_cast< int >(val3);
16045 }
16046 if (obj3) {
36ed4f51 16047 {
1bd55598
RD
16048 arg4 = wxString_in_helper(obj3);
16049 if (arg4 == NULL) SWIG_fail;
16050 temp4 = true;
36ed4f51 16051 }
1bd55598
RD
16052 }
16053 if (obj4) {
36ed4f51 16054 {
1bd55598
RD
16055 arg5 = &temp5;
16056 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 16057 }
1bd55598
RD
16058 }
16059 if (obj5) {
d55e5bfc 16060 {
1bd55598
RD
16061 arg6 = &temp6;
16062 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16063 }
1bd55598
RD
16064 }
16065 if (obj6) {
36ed4f51 16066 {
1bd55598
RD
16067 if (! PySequence_Check(obj6)) {
16068 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16069 SWIG_fail;
16070 }
16071 arg7 = new wxArrayString;
16072 temp7 = true;
16073 int i, len=PySequence_Length(obj6);
16074 for (i=0; i<len; i++) {
16075 PyObject* item = PySequence_GetItem(obj6, i);
16076 wxString* s = wxString_in_helper(item);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 arg7->Add(*s);
16079 delete s;
16080 Py_DECREF(item);
16081 }
36ed4f51 16082 }
1bd55598
RD
16083 }
16084 if (obj7) {
16085 ecode8 = SWIG_AsVal_int(obj7, &val8);
16086 if (!SWIG_IsOK(ecode8)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16088 }
16089 arg8 = static_cast< int >(val8);
16090 }
16091 if (obj8) {
16092 ecode9 = SWIG_AsVal_long(obj8, &val9);
16093 if (!SWIG_IsOK(ecode9)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16095 }
16096 arg9 = static_cast< long >(val9);
16097 }
16098 if (obj9) {
16099 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16100 if (!SWIG_IsOK(res10)) {
16101 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
36ed4f51 16102 }
1bd55598
RD
16103 if (!argp10) {
16104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
36ed4f51 16105 }
1bd55598
RD
16106 arg10 = reinterpret_cast< wxValidator * >(argp10);
16107 }
16108 if (obj10) {
d55e5bfc 16109 {
1bd55598
RD
16110 arg11 = wxString_in_helper(obj10);
16111 if (arg11 == NULL) SWIG_fail;
16112 temp11 = true;
d55e5bfc 16113 }
1bd55598
RD
16114 }
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 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);
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 {
16122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16123 }
16124 {
16125 if (temp4)
16126 delete arg4;
16127 }
16128 {
16129 if (temp7) delete arg7;
16130 }
16131 {
16132 if (temp11)
16133 delete arg11;
16134 }
16135 return resultobj;
16136fail:
16137 {
16138 if (temp4)
16139 delete arg4;
16140 }
16141 {
16142 if (temp7) delete arg7;
16143 }
16144 {
16145 if (temp11)
16146 delete arg11;
16147 }
16148 return NULL;
16149}
16150
16151
16152SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16153 PyObject *resultobj = 0;
16154 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16155 int arg2 ;
16156 void *argp1 = 0 ;
16157 int res1 = 0 ;
16158 int val2 ;
16159 int ecode2 = 0 ;
16160 PyObject * obj0 = 0 ;
16161 PyObject * obj1 = 0 ;
16162 char * kwnames[] = {
16163 (char *) "self",(char *) "n", NULL
16164 };
16165
16166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16168 if (!SWIG_IsOK(res1)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16170 }
16171 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16172 ecode2 = SWIG_AsVal_int(obj1, &val2);
16173 if (!SWIG_IsOK(ecode2)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16175 }
16176 arg2 = static_cast< int >(val2);
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 (arg1)->SetSelection(arg2);
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 resultobj = SWIG_Py_Void();
16184 return resultobj;
16185fail:
16186 return NULL;
d55e5bfc
RD
16187}
16188
16189
1bd55598
RD
16190SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16191 PyObject *resultobj = 0;
16192 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16193 int result;
16194 void *argp1 = 0 ;
16195 int res1 = 0 ;
16196 PyObject *swig_obj[1] ;
16197
16198 if (!args) SWIG_fail;
16199 swig_obj[0] = args;
16200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16201 if (!SWIG_IsOK(res1)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16203 }
16204 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 resultobj = SWIG_From_int(static_cast< int >(result));
16212 return resultobj;
16213fail:
16214 return NULL;
d55e5bfc
RD
16215}
16216
16217
1bd55598
RD
16218SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16219 PyObject *resultobj = 0;
16220 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16221 wxString result;
16222 void *argp1 = 0 ;
16223 int res1 = 0 ;
16224 PyObject *swig_obj[1] ;
16225
16226 if (!args) SWIG_fail;
16227 swig_obj[0] = args;
16228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16229 if (!SWIG_IsOK(res1)) {
16230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16231 }
16232 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
16239 {
16240#if wxUSE_UNICODE
16241 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16242#else
16243 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16244#endif
16245 }
16246 return resultobj;
16247fail:
16248 return NULL;
16249}
16250
16251
16252SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16253 PyObject *resultobj = 0;
16254 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16255 wxString *arg2 = 0 ;
16256 bool result;
16257 void *argp1 = 0 ;
16258 int res1 = 0 ;
16259 bool temp2 = false ;
16260 PyObject * obj0 = 0 ;
16261 PyObject * obj1 = 0 ;
16262 char * kwnames[] = {
16263 (char *) "self",(char *) "s", NULL
16264 };
16265
16266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16268 if (!SWIG_IsOK(res1)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16270 }
16271 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16272 {
16273 arg2 = wxString_in_helper(obj1);
16274 if (arg2 == NULL) SWIG_fail;
16275 temp2 = true;
16276 }
16277 {
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
16279 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 {
16284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16285 }
16286 {
16287 if (temp2)
16288 delete arg2;
16289 }
16290 return resultobj;
16291fail:
16292 {
16293 if (temp2)
16294 delete arg2;
16295 }
16296 return NULL;
4896ac9e
RD
16297}
16298
16299
1bd55598
RD
16300SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16301 PyObject *resultobj = 0;
16302 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16303 size_t result;
1bd55598
RD
16304 void *argp1 = 0 ;
16305 int res1 = 0 ;
16306 PyObject *swig_obj[1] ;
16307
16308 if (!args) SWIG_fail;
16309 swig_obj[0] = args;
16310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16311 if (!SWIG_IsOK(res1)) {
16312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16313 }
16314 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16317 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
1bd55598
RD
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
1c71765a 16321 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
1bd55598
RD
16322 return resultobj;
16323fail:
16324 return NULL;
16325}
16326
16327
16328SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj = 0;
16330 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16331 wxString *arg2 = 0 ;
16332 int result;
16333 void *argp1 = 0 ;
16334 int res1 = 0 ;
16335 bool temp2 = false ;
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 char * kwnames[] = {
16339 (char *) "self",(char *) "s", NULL
16340 };
16341
16342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16344 if (!SWIG_IsOK(res1)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16346 }
16347 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16348 {
16349 arg2 = wxString_in_helper(obj1);
16350 if (arg2 == NULL) SWIG_fail;
16351 temp2 = true;
16352 }
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 resultobj = SWIG_From_int(static_cast< int >(result));
16360 {
16361 if (temp2)
16362 delete arg2;
16363 }
16364 return resultobj;
16365fail:
16366 {
16367 if (temp2)
16368 delete arg2;
16369 }
16370 return NULL;
16371}
16372
16373
16374SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj = 0;
16376 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16377 int arg2 ;
16378 wxString result;
16379 void *argp1 = 0 ;
16380 int res1 = 0 ;
16381 int val2 ;
16382 int ecode2 = 0 ;
16383 PyObject * obj0 = 0 ;
16384 PyObject * obj1 = 0 ;
16385 char * kwnames[] = {
16386 (char *) "self",(char *) "n", NULL
16387 };
16388
16389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16391 if (!SWIG_IsOK(res1)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16393 }
16394 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16395 ecode2 = SWIG_AsVal_int(obj1, &val2);
16396 if (!SWIG_IsOK(ecode2)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16398 }
16399 arg2 = static_cast< int >(val2);
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 {
16407#if wxUSE_UNICODE
16408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16409#else
16410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16411#endif
16412 }
16413 return resultobj;
16414fail:
16415 return NULL;
16416}
16417
16418
16419SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj = 0;
16421 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16422 int arg2 ;
16423 wxString *arg3 = 0 ;
16424 void *argp1 = 0 ;
16425 int res1 = 0 ;
16426 int val2 ;
16427 int ecode2 = 0 ;
16428 bool temp3 = false ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 PyObject * obj2 = 0 ;
16432 char * kwnames[] = {
16433 (char *) "self",(char *) "n",(char *) "label", NULL
16434 };
16435
16436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16438 if (!SWIG_IsOK(res1)) {
16439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16440 }
16441 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16442 ecode2 = SWIG_AsVal_int(obj1, &val2);
16443 if (!SWIG_IsOK(ecode2)) {
16444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16445 }
16446 arg2 = static_cast< int >(val2);
16447 {
16448 arg3 = wxString_in_helper(obj2);
16449 if (arg3 == NULL) SWIG_fail;
16450 temp3 = true;
16451 }
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 (arg1)->SetString(arg2,(wxString const &)*arg3);
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 resultobj = SWIG_Py_Void();
16459 {
16460 if (temp3)
16461 delete arg3;
16462 }
16463 return resultobj;
16464fail:
16465 {
16466 if (temp3)
16467 delete arg3;
16468 }
16469 return NULL;
16470}
16471
16472
16473SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj = 0;
16475 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16476 unsigned int arg2 ;
1bd55598
RD
16477 bool arg3 = (bool) true ;
16478 void *argp1 = 0 ;
16479 int res1 = 0 ;
50f151d7 16480 unsigned int val2 ;
1bd55598
RD
16481 int ecode2 = 0 ;
16482 bool val3 ;
16483 int ecode3 = 0 ;
16484 PyObject * obj0 = 0 ;
16485 PyObject * obj1 = 0 ;
16486 PyObject * obj2 = 0 ;
16487 char * kwnames[] = {
16488 (char *) "self",(char *) "n",(char *) "enable", NULL
16489 };
16490
16491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16493 if (!SWIG_IsOK(res1)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16495 }
16496 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16497 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 16498 if (!SWIG_IsOK(ecode2)) {
50f151d7 16499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 16500 }
50f151d7 16501 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
16502 if (obj2) {
16503 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16504 if (!SWIG_IsOK(ecode3)) {
16505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16506 }
16507 arg3 = static_cast< bool >(val3);
16508 }
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 (arg1)->Enable(arg2,arg3);
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = SWIG_Py_Void();
16516 return resultobj;
16517fail:
16518 return NULL;
16519}
16520
16521
16522SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj = 0;
16524 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16525 unsigned int arg2 ;
1bd55598
RD
16526 bool arg3 = (bool) true ;
16527 void *argp1 = 0 ;
16528 int res1 = 0 ;
50f151d7 16529 unsigned int val2 ;
1bd55598
RD
16530 int ecode2 = 0 ;
16531 bool val3 ;
16532 int ecode3 = 0 ;
16533 PyObject * obj0 = 0 ;
16534 PyObject * obj1 = 0 ;
16535 PyObject * obj2 = 0 ;
16536 char * kwnames[] = {
16537 (char *) "self",(char *) "n",(char *) "show", NULL
16538 };
16539
16540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16542 if (!SWIG_IsOK(res1)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16544 }
16545 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16546 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 16547 if (!SWIG_IsOK(ecode2)) {
50f151d7 16548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 16549 }
50f151d7 16550 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
16551 if (obj2) {
16552 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16553 if (!SWIG_IsOK(ecode3)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16555 }
16556 arg3 = static_cast< bool >(val3);
16557 }
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 (arg1)->Show(arg2,arg3);
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 resultobj = SWIG_Py_Void();
16565 return resultobj;
16566fail:
16567 return NULL;
d55e5bfc
RD
16568}
16569
16570
50f151d7
RD
16571SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj = 0;
16573 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16574 unsigned int arg2 ;
16575 bool result;
16576 void *argp1 = 0 ;
16577 int res1 = 0 ;
16578 unsigned int val2 ;
16579 int ecode2 = 0 ;
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 char * kwnames[] = {
16583 (char *) "self",(char *) "n", NULL
16584 };
16585
16586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16588 if (!SWIG_IsOK(res1)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16590 }
16591 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16592 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16593 if (!SWIG_IsOK(ecode2)) {
16594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16595 }
16596 arg2 = static_cast< unsigned int >(val2);
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16605 }
16606 return resultobj;
16607fail:
16608 return NULL;
16609}
16610
16611
16612SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj = 0;
16614 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16615 unsigned int arg2 ;
16616 bool result;
16617 void *argp1 = 0 ;
16618 int res1 = 0 ;
16619 unsigned int val2 ;
16620 int ecode2 = 0 ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 char * kwnames[] = {
16624 (char *) "self",(char *) "n", NULL
16625 };
16626
16627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16629 if (!SWIG_IsOK(res1)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16631 }
16632 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16633 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16634 if (!SWIG_IsOK(ecode2)) {
16635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16636 }
16637 arg2 = static_cast< unsigned int >(val2);
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 {
16645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16646 }
16647 return resultobj;
16648fail:
16649 return NULL;
16650}
16651
16652
1bd55598
RD
16653SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16654 PyObject *resultobj = 0;
16655 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16656 unsigned int result;
1bd55598
RD
16657 void *argp1 = 0 ;
16658 int res1 = 0 ;
16659 PyObject *swig_obj[1] ;
16660
16661 if (!args) SWIG_fail;
16662 swig_obj[0] = args;
16663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16664 if (!SWIG_IsOK(res1)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16666 }
16667 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16670 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
1bd55598
RD
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
50f151d7 16674 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
16675 return resultobj;
16676fail:
16677 return NULL;
d55e5bfc
RD
16678}
16679
16680
1bd55598
RD
16681SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16682 PyObject *resultobj = 0;
16683 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16684 unsigned int result;
1bd55598
RD
16685 void *argp1 = 0 ;
16686 int res1 = 0 ;
16687 PyObject *swig_obj[1] ;
16688
16689 if (!args) SWIG_fail;
16690 swig_obj[0] = args;
16691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16692 if (!SWIG_IsOK(res1)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16694 }
16695 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16698 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
1bd55598
RD
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
50f151d7 16702 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
16703 return resultobj;
16704fail:
16705 return NULL;
16706}
16707
16708
16709SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj = 0;
16711 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16712 int arg2 ;
16713 wxDirection arg3 ;
16714 long arg4 ;
16715 int result;
16716 void *argp1 = 0 ;
16717 int res1 = 0 ;
16718 int val2 ;
16719 int ecode2 = 0 ;
16720 int val3 ;
16721 int ecode3 = 0 ;
16722 long val4 ;
16723 int ecode4 = 0 ;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 PyObject * obj2 = 0 ;
16727 PyObject * obj3 = 0 ;
16728 char * kwnames[] = {
16729 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16730 };
16731
16732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16734 if (!SWIG_IsOK(res1)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16736 }
16737 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16738 ecode2 = SWIG_AsVal_int(obj1, &val2);
16739 if (!SWIG_IsOK(ecode2)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16741 }
16742 arg2 = static_cast< int >(val2);
16743 ecode3 = SWIG_AsVal_int(obj2, &val3);
16744 if (!SWIG_IsOK(ecode3)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16746 }
16747 arg3 = static_cast< wxDirection >(val3);
16748 ecode4 = SWIG_AsVal_long(obj3, &val4);
16749 if (!SWIG_IsOK(ecode4)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16751 }
16752 arg4 = static_cast< long >(val4);
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 resultobj = SWIG_From_int(static_cast< int >(result));
16760 return resultobj;
16761fail:
16762 return NULL;
16763}
16764
16765
2131d850
RD
16766SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj = 0;
16768 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16769 unsigned int arg2 ;
16770 wxString *arg3 = 0 ;
16771 void *argp1 = 0 ;
16772 int res1 = 0 ;
16773 unsigned int val2 ;
16774 int ecode2 = 0 ;
16775 bool temp3 = false ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 PyObject * obj2 = 0 ;
16779 char * kwnames[] = {
16780 (char *) "self",(char *) "item",(char *) "text", NULL
16781 };
16782
16783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16785 if (!SWIG_IsOK(res1)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16787 }
16788 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16789 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16790 if (!SWIG_IsOK(ecode2)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16792 }
16793 arg2 = static_cast< unsigned int >(val2);
16794 {
16795 arg3 = wxString_in_helper(obj2);
16796 if (arg3 == NULL) SWIG_fail;
16797 temp3 = true;
16798 }
16799 {
16800 PyThreadState* __tstate = wxPyBeginAllowThreads();
16801 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = SWIG_Py_Void();
16806 {
16807 if (temp3)
16808 delete arg3;
16809 }
16810 return resultobj;
16811fail:
16812 {
16813 if (temp3)
16814 delete arg3;
16815 }
16816 return NULL;
16817}
16818
16819
16820SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj = 0;
16822 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16823 unsigned int arg2 ;
16824 wxToolTip *result = 0 ;
16825 void *argp1 = 0 ;
16826 int res1 = 0 ;
16827 unsigned int val2 ;
16828 int ecode2 = 0 ;
16829 PyObject * obj0 = 0 ;
16830 PyObject * obj1 = 0 ;
16831 char * kwnames[] = {
16832 (char *) "self",(char *) "item", NULL
16833 };
16834
16835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
16836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16837 if (!SWIG_IsOK(res1)) {
16838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16839 }
16840 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16841 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16842 if (!SWIG_IsOK(ecode2)) {
16843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16844 }
16845 arg2 = static_cast< unsigned int >(val2);
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 {
16853 resultobj = wxPyMake_wxObject(result, (bool)0);
16854 }
16855 return resultobj;
16856fail:
16857 return NULL;
16858}
16859
16860
b850e7f3
RD
16861SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj = 0;
16863 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16864 unsigned int arg2 ;
16865 wxString *arg3 = 0 ;
16866 void *argp1 = 0 ;
16867 int res1 = 0 ;
16868 unsigned int val2 ;
16869 int ecode2 = 0 ;
16870 bool temp3 = false ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 PyObject * obj2 = 0 ;
16874 char * kwnames[] = {
16875 (char *) "self",(char *) "n",(char *) "helpText", NULL
16876 };
16877
16878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16880 if (!SWIG_IsOK(res1)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16882 }
16883 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16884 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16885 if (!SWIG_IsOK(ecode2)) {
16886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16887 }
16888 arg2 = static_cast< unsigned int >(val2);
16889 {
16890 arg3 = wxString_in_helper(obj2);
16891 if (arg3 == NULL) SWIG_fail;
16892 temp3 = true;
16893 }
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 resultobj = SWIG_Py_Void();
16901 {
16902 if (temp3)
16903 delete arg3;
16904 }
16905 return resultobj;
16906fail:
16907 {
16908 if (temp3)
16909 delete arg3;
16910 }
16911 return NULL;
16912}
16913
16914
16915SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj = 0;
16917 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16918 unsigned int arg2 ;
16919 wxString result;
16920 void *argp1 = 0 ;
16921 int res1 = 0 ;
16922 unsigned int val2 ;
16923 int ecode2 = 0 ;
16924 PyObject * obj0 = 0 ;
16925 PyObject * obj1 = 0 ;
16926 char * kwnames[] = {
16927 (char *) "self",(char *) "n", NULL
16928 };
16929
16930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
16931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16932 if (!SWIG_IsOK(res1)) {
16933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16934 }
16935 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16936 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16937 if (!SWIG_IsOK(ecode2)) {
16938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16939 }
16940 arg2 = static_cast< unsigned int >(val2);
16941 {
16942 PyThreadState* __tstate = wxPyBeginAllowThreads();
16943 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 {
16948#if wxUSE_UNICODE
16949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16950#else
16951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16952#endif
16953 }
16954 return resultobj;
16955fail:
16956 return NULL;
16957}
16958
16959
1bd55598
RD
16960SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj = 0;
16962 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16963 SwigValueWrapper<wxVisualAttributes > result;
16964 int val1 ;
16965 int ecode1 = 0 ;
16966 PyObject * obj0 = 0 ;
16967 char * kwnames[] = {
16968 (char *) "variant", NULL
16969 };
16970
16971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
16972 if (obj0) {
16973 ecode1 = SWIG_AsVal_int(obj0, &val1);
16974 if (!SWIG_IsOK(ecode1)) {
16975 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16976 }
16977 arg1 = static_cast< wxWindowVariant >(val1);
16978 }
16979 {
16980 if (!wxPyCheckForApp()) SWIG_fail;
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = wxRadioBox::GetClassDefaultAttributes(arg1);
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
16987 return resultobj;
16988fail:
16989 return NULL;
16990}
16991
16992
16993SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16994 PyObject *obj;
16995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16996 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
16997 return SWIG_Py_Void();
16998}
16999
17000SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17001 return SWIG_Python_InitShadowInstance(args);
17002}
17003
17004SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17005 PyObject *resultobj = 0;
17006 wxWindow *arg1 = (wxWindow *) 0 ;
17007 int arg2 = (int) -1 ;
17008 wxString const &arg3_defvalue = wxPyEmptyString ;
17009 wxString *arg3 = (wxString *) &arg3_defvalue ;
17010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17012 wxSize const &arg5_defvalue = wxDefaultSize ;
17013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17014 long arg6 = (long) 0 ;
17015 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17016 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17017 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17018 wxString *arg8 = (wxString *) &arg8_defvalue ;
17019 wxRadioButton *result = 0 ;
17020 void *argp1 = 0 ;
17021 int res1 = 0 ;
17022 int val2 ;
17023 int ecode2 = 0 ;
17024 bool temp3 = false ;
17025 wxPoint temp4 ;
17026 wxSize temp5 ;
17027 long val6 ;
17028 int ecode6 = 0 ;
17029 void *argp7 = 0 ;
17030 int res7 = 0 ;
17031 bool temp8 = false ;
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 PyObject * obj2 = 0 ;
17035 PyObject * obj3 = 0 ;
17036 PyObject * obj4 = 0 ;
17037 PyObject * obj5 = 0 ;
17038 PyObject * obj6 = 0 ;
17039 PyObject * obj7 = 0 ;
17040 char * kwnames[] = {
17041 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17042 };
17043
17044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17046 if (!SWIG_IsOK(res1)) {
17047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17048 }
17049 arg1 = reinterpret_cast< wxWindow * >(argp1);
17050 if (obj1) {
17051 ecode2 = SWIG_AsVal_int(obj1, &val2);
17052 if (!SWIG_IsOK(ecode2)) {
17053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17054 }
17055 arg2 = static_cast< int >(val2);
17056 }
17057 if (obj2) {
d55e5bfc 17058 {
1bd55598
RD
17059 arg3 = wxString_in_helper(obj2);
17060 if (arg3 == NULL) SWIG_fail;
17061 temp3 = true;
d55e5bfc 17062 }
1bd55598
RD
17063 }
17064 if (obj3) {
d55e5bfc 17065 {
1bd55598
RD
17066 arg4 = &temp4;
17067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17068 }
1bd55598
RD
17069 }
17070 if (obj4) {
d55e5bfc 17071 {
1bd55598
RD
17072 arg5 = &temp5;
17073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17074 }
1bd55598
RD
17075 }
17076 if (obj5) {
17077 ecode6 = SWIG_AsVal_long(obj5, &val6);
17078 if (!SWIG_IsOK(ecode6)) {
17079 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17080 }
17081 arg6 = static_cast< long >(val6);
17082 }
17083 if (obj6) {
17084 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17085 if (!SWIG_IsOK(res7)) {
17086 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17087 }
1bd55598
RD
17088 if (!argp7) {
17089 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17090 }
17091 arg7 = reinterpret_cast< wxValidator * >(argp7);
17092 }
17093 if (obj7) {
d55e5bfc 17094 {
1bd55598
RD
17095 arg8 = wxString_in_helper(obj7);
17096 if (arg8 == NULL) SWIG_fail;
17097 temp8 = true;
d55e5bfc 17098 }
1bd55598
RD
17099 }
17100 {
17101 if (!wxPyCheckForApp()) SWIG_fail;
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17108 {
17109 if (temp3)
17110 delete arg3;
17111 }
17112 {
17113 if (temp8)
17114 delete arg8;
17115 }
17116 return resultobj;
17117fail:
17118 {
17119 if (temp3)
17120 delete arg3;
17121 }
17122 {
17123 if (temp8)
17124 delete arg8;
17125 }
17126 return NULL;
d55e5bfc
RD
17127}
17128
17129
1bd55598
RD
17130SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17131 PyObject *resultobj = 0;
17132 wxRadioButton *result = 0 ;
17133
17134 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17135 {
17136 if (!wxPyCheckForApp()) SWIG_fail;
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 result = (wxRadioButton *)new wxRadioButton();
17139 wxPyEndAllowThreads(__tstate);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17143 return resultobj;
17144fail:
17145 return NULL;
17146}
17147
17148
17149SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj = 0;
17151 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17152 wxWindow *arg2 = (wxWindow *) 0 ;
17153 int arg3 = (int) -1 ;
17154 wxString const &arg4_defvalue = wxPyEmptyString ;
17155 wxString *arg4 = (wxString *) &arg4_defvalue ;
17156 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17157 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17158 wxSize const &arg6_defvalue = wxDefaultSize ;
17159 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17160 long arg7 = (long) 0 ;
17161 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17162 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17163 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17164 wxString *arg9 = (wxString *) &arg9_defvalue ;
17165 bool result;
17166 void *argp1 = 0 ;
17167 int res1 = 0 ;
17168 void *argp2 = 0 ;
17169 int res2 = 0 ;
17170 int val3 ;
17171 int ecode3 = 0 ;
17172 bool temp4 = false ;
17173 wxPoint temp5 ;
17174 wxSize temp6 ;
17175 long val7 ;
17176 int ecode7 = 0 ;
17177 void *argp8 = 0 ;
17178 int res8 = 0 ;
17179 bool temp9 = 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 PyObject * obj8 = 0 ;
17189 char * kwnames[] = {
17190 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17191 };
17192
17193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17195 if (!SWIG_IsOK(res1)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17197 }
17198 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17200 if (!SWIG_IsOK(res2)) {
17201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17202 }
17203 arg2 = reinterpret_cast< wxWindow * >(argp2);
17204 if (obj2) {
17205 ecode3 = SWIG_AsVal_int(obj2, &val3);
17206 if (!SWIG_IsOK(ecode3)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17208 }
17209 arg3 = static_cast< int >(val3);
17210 }
17211 if (obj3) {
d55e5bfc 17212 {
1bd55598
RD
17213 arg4 = wxString_in_helper(obj3);
17214 if (arg4 == NULL) SWIG_fail;
17215 temp4 = true;
d55e5bfc 17216 }
1bd55598
RD
17217 }
17218 if (obj4) {
d55e5bfc 17219 {
1bd55598
RD
17220 arg5 = &temp5;
17221 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17222 }
1bd55598
RD
17223 }
17224 if (obj5) {
d55e5bfc 17225 {
1bd55598
RD
17226 arg6 = &temp6;
17227 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17228 }
1bd55598
RD
17229 }
17230 if (obj6) {
17231 ecode7 = SWIG_AsVal_long(obj6, &val7);
17232 if (!SWIG_IsOK(ecode7)) {
17233 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17234 }
17235 arg7 = static_cast< long >(val7);
17236 }
17237 if (obj7) {
17238 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17239 if (!SWIG_IsOK(res8)) {
17240 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17241 }
1bd55598
RD
17242 if (!argp8) {
17243 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17244 }
1bd55598
RD
17245 arg8 = reinterpret_cast< wxValidator * >(argp8);
17246 }
17247 if (obj8) {
d55e5bfc 17248 {
1bd55598
RD
17249 arg9 = wxString_in_helper(obj8);
17250 if (arg9 == NULL) SWIG_fail;
17251 temp9 = true;
d55e5bfc 17252 }
1bd55598
RD
17253 }
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17262 }
17263 {
17264 if (temp4)
17265 delete arg4;
17266 }
17267 {
17268 if (temp9)
17269 delete arg9;
17270 }
17271 return resultobj;
17272fail:
17273 {
17274 if (temp4)
17275 delete arg4;
17276 }
17277 {
17278 if (temp9)
17279 delete arg9;
17280 }
17281 return NULL;
d55e5bfc
RD
17282}
17283
17284
1bd55598
RD
17285SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17286 PyObject *resultobj = 0;
17287 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17288 bool result;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 PyObject *swig_obj[1] ;
17292
17293 if (!args) SWIG_fail;
17294 swig_obj[0] = args;
17295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17296 if (!SWIG_IsOK(res1)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17298 }
17299 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (bool)(arg1)->GetValue();
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 {
17307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17308 }
17309 return resultobj;
17310fail:
17311 return NULL;
17312}
17313
17314
17315SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17316 PyObject *resultobj = 0;
17317 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17318 bool arg2 ;
17319 void *argp1 = 0 ;
17320 int res1 = 0 ;
17321 bool val2 ;
17322 int ecode2 = 0 ;
17323 PyObject * obj0 = 0 ;
17324 PyObject * obj1 = 0 ;
17325 char * kwnames[] = {
17326 (char *) "self",(char *) "value", NULL
17327 };
17328
17329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17331 if (!SWIG_IsOK(res1)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17333 }
17334 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17336 if (!SWIG_IsOK(ecode2)) {
17337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17338 }
17339 arg2 = static_cast< bool >(val2);
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 (arg1)->SetValue(arg2);
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = SWIG_Py_Void();
17347 return resultobj;
17348fail:
17349 return NULL;
17350}
17351
17352
17353SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj = 0;
17355 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17356 SwigValueWrapper<wxVisualAttributes > result;
17357 int val1 ;
17358 int ecode1 = 0 ;
17359 PyObject * obj0 = 0 ;
17360 char * kwnames[] = {
17361 (char *) "variant", NULL
17362 };
17363
17364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17365 if (obj0) {
17366 ecode1 = SWIG_AsVal_int(obj0, &val1);
17367 if (!SWIG_IsOK(ecode1)) {
17368 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17369 }
17370 arg1 = static_cast< wxWindowVariant >(val1);
17371 }
17372 {
17373 if (!wxPyCheckForApp()) SWIG_fail;
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17380 return resultobj;
17381fail:
17382 return NULL;
d55e5bfc
RD
17383}
17384
17385
1bd55598
RD
17386SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17387 PyObject *obj;
17388 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17389 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17390 return SWIG_Py_Void();
d55e5bfc
RD
17391}
17392
1bd55598
RD
17393SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17394 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
17395}
17396
1bd55598
RD
17397SWIGINTERN int SliderNameStr_set(PyObject *) {
17398 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17399 return 1;
d55e5bfc
RD
17400}
17401
17402
1bd55598
RD
17403SWIGINTERN PyObject *SliderNameStr_get(void) {
17404 PyObject *pyobj = 0;
17405
17406 {
17407#if wxUSE_UNICODE
17408 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17409#else
17410 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17411#endif
17412 }
17413 return pyobj;
17414}
17415
17416
17417SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj = 0;
17419 wxWindow *arg1 = (wxWindow *) 0 ;
17420 int arg2 = (int) -1 ;
17421 int arg3 = (int) 0 ;
17422 int arg4 = (int) 0 ;
17423 int arg5 = (int) 100 ;
17424 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17425 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17426 wxSize const &arg7_defvalue = wxDefaultSize ;
17427 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17428 long arg8 = (long) wxSL_HORIZONTAL ;
17429 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17430 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17431 wxString const &arg10_defvalue = wxPySliderNameStr ;
17432 wxString *arg10 = (wxString *) &arg10_defvalue ;
17433 wxSlider *result = 0 ;
17434 void *argp1 = 0 ;
17435 int res1 = 0 ;
17436 int val2 ;
17437 int ecode2 = 0 ;
17438 int val3 ;
17439 int ecode3 = 0 ;
17440 int val4 ;
17441 int ecode4 = 0 ;
17442 int val5 ;
17443 int ecode5 = 0 ;
17444 wxPoint temp6 ;
17445 wxSize temp7 ;
17446 long val8 ;
17447 int ecode8 = 0 ;
17448 void *argp9 = 0 ;
17449 int res9 = 0 ;
17450 bool temp10 = false ;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 PyObject * obj2 = 0 ;
17454 PyObject * obj3 = 0 ;
17455 PyObject * obj4 = 0 ;
17456 PyObject * obj5 = 0 ;
17457 PyObject * obj6 = 0 ;
17458 PyObject * obj7 = 0 ;
17459 PyObject * obj8 = 0 ;
17460 PyObject * obj9 = 0 ;
17461 char * kwnames[] = {
17462 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17463 };
17464
17465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17467 if (!SWIG_IsOK(res1)) {
17468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17469 }
17470 arg1 = reinterpret_cast< wxWindow * >(argp1);
17471 if (obj1) {
17472 ecode2 = SWIG_AsVal_int(obj1, &val2);
17473 if (!SWIG_IsOK(ecode2)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17475 }
17476 arg2 = static_cast< int >(val2);
17477 }
17478 if (obj2) {
17479 ecode3 = SWIG_AsVal_int(obj2, &val3);
17480 if (!SWIG_IsOK(ecode3)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17482 }
17483 arg3 = static_cast< int >(val3);
17484 }
17485 if (obj3) {
17486 ecode4 = SWIG_AsVal_int(obj3, &val4);
17487 if (!SWIG_IsOK(ecode4)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17489 }
17490 arg4 = static_cast< int >(val4);
17491 }
17492 if (obj4) {
17493 ecode5 = SWIG_AsVal_int(obj4, &val5);
17494 if (!SWIG_IsOK(ecode5)) {
17495 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17496 }
17497 arg5 = static_cast< int >(val5);
17498 }
17499 if (obj5) {
36ed4f51 17500 {
1bd55598
RD
17501 arg6 = &temp6;
17502 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
36ed4f51 17503 }
1bd55598
RD
17504 }
17505 if (obj6) {
36ed4f51 17506 {
1bd55598
RD
17507 arg7 = &temp7;
17508 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
36ed4f51 17509 }
1bd55598
RD
17510 }
17511 if (obj7) {
17512 ecode8 = SWIG_AsVal_long(obj7, &val8);
17513 if (!SWIG_IsOK(ecode8)) {
17514 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17515 }
17516 arg8 = static_cast< long >(val8);
17517 }
17518 if (obj8) {
17519 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17520 if (!SWIG_IsOK(res9)) {
17521 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
36ed4f51 17522 }
1bd55598
RD
17523 if (!argp9) {
17524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 17525 }
1bd55598
RD
17526 arg9 = reinterpret_cast< wxValidator * >(argp9);
17527 }
17528 if (obj9) {
d55e5bfc 17529 {
1bd55598
RD
17530 arg10 = wxString_in_helper(obj9);
17531 if (arg10 == NULL) SWIG_fail;
17532 temp10 = true;
d55e5bfc 17533 }
1bd55598
RD
17534 }
17535 {
17536 if (!wxPyCheckForApp()) SWIG_fail;
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17543 {
17544 if (temp10)
17545 delete arg10;
17546 }
17547 return resultobj;
17548fail:
17549 {
17550 if (temp10)
17551 delete arg10;
17552 }
17553 return NULL;
d55e5bfc
RD
17554}
17555
17556
1bd55598
RD
17557SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17558 PyObject *resultobj = 0;
17559 wxSlider *result = 0 ;
17560
17561 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17562 {
17563 if (!wxPyCheckForApp()) SWIG_fail;
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (wxSlider *)new wxSlider();
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17570 return resultobj;
17571fail:
17572 return NULL;
17573}
17574
17575
17576SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj = 0;
17578 wxSlider *arg1 = (wxSlider *) 0 ;
17579 wxWindow *arg2 = (wxWindow *) 0 ;
17580 int arg3 = (int) -1 ;
17581 int arg4 = (int) 0 ;
17582 int arg5 = (int) 0 ;
17583 int arg6 = (int) 100 ;
17584 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17585 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17586 wxSize const &arg8_defvalue = wxDefaultSize ;
17587 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17588 long arg9 = (long) wxSL_HORIZONTAL ;
17589 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17590 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17591 wxString const &arg11_defvalue = wxPySliderNameStr ;
17592 wxString *arg11 = (wxString *) &arg11_defvalue ;
17593 bool result;
17594 void *argp1 = 0 ;
17595 int res1 = 0 ;
17596 void *argp2 = 0 ;
17597 int res2 = 0 ;
17598 int val3 ;
17599 int ecode3 = 0 ;
17600 int val4 ;
17601 int ecode4 = 0 ;
17602 int val5 ;
17603 int ecode5 = 0 ;
17604 int val6 ;
17605 int ecode6 = 0 ;
17606 wxPoint temp7 ;
17607 wxSize temp8 ;
17608 long val9 ;
17609 int ecode9 = 0 ;
17610 void *argp10 = 0 ;
17611 int res10 = 0 ;
17612 bool temp11 = false ;
17613 PyObject * obj0 = 0 ;
17614 PyObject * obj1 = 0 ;
17615 PyObject * obj2 = 0 ;
17616 PyObject * obj3 = 0 ;
17617 PyObject * obj4 = 0 ;
17618 PyObject * obj5 = 0 ;
17619 PyObject * obj6 = 0 ;
17620 PyObject * obj7 = 0 ;
17621 PyObject * obj8 = 0 ;
17622 PyObject * obj9 = 0 ;
17623 PyObject * obj10 = 0 ;
17624 char * kwnames[] = {
17625 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17626 };
17627
17628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17630 if (!SWIG_IsOK(res1)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17632 }
17633 arg1 = reinterpret_cast< wxSlider * >(argp1);
17634 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17635 if (!SWIG_IsOK(res2)) {
17636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17637 }
17638 arg2 = reinterpret_cast< wxWindow * >(argp2);
17639 if (obj2) {
17640 ecode3 = SWIG_AsVal_int(obj2, &val3);
17641 if (!SWIG_IsOK(ecode3)) {
17642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17643 }
17644 arg3 = static_cast< int >(val3);
17645 }
17646 if (obj3) {
17647 ecode4 = SWIG_AsVal_int(obj3, &val4);
17648 if (!SWIG_IsOK(ecode4)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17650 }
17651 arg4 = static_cast< int >(val4);
17652 }
17653 if (obj4) {
17654 ecode5 = SWIG_AsVal_int(obj4, &val5);
17655 if (!SWIG_IsOK(ecode5)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17657 }
17658 arg5 = static_cast< int >(val5);
17659 }
17660 if (obj5) {
17661 ecode6 = SWIG_AsVal_int(obj5, &val6);
17662 if (!SWIG_IsOK(ecode6)) {
17663 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17664 }
17665 arg6 = static_cast< int >(val6);
17666 }
17667 if (obj6) {
d55e5bfc 17668 {
1bd55598
RD
17669 arg7 = &temp7;
17670 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17671 }
1bd55598
RD
17672 }
17673 if (obj7) {
d55e5bfc 17674 {
1bd55598
RD
17675 arg8 = &temp8;
17676 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
d55e5bfc 17677 }
1bd55598
RD
17678 }
17679 if (obj8) {
17680 ecode9 = SWIG_AsVal_long(obj8, &val9);
17681 if (!SWIG_IsOK(ecode9)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17683 }
17684 arg9 = static_cast< long >(val9);
17685 }
17686 if (obj9) {
17687 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17688 if (!SWIG_IsOK(res10)) {
17689 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 17690 }
1bd55598
RD
17691 if (!argp10) {
17692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 17693 }
1bd55598
RD
17694 arg10 = reinterpret_cast< wxValidator * >(argp10);
17695 }
17696 if (obj10) {
d55e5bfc 17697 {
1bd55598
RD
17698 arg11 = wxString_in_helper(obj10);
17699 if (arg11 == NULL) SWIG_fail;
17700 temp11 = true;
d55e5bfc 17701 }
1bd55598
RD
17702 }
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 {
17710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17711 }
17712 {
17713 if (temp11)
17714 delete arg11;
17715 }
17716 return resultobj;
17717fail:
17718 {
17719 if (temp11)
17720 delete arg11;
17721 }
17722 return NULL;
d55e5bfc
RD
17723}
17724
17725
1bd55598
RD
17726SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17727 PyObject *resultobj = 0;
17728 wxSlider *arg1 = (wxSlider *) 0 ;
17729 int result;
17730 void *argp1 = 0 ;
17731 int res1 = 0 ;
17732 PyObject *swig_obj[1] ;
17733
17734 if (!args) SWIG_fail;
17735 swig_obj[0] = args;
17736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17737 if (!SWIG_IsOK(res1)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17739 }
17740 arg1 = reinterpret_cast< wxSlider * >(argp1);
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = (int)((wxSlider const *)arg1)->GetValue();
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 resultobj = SWIG_From_int(static_cast< int >(result));
17748 return resultobj;
17749fail:
17750 return NULL;
17751}
17752
17753
17754SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj = 0;
17756 wxSlider *arg1 = (wxSlider *) 0 ;
17757 int arg2 ;
17758 void *argp1 = 0 ;
17759 int res1 = 0 ;
17760 int val2 ;
17761 int ecode2 = 0 ;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 char * kwnames[] = {
17765 (char *) "self",(char *) "value", NULL
17766 };
17767
17768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17770 if (!SWIG_IsOK(res1)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17772 }
17773 arg1 = reinterpret_cast< wxSlider * >(argp1);
17774 ecode2 = SWIG_AsVal_int(obj1, &val2);
17775 if (!SWIG_IsOK(ecode2)) {
17776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17777 }
17778 arg2 = static_cast< int >(val2);
17779 {
17780 PyThreadState* __tstate = wxPyBeginAllowThreads();
17781 (arg1)->SetValue(arg2);
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 resultobj = SWIG_Py_Void();
17786 return resultobj;
17787fail:
17788 return NULL;
17789}
17790
17791
17792SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj = 0;
17794 wxSlider *arg1 = (wxSlider *) 0 ;
17795 int arg2 ;
17796 int arg3 ;
17797 void *argp1 = 0 ;
17798 int res1 = 0 ;
17799 int val2 ;
17800 int ecode2 = 0 ;
17801 int val3 ;
17802 int ecode3 = 0 ;
17803 PyObject * obj0 = 0 ;
17804 PyObject * obj1 = 0 ;
17805 PyObject * obj2 = 0 ;
17806 char * kwnames[] = {
17807 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17808 };
17809
17810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17812 if (!SWIG_IsOK(res1)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17814 }
17815 arg1 = reinterpret_cast< wxSlider * >(argp1);
17816 ecode2 = SWIG_AsVal_int(obj1, &val2);
17817 if (!SWIG_IsOK(ecode2)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17819 }
17820 arg2 = static_cast< int >(val2);
17821 ecode3 = SWIG_AsVal_int(obj2, &val3);
17822 if (!SWIG_IsOK(ecode3)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17824 }
17825 arg3 = static_cast< int >(val3);
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 (arg1)->SetRange(arg2,arg3);
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_Py_Void();
17833 return resultobj;
17834fail:
17835 return NULL;
d55e5bfc
RD
17836}
17837
17838
1bd55598
RD
17839SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17840 PyObject *resultobj = 0;
17841 wxSlider *arg1 = (wxSlider *) 0 ;
17842 int result;
17843 void *argp1 = 0 ;
17844 int res1 = 0 ;
17845 PyObject *swig_obj[1] ;
17846
17847 if (!args) SWIG_fail;
17848 swig_obj[0] = args;
17849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17850 if (!SWIG_IsOK(res1)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17852 }
17853 arg1 = reinterpret_cast< wxSlider * >(argp1);
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 result = (int)((wxSlider const *)arg1)->GetMin();
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = SWIG_From_int(static_cast< int >(result));
17861 return resultobj;
17862fail:
17863 return NULL;
f20a2e1f
RD
17864}
17865
17866
1bd55598
RD
17867SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17868 PyObject *resultobj = 0;
17869 wxSlider *arg1 = (wxSlider *) 0 ;
17870 int result;
17871 void *argp1 = 0 ;
17872 int res1 = 0 ;
17873 PyObject *swig_obj[1] ;
17874
17875 if (!args) SWIG_fail;
17876 swig_obj[0] = args;
17877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17878 if (!SWIG_IsOK(res1)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17880 }
17881 arg1 = reinterpret_cast< wxSlider * >(argp1);
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 result = (int)((wxSlider const *)arg1)->GetMax();
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 resultobj = SWIG_From_int(static_cast< int >(result));
17889 return resultobj;
17890fail:
17891 return NULL;
17892}
17893
17894
17895SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj = 0;
17897 wxSlider *arg1 = (wxSlider *) 0 ;
17898 int arg2 ;
17899 void *argp1 = 0 ;
17900 int res1 = 0 ;
17901 int val2 ;
17902 int ecode2 = 0 ;
17903 PyObject * obj0 = 0 ;
17904 PyObject * obj1 = 0 ;
17905 char * kwnames[] = {
17906 (char *) "self",(char *) "minValue", NULL
17907 };
17908
17909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
17910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17911 if (!SWIG_IsOK(res1)) {
17912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17913 }
17914 arg1 = reinterpret_cast< wxSlider * >(argp1);
17915 ecode2 = SWIG_AsVal_int(obj1, &val2);
17916 if (!SWIG_IsOK(ecode2)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17918 }
17919 arg2 = static_cast< int >(val2);
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 (arg1)->SetMin(arg2);
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = SWIG_Py_Void();
17927 return resultobj;
17928fail:
17929 return NULL;
17930}
17931
17932
17933SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj = 0;
17935 wxSlider *arg1 = (wxSlider *) 0 ;
17936 int arg2 ;
17937 void *argp1 = 0 ;
17938 int res1 = 0 ;
17939 int val2 ;
17940 int ecode2 = 0 ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char * kwnames[] = {
17944 (char *) "self",(char *) "maxValue", NULL
17945 };
17946
17947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
17948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17951 }
17952 arg1 = reinterpret_cast< wxSlider * >(argp1);
17953 ecode2 = SWIG_AsVal_int(obj1, &val2);
17954 if (!SWIG_IsOK(ecode2)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17956 }
17957 arg2 = static_cast< int >(val2);
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 (arg1)->SetMax(arg2);
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 resultobj = SWIG_Py_Void();
17965 return resultobj;
17966fail:
17967 return NULL;
17968}
17969
17970
17971SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17972 PyObject *resultobj = 0;
17973 wxSlider *arg1 = (wxSlider *) 0 ;
17974 int arg2 ;
17975 void *argp1 = 0 ;
17976 int res1 = 0 ;
17977 int val2 ;
17978 int ecode2 = 0 ;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 char * kwnames[] = {
17982 (char *) "self",(char *) "lineSize", NULL
17983 };
17984
17985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
17986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17987 if (!SWIG_IsOK(res1)) {
17988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17989 }
17990 arg1 = reinterpret_cast< wxSlider * >(argp1);
17991 ecode2 = SWIG_AsVal_int(obj1, &val2);
17992 if (!SWIG_IsOK(ecode2)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17994 }
17995 arg2 = static_cast< int >(val2);
17996 {
17997 PyThreadState* __tstate = wxPyBeginAllowThreads();
17998 (arg1)->SetLineSize(arg2);
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = SWIG_Py_Void();
18003 return resultobj;
18004fail:
18005 return NULL;
18006}
18007
18008
18009SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj = 0;
18011 wxSlider *arg1 = (wxSlider *) 0 ;
18012 int arg2 ;
18013 void *argp1 = 0 ;
18014 int res1 = 0 ;
18015 int val2 ;
18016 int ecode2 = 0 ;
18017 PyObject * obj0 = 0 ;
18018 PyObject * obj1 = 0 ;
18019 char * kwnames[] = {
18020 (char *) "self",(char *) "pageSize", NULL
18021 };
18022
18023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18025 if (!SWIG_IsOK(res1)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18027 }
18028 arg1 = reinterpret_cast< wxSlider * >(argp1);
18029 ecode2 = SWIG_AsVal_int(obj1, &val2);
18030 if (!SWIG_IsOK(ecode2)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18032 }
18033 arg2 = static_cast< int >(val2);
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 (arg1)->SetPageSize(arg2);
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 resultobj = SWIG_Py_Void();
18041 return resultobj;
18042fail:
18043 return NULL;
d55e5bfc
RD
18044}
18045
18046
1bd55598
RD
18047SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18048 PyObject *resultobj = 0;
18049 wxSlider *arg1 = (wxSlider *) 0 ;
18050 int result;
18051 void *argp1 = 0 ;
18052 int res1 = 0 ;
18053 PyObject *swig_obj[1] ;
18054
18055 if (!args) SWIG_fail;
18056 swig_obj[0] = args;
18057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18058 if (!SWIG_IsOK(res1)) {
18059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18060 }
18061 arg1 = reinterpret_cast< wxSlider * >(argp1);
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 result = (int)((wxSlider const *)arg1)->GetLineSize();
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 resultobj = SWIG_From_int(static_cast< int >(result));
18069 return resultobj;
18070fail:
18071 return NULL;
d55e5bfc
RD
18072}
18073
18074
1bd55598
RD
18075SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18076 PyObject *resultobj = 0;
18077 wxSlider *arg1 = (wxSlider *) 0 ;
18078 int result;
18079 void *argp1 = 0 ;
18080 int res1 = 0 ;
18081 PyObject *swig_obj[1] ;
18082
18083 if (!args) SWIG_fail;
18084 swig_obj[0] = args;
18085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18086 if (!SWIG_IsOK(res1)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18088 }
18089 arg1 = reinterpret_cast< wxSlider * >(argp1);
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (int)((wxSlider const *)arg1)->GetPageSize();
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 resultobj = SWIG_From_int(static_cast< int >(result));
18097 return resultobj;
18098fail:
18099 return NULL;
18100}
18101
18102
18103SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj = 0;
18105 wxSlider *arg1 = (wxSlider *) 0 ;
18106 int arg2 ;
18107 void *argp1 = 0 ;
18108 int res1 = 0 ;
18109 int val2 ;
18110 int ecode2 = 0 ;
18111 PyObject * obj0 = 0 ;
18112 PyObject * obj1 = 0 ;
18113 char * kwnames[] = {
18114 (char *) "self",(char *) "lenPixels", NULL
18115 };
18116
18117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18119 if (!SWIG_IsOK(res1)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18121 }
18122 arg1 = reinterpret_cast< wxSlider * >(argp1);
18123 ecode2 = SWIG_AsVal_int(obj1, &val2);
18124 if (!SWIG_IsOK(ecode2)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18126 }
18127 arg2 = static_cast< int >(val2);
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 (arg1)->SetThumbLength(arg2);
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 resultobj = SWIG_Py_Void();
18135 return resultobj;
18136fail:
18137 return NULL;
d55e5bfc
RD
18138}
18139
18140
1bd55598
RD
18141SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18142 PyObject *resultobj = 0;
18143 wxSlider *arg1 = (wxSlider *) 0 ;
18144 int result;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 PyObject *swig_obj[1] ;
18148
18149 if (!args) SWIG_fail;
18150 swig_obj[0] = args;
18151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18154 }
18155 arg1 = reinterpret_cast< wxSlider * >(argp1);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = SWIG_From_int(static_cast< int >(result));
18163 return resultobj;
18164fail:
18165 return NULL;
18166}
18167
18168
18169SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj = 0;
18171 wxSlider *arg1 = (wxSlider *) 0 ;
18172 int arg2 ;
18173 int arg3 = (int) 1 ;
18174 void *argp1 = 0 ;
18175 int res1 = 0 ;
18176 int val2 ;
18177 int ecode2 = 0 ;
18178 int val3 ;
18179 int ecode3 = 0 ;
18180 PyObject * obj0 = 0 ;
18181 PyObject * obj1 = 0 ;
18182 PyObject * obj2 = 0 ;
18183 char * kwnames[] = {
18184 (char *) "self",(char *) "n",(char *) "pos", NULL
18185 };
18186
18187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18189 if (!SWIG_IsOK(res1)) {
18190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18191 }
18192 arg1 = reinterpret_cast< wxSlider * >(argp1);
18193 ecode2 = SWIG_AsVal_int(obj1, &val2);
18194 if (!SWIG_IsOK(ecode2)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18196 }
18197 arg2 = static_cast< int >(val2);
18198 if (obj2) {
18199 ecode3 = SWIG_AsVal_int(obj2, &val3);
18200 if (!SWIG_IsOK(ecode3)) {
18201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18202 }
18203 arg3 = static_cast< int >(val3);
18204 }
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 (arg1)->SetTickFreq(arg2,arg3);
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 resultobj = SWIG_Py_Void();
18212 return resultobj;
18213fail:
18214 return NULL;
d55e5bfc
RD
18215}
18216
18217
1bd55598
RD
18218SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18219 PyObject *resultobj = 0;
18220 wxSlider *arg1 = (wxSlider *) 0 ;
18221 int result;
18222 void *argp1 = 0 ;
18223 int res1 = 0 ;
18224 PyObject *swig_obj[1] ;
18225
18226 if (!args) SWIG_fail;
18227 swig_obj[0] = args;
18228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18229 if (!SWIG_IsOK(res1)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18231 }
18232 arg1 = reinterpret_cast< wxSlider * >(argp1);
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 resultobj = SWIG_From_int(static_cast< int >(result));
18240 return resultobj;
18241fail:
18242 return NULL;
d55e5bfc
RD
18243}
18244
18245
1bd55598
RD
18246SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18247 PyObject *resultobj = 0;
18248 wxSlider *arg1 = (wxSlider *) 0 ;
18249 void *argp1 = 0 ;
18250 int res1 = 0 ;
18251 PyObject *swig_obj[1] ;
18252
18253 if (!args) SWIG_fail;
18254 swig_obj[0] = args;
18255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18256 if (!SWIG_IsOK(res1)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18258 }
18259 arg1 = reinterpret_cast< wxSlider * >(argp1);
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 (arg1)->ClearTicks();
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = SWIG_Py_Void();
18267 return resultobj;
18268fail:
18269 return NULL;
18270}
18271
18272
18273SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj = 0;
18275 wxSlider *arg1 = (wxSlider *) 0 ;
18276 int arg2 ;
18277 void *argp1 = 0 ;
18278 int res1 = 0 ;
18279 int val2 ;
18280 int ecode2 = 0 ;
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 char * kwnames[] = {
18284 (char *) "self",(char *) "tickPos", NULL
18285 };
18286
18287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18289 if (!SWIG_IsOK(res1)) {
18290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18291 }
18292 arg1 = reinterpret_cast< wxSlider * >(argp1);
18293 ecode2 = SWIG_AsVal_int(obj1, &val2);
18294 if (!SWIG_IsOK(ecode2)) {
18295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18296 }
18297 arg2 = static_cast< int >(val2);
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 (arg1)->SetTick(arg2);
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 resultobj = SWIG_Py_Void();
18305 return resultobj;
18306fail:
18307 return NULL;
d55e5bfc
RD
18308}
18309
18310
1bd55598
RD
18311SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18312 PyObject *resultobj = 0;
18313 wxSlider *arg1 = (wxSlider *) 0 ;
18314 void *argp1 = 0 ;
18315 int res1 = 0 ;
18316 PyObject *swig_obj[1] ;
18317
18318 if (!args) SWIG_fail;
18319 swig_obj[0] = args;
18320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18321 if (!SWIG_IsOK(res1)) {
18322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18323 }
18324 arg1 = reinterpret_cast< wxSlider * >(argp1);
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 (arg1)->ClearSel();
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_Py_Void();
18332 return resultobj;
18333fail:
18334 return NULL;
d55e5bfc
RD
18335}
18336
18337
1bd55598
RD
18338SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18339 PyObject *resultobj = 0;
18340 wxSlider *arg1 = (wxSlider *) 0 ;
18341 int result;
18342 void *argp1 = 0 ;
18343 int res1 = 0 ;
18344 PyObject *swig_obj[1] ;
18345
18346 if (!args) SWIG_fail;
18347 swig_obj[0] = args;
18348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18349 if (!SWIG_IsOK(res1)) {
18350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18351 }
18352 arg1 = reinterpret_cast< wxSlider * >(argp1);
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = SWIG_From_int(static_cast< int >(result));
18360 return resultobj;
18361fail:
18362 return NULL;
d55e5bfc
RD
18363}
18364
18365
1bd55598
RD
18366SWIGINTERN PyObject *_wrap_Slider_GetSelStart(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_GetSelStart" "', 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)->GetSelStart();
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;
18391}
18392
18393
18394SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj = 0;
18396 wxSlider *arg1 = (wxSlider *) 0 ;
18397 int arg2 ;
18398 int arg3 ;
18399 void *argp1 = 0 ;
18400 int res1 = 0 ;
18401 int val2 ;
18402 int ecode2 = 0 ;
18403 int val3 ;
18404 int ecode3 = 0 ;
18405 PyObject * obj0 = 0 ;
18406 PyObject * obj1 = 0 ;
18407 PyObject * obj2 = 0 ;
18408 char * kwnames[] = {
18409 (char *) "self",(char *) "min",(char *) "max", NULL
18410 };
18411
18412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18414 if (!SWIG_IsOK(res1)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18416 }
18417 arg1 = reinterpret_cast< wxSlider * >(argp1);
18418 ecode2 = SWIG_AsVal_int(obj1, &val2);
18419 if (!SWIG_IsOK(ecode2)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18421 }
18422 arg2 = static_cast< int >(val2);
18423 ecode3 = SWIG_AsVal_int(obj2, &val3);
18424 if (!SWIG_IsOK(ecode3)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18426 }
18427 arg3 = static_cast< int >(val3);
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 (arg1)->SetSelection(arg2,arg3);
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 resultobj = SWIG_Py_Void();
18435 return resultobj;
18436fail:
18437 return NULL;
18438}
18439
18440
18441SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj = 0;
18443 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18444 SwigValueWrapper<wxVisualAttributes > result;
18445 int val1 ;
18446 int ecode1 = 0 ;
18447 PyObject * obj0 = 0 ;
18448 char * kwnames[] = {
18449 (char *) "variant", NULL
18450 };
18451
18452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18453 if (obj0) {
18454 ecode1 = SWIG_AsVal_int(obj0, &val1);
18455 if (!SWIG_IsOK(ecode1)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18457 }
18458 arg1 = static_cast< wxWindowVariant >(val1);
18459 }
18460 {
18461 if (!wxPyCheckForApp()) SWIG_fail;
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = wxSlider::GetClassDefaultAttributes(arg1);
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18468 return resultobj;
18469fail:
18470 return NULL;
d55e5bfc
RD
18471}
18472
18473
1bd55598
RD
18474SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18475 PyObject *obj;
18476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18477 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18478 return SWIG_Py_Void();
d55e5bfc
RD
18479}
18480
1bd55598
RD
18481SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18482 return SWIG_Python_InitShadowInstance(args);
18483}
d55e5bfc 18484
1bd55598
RD
18485SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18486 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18487 return 1;
d55e5bfc
RD
18488}
18489
18490
1bd55598
RD
18491SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18492 PyObject *pyobj = 0;
18493
18494 {
18495#if wxUSE_UNICODE
18496 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18497#else
18498 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18499#endif
18500 }
18501 return pyobj;
18502}
18503
18504
18505SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj = 0;
18507 wxWindow *arg1 = (wxWindow *) 0 ;
18508 int arg2 = (int) -1 ;
18509 wxString const &arg3_defvalue = wxPyEmptyString ;
18510 wxString *arg3 = (wxString *) &arg3_defvalue ;
18511 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18512 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18513 wxSize const &arg5_defvalue = wxDefaultSize ;
18514 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18515 long arg6 = (long) 0 ;
18516 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18517 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18518 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18519 wxString *arg8 = (wxString *) &arg8_defvalue ;
18520 wxToggleButton *result = 0 ;
18521 void *argp1 = 0 ;
18522 int res1 = 0 ;
18523 int val2 ;
18524 int ecode2 = 0 ;
18525 bool temp3 = false ;
18526 wxPoint temp4 ;
18527 wxSize temp5 ;
18528 long val6 ;
18529 int ecode6 = 0 ;
18530 void *argp7 = 0 ;
18531 int res7 = 0 ;
18532 bool temp8 = false ;
18533 PyObject * obj0 = 0 ;
18534 PyObject * obj1 = 0 ;
18535 PyObject * obj2 = 0 ;
18536 PyObject * obj3 = 0 ;
18537 PyObject * obj4 = 0 ;
18538 PyObject * obj5 = 0 ;
18539 PyObject * obj6 = 0 ;
18540 PyObject * obj7 = 0 ;
18541 char * kwnames[] = {
18542 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18543 };
18544
18545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18547 if (!SWIG_IsOK(res1)) {
18548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18549 }
18550 arg1 = reinterpret_cast< wxWindow * >(argp1);
18551 if (obj1) {
18552 ecode2 = SWIG_AsVal_int(obj1, &val2);
18553 if (!SWIG_IsOK(ecode2)) {
18554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18555 }
18556 arg2 = static_cast< int >(val2);
18557 }
18558 if (obj2) {
d55e5bfc 18559 {
1bd55598
RD
18560 arg3 = wxString_in_helper(obj2);
18561 if (arg3 == NULL) SWIG_fail;
18562 temp3 = true;
d55e5bfc 18563 }
1bd55598
RD
18564 }
18565 if (obj3) {
36ed4f51 18566 {
1bd55598
RD
18567 arg4 = &temp4;
18568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 18569 }
1bd55598
RD
18570 }
18571 if (obj4) {
d55e5bfc 18572 {
1bd55598
RD
18573 arg5 = &temp5;
18574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18575 }
1bd55598
RD
18576 }
18577 if (obj5) {
18578 ecode6 = SWIG_AsVal_long(obj5, &val6);
18579 if (!SWIG_IsOK(ecode6)) {
18580 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18581 }
18582 arg6 = static_cast< long >(val6);
18583 }
18584 if (obj6) {
18585 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18586 if (!SWIG_IsOK(res7)) {
18587 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18588 }
1bd55598
RD
18589 if (!argp7) {
18590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 18591 }
1bd55598
RD
18592 arg7 = reinterpret_cast< wxValidator * >(argp7);
18593 }
18594 if (obj7) {
d55e5bfc 18595 {
1bd55598
RD
18596 arg8 = wxString_in_helper(obj7);
18597 if (arg8 == NULL) SWIG_fail;
18598 temp8 = true;
d55e5bfc 18599 }
1bd55598
RD
18600 }
18601 {
18602 if (!wxPyCheckForApp()) SWIG_fail;
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18609 {
18610 if (temp3)
18611 delete arg3;
18612 }
18613 {
18614 if (temp8)
18615 delete arg8;
18616 }
18617 return resultobj;
18618fail:
18619 {
18620 if (temp3)
18621 delete arg3;
18622 }
18623 {
18624 if (temp8)
18625 delete arg8;
18626 }
18627 return NULL;
d55e5bfc
RD
18628}
18629
18630
1bd55598
RD
18631SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18632 PyObject *resultobj = 0;
18633 wxToggleButton *result = 0 ;
18634
18635 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18636 {
18637 if (!wxPyCheckForApp()) SWIG_fail;
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (wxToggleButton *)new wxToggleButton();
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18644 return resultobj;
18645fail:
18646 return NULL;
18647}
18648
18649
18650SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj = 0;
18652 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18653 wxWindow *arg2 = (wxWindow *) 0 ;
18654 int arg3 = (int) -1 ;
18655 wxString const &arg4_defvalue = wxPyEmptyString ;
18656 wxString *arg4 = (wxString *) &arg4_defvalue ;
18657 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18658 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18659 wxSize const &arg6_defvalue = wxDefaultSize ;
18660 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18661 long arg7 = (long) 0 ;
18662 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18663 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18664 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18665 wxString *arg9 = (wxString *) &arg9_defvalue ;
18666 bool result;
18667 void *argp1 = 0 ;
18668 int res1 = 0 ;
18669 void *argp2 = 0 ;
18670 int res2 = 0 ;
18671 int val3 ;
18672 int ecode3 = 0 ;
18673 bool temp4 = false ;
18674 wxPoint temp5 ;
18675 wxSize temp6 ;
18676 long val7 ;
18677 int ecode7 = 0 ;
18678 void *argp8 = 0 ;
18679 int res8 = 0 ;
18680 bool temp9 = 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 PyObject * obj8 = 0 ;
18690 char * kwnames[] = {
18691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18692 };
18693
18694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18696 if (!SWIG_IsOK(res1)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18698 }
18699 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18700 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18701 if (!SWIG_IsOK(res2)) {
18702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18703 }
18704 arg2 = reinterpret_cast< wxWindow * >(argp2);
18705 if (obj2) {
18706 ecode3 = SWIG_AsVal_int(obj2, &val3);
18707 if (!SWIG_IsOK(ecode3)) {
18708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18709 }
18710 arg3 = static_cast< int >(val3);
18711 }
18712 if (obj3) {
36ed4f51 18713 {
1bd55598
RD
18714 arg4 = wxString_in_helper(obj3);
18715 if (arg4 == NULL) SWIG_fail;
18716 temp4 = true;
36ed4f51 18717 }
1bd55598
RD
18718 }
18719 if (obj4) {
36ed4f51 18720 {
1bd55598
RD
18721 arg5 = &temp5;
18722 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 18723 }
1bd55598
RD
18724 }
18725 if (obj5) {
36ed4f51 18726 {
1bd55598
RD
18727 arg6 = &temp6;
18728 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36ed4f51 18729 }
1bd55598
RD
18730 }
18731 if (obj6) {
18732 ecode7 = SWIG_AsVal_long(obj6, &val7);
18733 if (!SWIG_IsOK(ecode7)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18735 }
18736 arg7 = static_cast< long >(val7);
18737 }
18738 if (obj7) {
18739 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18740 if (!SWIG_IsOK(res8)) {
18741 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
36ed4f51 18742 }
1bd55598
RD
18743 if (!argp8) {
18744 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 18745 }
1bd55598
RD
18746 arg8 = reinterpret_cast< wxValidator * >(argp8);
18747 }
18748 if (obj8) {
d55e5bfc 18749 {
1bd55598
RD
18750 arg9 = wxString_in_helper(obj8);
18751 if (arg9 == NULL) SWIG_fail;
18752 temp9 = true;
d55e5bfc 18753 }
1bd55598
RD
18754 }
18755 {
18756 PyThreadState* __tstate = wxPyBeginAllowThreads();
18757 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 {
18762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18763 }
18764 {
18765 if (temp4)
18766 delete arg4;
18767 }
18768 {
18769 if (temp9)
18770 delete arg9;
18771 }
18772 return resultobj;
18773fail:
18774 {
18775 if (temp4)
18776 delete arg4;
18777 }
18778 {
18779 if (temp9)
18780 delete arg9;
18781 }
18782 return NULL;
18783}
18784
18785
18786SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj = 0;
18788 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18789 bool arg2 ;
18790 void *argp1 = 0 ;
18791 int res1 = 0 ;
18792 bool val2 ;
18793 int ecode2 = 0 ;
18794 PyObject * obj0 = 0 ;
18795 PyObject * obj1 = 0 ;
18796 char * kwnames[] = {
18797 (char *) "self",(char *) "value", NULL
18798 };
18799
18800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18802 if (!SWIG_IsOK(res1)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18804 }
18805 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18806 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18807 if (!SWIG_IsOK(ecode2)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18809 }
18810 arg2 = static_cast< bool >(val2);
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 (arg1)->SetValue(arg2);
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = SWIG_Py_Void();
18818 return resultobj;
18819fail:
18820 return NULL;
d55e5bfc
RD
18821}
18822
18823
1bd55598
RD
18824SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 PyObject *resultobj = 0;
18826 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18827 bool result;
18828 void *argp1 = 0 ;
18829 int res1 = 0 ;
18830 PyObject *swig_obj[1] ;
18831
18832 if (!args) SWIG_fail;
18833 swig_obj[0] = args;
18834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18835 if (!SWIG_IsOK(res1)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18837 }
18838 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 result = (bool)((wxToggleButton const *)arg1)->GetValue();
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 {
18846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18847 }
18848 return resultobj;
18849fail:
18850 return NULL;
f20a2e1f
RD
18851}
18852
18853
1bd55598
RD
18854SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj = 0;
18856 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18857 SwigValueWrapper<wxVisualAttributes > result;
18858 int val1 ;
18859 int ecode1 = 0 ;
18860 PyObject * obj0 = 0 ;
18861 char * kwnames[] = {
18862 (char *) "variant", NULL
18863 };
18864
18865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18866 if (obj0) {
18867 ecode1 = SWIG_AsVal_int(obj0, &val1);
18868 if (!SWIG_IsOK(ecode1)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18870 }
18871 arg1 = static_cast< wxWindowVariant >(val1);
18872 }
18873 {
18874 if (!wxPyCheckForApp()) SWIG_fail;
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 result = wxToggleButton::GetClassDefaultAttributes(arg1);
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18881 return resultobj;
18882fail:
18883 return NULL;
d55e5bfc
RD
18884}
18885
18886
1bd55598
RD
18887SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18888 PyObject *obj;
18889 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18890 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
18891 return SWIG_Py_Void();
d55e5bfc
RD
18892}
18893
1bd55598
RD
18894SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18895 return SWIG_Python_InitShadowInstance(args);
18896}
d55e5bfc 18897
1bd55598
RD
18898SWIGINTERN int NotebookNameStr_set(PyObject *) {
18899 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
18900 return 1;
d55e5bfc
RD
18901}
18902
18903
1bd55598
RD
18904SWIGINTERN PyObject *NotebookNameStr_get(void) {
18905 PyObject *pyobj = 0;
18906
18907 {
d55e5bfc 18908#if wxUSE_UNICODE
1bd55598 18909 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 18910#else
1bd55598 18911 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 18912#endif
1bd55598
RD
18913 }
18914 return pyobj;
d55e5bfc
RD
18915}
18916
18917
1bd55598
RD
18918SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18919 PyObject *resultobj = 0;
18920 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18921 size_t result;
18922 void *argp1 = 0 ;
18923 int res1 = 0 ;
18924 PyObject *swig_obj[1] ;
18925
18926 if (!args) SWIG_fail;
18927 swig_obj[0] = args;
18928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
18929 if (!SWIG_IsOK(res1)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18931 }
18932 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
18940 return resultobj;
18941fail:
18942 return NULL;
18943}
18944
18945
18946SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj = 0;
18948 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18949 size_t arg2 ;
18950 wxWindow *result = 0 ;
18951 void *argp1 = 0 ;
18952 int res1 = 0 ;
18953 size_t val2 ;
18954 int ecode2 = 0 ;
18955 PyObject * obj0 = 0 ;
18956 PyObject * obj1 = 0 ;
18957 char * kwnames[] = {
18958 (char *) "self",(char *) "n", NULL
18959 };
18960
18961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
18962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
18963 if (!SWIG_IsOK(res1)) {
18964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18965 }
18966 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
18967 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18968 if (!SWIG_IsOK(ecode2)) {
18969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18970 }
18971 arg2 = static_cast< size_t >(val2);
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (wxWindow *)(arg1)->GetPage(arg2);
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 {
18979 resultobj = wxPyMake_wxObject(result, 0);
18980 }
18981 return resultobj;
18982fail:
18983 return NULL;
d55e5bfc
RD
18984}
18985
18986
1bd55598
RD
18987SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18988 PyObject *resultobj = 0;
18989 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18990 wxWindow *result = 0 ;
18991 void *argp1 = 0 ;
18992 int res1 = 0 ;
18993 PyObject *swig_obj[1] ;
18994
18995 if (!args) SWIG_fail;
18996 swig_obj[0] = args;
18997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
18998 if (!SWIG_IsOK(res1)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19000 }
19001 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 {
19009 resultobj = wxPyMake_wxObject(result, 0);
19010 }
19011 return resultobj;
19012fail:
19013 return NULL;
d55e5bfc
RD
19014}
19015
19016
1bd55598
RD
19017SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19018 PyObject *resultobj = 0;
19019 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19020 int result;
19021 void *argp1 = 0 ;
19022 int res1 = 0 ;
19023 PyObject *swig_obj[1] ;
19024
19025 if (!args) SWIG_fail;
19026 swig_obj[0] = args;
19027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19028 if (!SWIG_IsOK(res1)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19030 }
19031 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 resultobj = SWIG_From_int(static_cast< int >(result));
19039 return resultobj;
19040fail:
19041 return NULL;
19042}
19043
19044
19045SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj = 0;
19047 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19048 size_t arg2 ;
19049 wxString *arg3 = 0 ;
19050 bool result;
19051 void *argp1 = 0 ;
19052 int res1 = 0 ;
19053 size_t val2 ;
19054 int ecode2 = 0 ;
19055 bool temp3 = false ;
19056 PyObject * obj0 = 0 ;
19057 PyObject * obj1 = 0 ;
19058 PyObject * obj2 = 0 ;
19059 char * kwnames[] = {
19060 (char *) "self",(char *) "n",(char *) "strText", NULL
19061 };
19062
19063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19067 }
19068 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19069 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19070 if (!SWIG_IsOK(ecode2)) {
19071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19072 }
19073 arg2 = static_cast< size_t >(val2);
19074 {
19075 arg3 = wxString_in_helper(obj2);
19076 if (arg3 == NULL) SWIG_fail;
19077 temp3 = true;
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 {
19086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19087 }
19088 {
19089 if (temp3)
19090 delete arg3;
19091 }
19092 return resultobj;
19093fail:
19094 {
19095 if (temp3)
19096 delete arg3;
19097 }
19098 return NULL;
19099}
19100
19101
19102SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj = 0;
19104 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19105 size_t arg2 ;
19106 wxString result;
19107 void *argp1 = 0 ;
19108 int res1 = 0 ;
19109 size_t val2 ;
19110 int ecode2 = 0 ;
19111 PyObject * obj0 = 0 ;
19112 PyObject * obj1 = 0 ;
19113 char * kwnames[] = {
19114 (char *) "self",(char *) "n", NULL
19115 };
19116
19117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19119 if (!SWIG_IsOK(res1)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19121 }
19122 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19123 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19124 if (!SWIG_IsOK(ecode2)) {
19125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19126 }
19127 arg2 = static_cast< size_t >(val2);
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 {
19135#if wxUSE_UNICODE
19136 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19137#else
19138 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19139#endif
19140 }
19141 return resultobj;
19142fail:
19143 return NULL;
19144}
19145
19146
19147SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj = 0;
19149 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19150 wxImageList *arg2 = (wxImageList *) 0 ;
19151 void *argp1 = 0 ;
19152 int res1 = 0 ;
19153 void *argp2 = 0 ;
19154 int res2 = 0 ;
19155 PyObject * obj0 = 0 ;
19156 PyObject * obj1 = 0 ;
19157 char * kwnames[] = {
19158 (char *) "self",(char *) "imageList", NULL
19159 };
19160
19161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19163 if (!SWIG_IsOK(res1)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19165 }
19166 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19168 if (!SWIG_IsOK(res2)) {
19169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19170 }
19171 arg2 = reinterpret_cast< wxImageList * >(argp2);
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 (arg1)->SetImageList(arg2);
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 resultobj = SWIG_Py_Void();
19179 return resultobj;
19180fail:
19181 return NULL;
19182}
19183
19184
19185SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj = 0;
19187 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19188 wxImageList *arg2 = (wxImageList *) 0 ;
19189 void *argp1 = 0 ;
19190 int res1 = 0 ;
19191 int res2 = 0 ;
19192 PyObject * obj0 = 0 ;
19193 PyObject * obj1 = 0 ;
19194 char * kwnames[] = {
19195 (char *) "self",(char *) "imageList", NULL
19196 };
19197
19198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19200 if (!SWIG_IsOK(res1)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19202 }
19203 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19204 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19205 if (!SWIG_IsOK(res2)) {
19206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19207 }
19208 {
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 (arg1)->AssignImageList(arg2);
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_Py_Void();
19215 return resultobj;
19216fail:
19217 return NULL;
d55e5bfc
RD
19218}
19219
19220
1bd55598
RD
19221SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19222 PyObject *resultobj = 0;
19223 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19224 wxImageList *result = 0 ;
19225 void *argp1 = 0 ;
19226 int res1 = 0 ;
19227 PyObject *swig_obj[1] ;
19228
19229 if (!args) SWIG_fail;
19230 swig_obj[0] = args;
19231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19232 if (!SWIG_IsOK(res1)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19234 }
19235 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 {
19243 resultobj = wxPyMake_wxObject(result, (bool)0);
19244 }
19245 return resultobj;
19246fail:
19247 return NULL;
19248}
19249
19250
19251SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19252 PyObject *resultobj = 0;
19253 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19254 size_t arg2 ;
19255 int result;
19256 void *argp1 = 0 ;
19257 int res1 = 0 ;
19258 size_t val2 ;
19259 int ecode2 = 0 ;
19260 PyObject * obj0 = 0 ;
19261 PyObject * obj1 = 0 ;
19262 char * kwnames[] = {
19263 (char *) "self",(char *) "n", NULL
19264 };
19265
19266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19268 if (!SWIG_IsOK(res1)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19270 }
19271 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19272 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19273 if (!SWIG_IsOK(ecode2)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19275 }
19276 arg2 = static_cast< size_t >(val2);
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 resultobj = SWIG_From_int(static_cast< int >(result));
19284 return resultobj;
19285fail:
19286 return NULL;
19287}
19288
19289
19290SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19291 PyObject *resultobj = 0;
19292 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19293 size_t arg2 ;
19294 int arg3 ;
19295 bool result;
19296 void *argp1 = 0 ;
19297 int res1 = 0 ;
19298 size_t val2 ;
19299 int ecode2 = 0 ;
19300 int val3 ;
19301 int ecode3 = 0 ;
19302 PyObject * obj0 = 0 ;
19303 PyObject * obj1 = 0 ;
19304 PyObject * obj2 = 0 ;
19305 char * kwnames[] = {
19306 (char *) "self",(char *) "n",(char *) "imageId", NULL
19307 };
19308
19309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) 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_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19313 }
19314 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19315 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19316 if (!SWIG_IsOK(ecode2)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19318 }
19319 arg2 = static_cast< size_t >(val2);
19320 ecode3 = SWIG_AsVal_int(obj2, &val3);
19321 if (!SWIG_IsOK(ecode3)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19323 }
19324 arg3 = static_cast< int >(val3);
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 {
19332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19333 }
19334 return resultobj;
19335fail:
19336 return NULL;
19337}
19338
19339
19340SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj = 0;
19342 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19343 wxSize *arg2 = 0 ;
19344 void *argp1 = 0 ;
19345 int res1 = 0 ;
19346 wxSize temp2 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char * kwnames[] = {
19350 (char *) "self",(char *) "size", NULL
19351 };
19352
19353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19355 if (!SWIG_IsOK(res1)) {
19356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19357 }
19358 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19359 {
19360 arg2 = &temp2;
19361 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19362 }
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->SetPageSize((wxSize const &)*arg2);
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 resultobj = SWIG_Py_Void();
19370 return resultobj;
19371fail:
19372 return NULL;
19373}
19374
19375
19376SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj = 0;
19378 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19379 wxSize *arg2 = 0 ;
19380 wxSize result;
19381 void *argp1 = 0 ;
19382 int res1 = 0 ;
19383 wxSize temp2 ;
19384 PyObject * obj0 = 0 ;
19385 PyObject * obj1 = 0 ;
19386 char * kwnames[] = {
19387 (char *) "self",(char *) "sizePage", NULL
19388 };
19389
19390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19392 if (!SWIG_IsOK(res1)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19394 }
19395 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19396 {
19397 arg2 = &temp2;
19398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19399 }
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19407 return resultobj;
19408fail:
19409 return NULL;
d55e5bfc
RD
19410}
19411
19412
1bd55598
RD
19413SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19414 PyObject *resultobj = 0;
19415 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19416 unsigned int result;
1bd55598
RD
19417 void *argp1 = 0 ;
19418 int res1 = 0 ;
19419 PyObject *swig_obj[1] ;
19420
19421 if (!args) SWIG_fail;
19422 swig_obj[0] = args;
19423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19424 if (!SWIG_IsOK(res1)) {
19425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19426 }
19427 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19430 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
1bd55598
RD
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
e9d6f3a4 19434 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
19435 return resultobj;
19436fail:
19437 return NULL;
19438}
19439
19440
19441SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj = 0;
19443 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19444 unsigned int arg2 ;
1bd55598
RD
19445 void *argp1 = 0 ;
19446 int res1 = 0 ;
e9d6f3a4 19447 unsigned int val2 ;
1bd55598
RD
19448 int ecode2 = 0 ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 char * kwnames[] = {
19452 (char *) "self",(char *) "internalBorder", NULL
19453 };
19454
19455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19457 if (!SWIG_IsOK(res1)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19459 }
19460 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19461 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 19462 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 19464 }
e9d6f3a4 19465 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 (arg1)->SetInternalBorder(arg2);
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 resultobj = SWIG_Py_Void();
19473 return resultobj;
19474fail:
19475 return NULL;
d55e5bfc
RD
19476}
19477
19478
1bd55598
RD
19479SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19480 PyObject *resultobj = 0;
19481 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19482 bool result;
19483 void *argp1 = 0 ;
19484 int res1 = 0 ;
19485 PyObject *swig_obj[1] ;
19486
19487 if (!args) SWIG_fail;
19488 swig_obj[0] = args;
19489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19490 if (!SWIG_IsOK(res1)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19492 }
19493 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 {
19501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19502 }
19503 return resultobj;
19504fail:
19505 return NULL;
19506}
19507
19508
e9d6f3a4
RD
19509SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj = 0;
19511 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19512 int arg2 ;
19513 void *argp1 = 0 ;
19514 int res1 = 0 ;
19515 int val2 ;
19516 int ecode2 = 0 ;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 char * kwnames[] = {
19520 (char *) "self",(char *) "margin", NULL
19521 };
19522
19523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19525 if (!SWIG_IsOK(res1)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19527 }
19528 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19529 ecode2 = SWIG_AsVal_int(obj1, &val2);
19530 if (!SWIG_IsOK(ecode2)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19532 }
19533 arg2 = static_cast< int >(val2);
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 (arg1)->SetControlMargin(arg2);
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 resultobj = SWIG_Py_Void();
19541 return resultobj;
19542fail:
19543 return NULL;
19544}
19545
19546
19547SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19548 PyObject *resultobj = 0;
19549 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19550 int result;
19551 void *argp1 = 0 ;
19552 int res1 = 0 ;
19553 PyObject *swig_obj[1] ;
19554
19555 if (!args) SWIG_fail;
19556 swig_obj[0] = args;
19557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19558 if (!SWIG_IsOK(res1)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19560 }
19561 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 resultobj = SWIG_From_int(static_cast< int >(result));
19569 return resultobj;
19570fail:
19571 return NULL;
19572}
19573
19574
1bd55598
RD
19575SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj = 0;
19577 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19578 bool arg2 ;
19579 void *argp1 = 0 ;
19580 int res1 = 0 ;
19581 bool val2 ;
19582 int ecode2 = 0 ;
19583 PyObject * obj0 = 0 ;
19584 PyObject * obj1 = 0 ;
19585 char * kwnames[] = {
19586 (char *) "self",(char *) "fit", NULL
19587 };
19588
19589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19591 if (!SWIG_IsOK(res1)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19593 }
19594 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19596 if (!SWIG_IsOK(ecode2)) {
19597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19598 }
19599 arg2 = static_cast< bool >(val2);
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 (arg1)->SetFitToCurrentPage(arg2);
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_Py_Void();
19607 return resultobj;
19608fail:
19609 return NULL;
d55e5bfc
RD
19610}
19611
19612
1bd55598
RD
19613SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19614 PyObject *resultobj = 0;
19615 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19616 bool result;
19617 void *argp1 = 0 ;
19618 int res1 = 0 ;
19619 PyObject *swig_obj[1] ;
19620
19621 if (!args) SWIG_fail;
19622 swig_obj[0] = args;
19623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19624 if (!SWIG_IsOK(res1)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19626 }
19627 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 {
19635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19636 }
19637 return resultobj;
19638fail:
19639 return NULL;
19640}
19641
19642
e9d6f3a4
RD
19643SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19644 PyObject *resultobj = 0;
19645 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19646 wxSizer *result = 0 ;
19647 void *argp1 = 0 ;
19648 int res1 = 0 ;
19649 PyObject *swig_obj[1] ;
19650
19651 if (!args) SWIG_fail;
19652 swig_obj[0] = args;
19653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19654 if (!SWIG_IsOK(res1)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19656 }
19657 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 {
19665 resultobj = wxPyMake_wxObject(result, (bool)0);
19666 }
19667 return resultobj;
19668fail:
19669 return NULL;
19670}
19671
19672
1bd55598
RD
19673SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj = 0;
19675 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19676 size_t arg2 ;
19677 bool result;
19678 void *argp1 = 0 ;
19679 int res1 = 0 ;
19680 size_t val2 ;
19681 int ecode2 = 0 ;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char * kwnames[] = {
19685 (char *) "self",(char *) "n", NULL
19686 };
19687
19688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19690 if (!SWIG_IsOK(res1)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19692 }
19693 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19694 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19695 if (!SWIG_IsOK(ecode2)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19697 }
19698 arg2 = static_cast< size_t >(val2);
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 result = (bool)(arg1)->DeletePage(arg2);
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 {
19706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19707 }
19708 return resultobj;
19709fail:
19710 return NULL;
19711}
19712
19713
19714SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj = 0;
19716 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19717 size_t arg2 ;
19718 bool result;
19719 void *argp1 = 0 ;
19720 int res1 = 0 ;
19721 size_t val2 ;
19722 int ecode2 = 0 ;
19723 PyObject * obj0 = 0 ;
19724 PyObject * obj1 = 0 ;
19725 char * kwnames[] = {
19726 (char *) "self",(char *) "n", NULL
19727 };
19728
19729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19731 if (!SWIG_IsOK(res1)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19733 }
19734 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19735 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19736 if (!SWIG_IsOK(ecode2)) {
19737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19738 }
19739 arg2 = static_cast< size_t >(val2);
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (bool)(arg1)->RemovePage(arg2);
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 {
19747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19748 }
19749 return resultobj;
19750fail:
19751 return NULL;
f20a2e1f
RD
19752}
19753
19754
1bd55598
RD
19755SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19756 PyObject *resultobj = 0;
19757 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19758 bool result;
19759 void *argp1 = 0 ;
19760 int res1 = 0 ;
19761 PyObject *swig_obj[1] ;
19762
19763 if (!args) SWIG_fail;
19764 swig_obj[0] = args;
19765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19766 if (!SWIG_IsOK(res1)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19768 }
19769 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19770 {
19771 PyThreadState* __tstate = wxPyBeginAllowThreads();
19772 result = (bool)(arg1)->DeleteAllPages();
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
19776 {
19777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19778 }
19779 return resultobj;
19780fail:
19781 return NULL;
19782}
19783
19784
19785SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19786 PyObject *resultobj = 0;
19787 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19788 wxWindow *arg2 = (wxWindow *) 0 ;
19789 wxString *arg3 = 0 ;
19790 bool arg4 = (bool) false ;
19791 int arg5 = (int) -1 ;
19792 bool result;
19793 void *argp1 = 0 ;
19794 int res1 = 0 ;
19795 void *argp2 = 0 ;
19796 int res2 = 0 ;
19797 bool temp3 = false ;
19798 bool val4 ;
19799 int ecode4 = 0 ;
19800 int val5 ;
19801 int ecode5 = 0 ;
19802 PyObject * obj0 = 0 ;
19803 PyObject * obj1 = 0 ;
19804 PyObject * obj2 = 0 ;
19805 PyObject * obj3 = 0 ;
19806 PyObject * obj4 = 0 ;
19807 char * kwnames[] = {
19808 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19809 };
19810
19811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19813 if (!SWIG_IsOK(res1)) {
19814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19815 }
19816 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19817 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19818 if (!SWIG_IsOK(res2)) {
19819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19820 }
19821 arg2 = reinterpret_cast< wxWindow * >(argp2);
19822 {
19823 arg3 = wxString_in_helper(obj2);
19824 if (arg3 == NULL) SWIG_fail;
19825 temp3 = true;
19826 }
19827 if (obj3) {
19828 ecode4 = SWIG_AsVal_bool(obj3, &val4);
19829 if (!SWIG_IsOK(ecode4)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19831 }
19832 arg4 = static_cast< bool >(val4);
19833 }
19834 if (obj4) {
19835 ecode5 = SWIG_AsVal_int(obj4, &val5);
19836 if (!SWIG_IsOK(ecode5)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19838 }
19839 arg5 = static_cast< int >(val5);
19840 }
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 {
19848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19849 }
19850 {
19851 if (temp3)
19852 delete arg3;
19853 }
19854 return resultobj;
19855fail:
19856 {
19857 if (temp3)
19858 delete arg3;
19859 }
19860 return NULL;
19861}
19862
19863
19864SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj = 0;
19866 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19867 size_t arg2 ;
19868 wxWindow *arg3 = (wxWindow *) 0 ;
19869 wxString *arg4 = 0 ;
19870 bool arg5 = (bool) false ;
19871 int arg6 = (int) -1 ;
19872 bool result;
19873 void *argp1 = 0 ;
19874 int res1 = 0 ;
19875 size_t val2 ;
19876 int ecode2 = 0 ;
19877 void *argp3 = 0 ;
19878 int res3 = 0 ;
19879 bool temp4 = false ;
19880 bool val5 ;
19881 int ecode5 = 0 ;
19882 int val6 ;
19883 int ecode6 = 0 ;
19884 PyObject * obj0 = 0 ;
19885 PyObject * obj1 = 0 ;
19886 PyObject * obj2 = 0 ;
19887 PyObject * obj3 = 0 ;
19888 PyObject * obj4 = 0 ;
19889 PyObject * obj5 = 0 ;
19890 char * kwnames[] = {
19891 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19892 };
19893
19894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
19895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19896 if (!SWIG_IsOK(res1)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19898 }
19899 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19900 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19901 if (!SWIG_IsOK(ecode2)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19903 }
19904 arg2 = static_cast< size_t >(val2);
19905 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
19906 if (!SWIG_IsOK(res3)) {
19907 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19908 }
19909 arg3 = reinterpret_cast< wxWindow * >(argp3);
19910 {
19911 arg4 = wxString_in_helper(obj3);
19912 if (arg4 == NULL) SWIG_fail;
19913 temp4 = true;
19914 }
19915 if (obj4) {
19916 ecode5 = SWIG_AsVal_bool(obj4, &val5);
19917 if (!SWIG_IsOK(ecode5)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19919 }
19920 arg5 = static_cast< bool >(val5);
19921 }
19922 if (obj5) {
19923 ecode6 = SWIG_AsVal_int(obj5, &val6);
19924 if (!SWIG_IsOK(ecode6)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19926 }
19927 arg6 = static_cast< int >(val6);
19928 }
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 {
19936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19937 }
19938 {
19939 if (temp4)
19940 delete arg4;
19941 }
19942 return resultobj;
19943fail:
19944 {
19945 if (temp4)
19946 delete arg4;
19947 }
19948 return NULL;
19949}
19950
19951
19952SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj = 0;
19954 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19955 size_t arg2 ;
19956 int result;
19957 void *argp1 = 0 ;
19958 int res1 = 0 ;
19959 size_t val2 ;
19960 int ecode2 = 0 ;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 char * kwnames[] = {
19964 (char *) "self",(char *) "n", NULL
19965 };
19966
19967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
19968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19969 if (!SWIG_IsOK(res1)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19971 }
19972 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19973 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19974 if (!SWIG_IsOK(ecode2)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19976 }
19977 arg2 = static_cast< size_t >(val2);
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 result = (int)(arg1)->SetSelection(arg2);
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 resultobj = SWIG_From_int(static_cast< int >(result));
19985 return resultobj;
19986fail:
19987 return NULL;
19988}
19989
19990
19991SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj = 0;
19993 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19994 bool arg2 = (bool) true ;
19995 void *argp1 = 0 ;
19996 int res1 = 0 ;
19997 bool val2 ;
19998 int ecode2 = 0 ;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 char * kwnames[] = {
20002 (char *) "self",(char *) "forward", NULL
20003 };
20004
20005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20007 if (!SWIG_IsOK(res1)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20009 }
20010 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20011 if (obj1) {
20012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20013 if (!SWIG_IsOK(ecode2)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20015 }
20016 arg2 = static_cast< bool >(val2);
20017 }
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 (arg1)->AdvanceSelection(arg2);
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 resultobj = SWIG_Py_Void();
20025 return resultobj;
20026fail:
20027 return NULL;
20028}
20029
20030
704eda0c
RD
20031SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj = 0;
20033 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20034 wxPoint *arg2 = 0 ;
20035 long *arg3 = (long *) 0 ;
20036 int result;
20037 void *argp1 = 0 ;
20038 int res1 = 0 ;
20039 wxPoint temp2 ;
20040 long temp3 ;
20041 int res3 = SWIG_TMPOBJ ;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 char * kwnames[] = {
20045 (char *) "self",(char *) "pt", NULL
20046 };
20047
20048 arg3 = &temp3;
20049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20051 if (!SWIG_IsOK(res1)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20053 }
20054 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20055 {
20056 arg2 = &temp2;
20057 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20058 }
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 resultobj = SWIG_From_int(static_cast< int >(result));
20066 if (SWIG_IsTmpObj(res3)) {
20067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20068 } else {
20069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20071 }
20072 return resultobj;
20073fail:
20074 return NULL;
20075}
20076
20077
1bd55598
RD
20078SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj = 0;
20080 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20081 SwigValueWrapper<wxVisualAttributes > result;
20082 int val1 ;
20083 int ecode1 = 0 ;
20084 PyObject * obj0 = 0 ;
20085 char * kwnames[] = {
20086 (char *) "variant", NULL
20087 };
20088
20089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20090 if (obj0) {
20091 ecode1 = SWIG_AsVal_int(obj0, &val1);
20092 if (!SWIG_IsOK(ecode1)) {
20093 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20094 }
20095 arg1 = static_cast< wxWindowVariant >(val1);
20096 }
20097 {
20098 if (!wxPyCheckForApp()) SWIG_fail;
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20105 return resultobj;
20106fail:
20107 return NULL;
20108}
20109
20110
20111SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20112 PyObject *obj;
20113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20114 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20115 return SWIG_Py_Void();
20116}
20117
20118SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj = 0;
20120 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20121 int arg2 = (int) 0 ;
20122 int arg3 = (int) -1 ;
20123 int arg4 = (int) -1 ;
20124 wxBookCtrlBaseEvent *result = 0 ;
20125 int val1 ;
20126 int ecode1 = 0 ;
20127 int val2 ;
20128 int ecode2 = 0 ;
20129 int val3 ;
20130 int ecode3 = 0 ;
20131 int val4 ;
20132 int ecode4 = 0 ;
20133 PyObject * obj0 = 0 ;
20134 PyObject * obj1 = 0 ;
20135 PyObject * obj2 = 0 ;
20136 PyObject * obj3 = 0 ;
20137 char * kwnames[] = {
20138 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20139 };
20140
20141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20142 if (obj0) {
20143 ecode1 = SWIG_AsVal_int(obj0, &val1);
20144 if (!SWIG_IsOK(ecode1)) {
20145 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20146 }
20147 arg1 = static_cast< wxEventType >(val1);
20148 }
20149 if (obj1) {
20150 ecode2 = SWIG_AsVal_int(obj1, &val2);
20151 if (!SWIG_IsOK(ecode2)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20153 }
20154 arg2 = static_cast< int >(val2);
20155 }
20156 if (obj2) {
20157 ecode3 = SWIG_AsVal_int(obj2, &val3);
20158 if (!SWIG_IsOK(ecode3)) {
20159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20160 }
20161 arg3 = static_cast< int >(val3);
20162 }
20163 if (obj3) {
20164 ecode4 = SWIG_AsVal_int(obj3, &val4);
20165 if (!SWIG_IsOK(ecode4)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20167 }
20168 arg4 = static_cast< int >(val4);
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20177 return resultobj;
20178fail:
20179 return NULL;
d55e5bfc
RD
20180}
20181
20182
1bd55598
RD
20183SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20184 PyObject *resultobj = 0;
20185 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20186 int result;
20187 void *argp1 = 0 ;
20188 int res1 = 0 ;
20189 PyObject *swig_obj[1] ;
20190
20191 if (!args) SWIG_fail;
20192 swig_obj[0] = args;
20193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20194 if (!SWIG_IsOK(res1)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20196 }
20197 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20198 {
20199 PyThreadState* __tstate = wxPyBeginAllowThreads();
20200 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 resultobj = SWIG_From_int(static_cast< int >(result));
20205 return resultobj;
20206fail:
20207 return NULL;
20208}
20209
20210
20211SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj = 0;
20213 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20214 int arg2 ;
20215 void *argp1 = 0 ;
20216 int res1 = 0 ;
20217 int val2 ;
20218 int ecode2 = 0 ;
20219 PyObject * obj0 = 0 ;
20220 PyObject * obj1 = 0 ;
20221 char * kwnames[] = {
20222 (char *) "self",(char *) "nSel", NULL
20223 };
20224
20225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20227 if (!SWIG_IsOK(res1)) {
20228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20229 }
20230 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20231 ecode2 = SWIG_AsVal_int(obj1, &val2);
20232 if (!SWIG_IsOK(ecode2)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20234 }
20235 arg2 = static_cast< int >(val2);
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 (arg1)->SetSelection(arg2);
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 resultobj = SWIG_Py_Void();
20243 return resultobj;
20244fail:
20245 return NULL;
d55e5bfc
RD
20246}
20247
20248
1bd55598
RD
20249SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20250 PyObject *resultobj = 0;
20251 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20252 int result;
20253 void *argp1 = 0 ;
20254 int res1 = 0 ;
20255 PyObject *swig_obj[1] ;
20256
20257 if (!args) SWIG_fail;
20258 swig_obj[0] = args;
20259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20260 if (!SWIG_IsOK(res1)) {
20261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20262 }
20263 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 resultobj = SWIG_From_int(static_cast< int >(result));
20271 return resultobj;
20272fail:
20273 return NULL;
20274}
20275
20276
20277SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj = 0;
20279 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20280 int arg2 ;
20281 void *argp1 = 0 ;
20282 int res1 = 0 ;
20283 int val2 ;
20284 int ecode2 = 0 ;
20285 PyObject * obj0 = 0 ;
20286 PyObject * obj1 = 0 ;
20287 char * kwnames[] = {
20288 (char *) "self",(char *) "nOldSel", NULL
20289 };
20290
20291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20293 if (!SWIG_IsOK(res1)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20295 }
20296 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20297 ecode2 = SWIG_AsVal_int(obj1, &val2);
20298 if (!SWIG_IsOK(ecode2)) {
20299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20300 }
20301 arg2 = static_cast< int >(val2);
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 (arg1)->SetOldSelection(arg2);
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 resultobj = SWIG_Py_Void();
20309 return resultobj;
20310fail:
20311 return NULL;
20312}
20313
20314
20315SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20316 PyObject *obj;
20317 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20318 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20319 return SWIG_Py_Void();
20320}
20321
20322SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20323 return SWIG_Python_InitShadowInstance(args);
20324}
20325
20326SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20327 PyObject *resultobj = 0;
20328 wxWindow *arg1 = (wxWindow *) 0 ;
20329 int arg2 = (int) -1 ;
20330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20332 wxSize const &arg4_defvalue = wxDefaultSize ;
20333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20334 long arg5 = (long) 0 ;
20335 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20336 wxString *arg6 = (wxString *) &arg6_defvalue ;
20337 wxNotebook *result = 0 ;
20338 void *argp1 = 0 ;
20339 int res1 = 0 ;
20340 int val2 ;
20341 int ecode2 = 0 ;
20342 wxPoint temp3 ;
20343 wxSize temp4 ;
20344 long val5 ;
20345 int ecode5 = 0 ;
20346 bool temp6 = false ;
20347 PyObject * obj0 = 0 ;
20348 PyObject * obj1 = 0 ;
20349 PyObject * obj2 = 0 ;
20350 PyObject * obj3 = 0 ;
20351 PyObject * obj4 = 0 ;
20352 PyObject * obj5 = 0 ;
20353 char * kwnames[] = {
20354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20355 };
20356
20357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20359 if (!SWIG_IsOK(res1)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20361 }
20362 arg1 = reinterpret_cast< wxWindow * >(argp1);
20363 if (obj1) {
20364 ecode2 = SWIG_AsVal_int(obj1, &val2);
20365 if (!SWIG_IsOK(ecode2)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20367 }
20368 arg2 = static_cast< int >(val2);
20369 }
20370 if (obj2) {
20371 {
20372 arg3 = &temp3;
20373 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 20374 }
1bd55598
RD
20375 }
20376 if (obj3) {
d55e5bfc 20377 {
1bd55598
RD
20378 arg4 = &temp4;
20379 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20380 }
1bd55598
RD
20381 }
20382 if (obj4) {
20383 ecode5 = SWIG_AsVal_long(obj4, &val5);
20384 if (!SWIG_IsOK(ecode5)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20386 }
20387 arg5 = static_cast< long >(val5);
20388 }
20389 if (obj5) {
d55e5bfc 20390 {
1bd55598
RD
20391 arg6 = wxString_in_helper(obj5);
20392 if (arg6 == NULL) SWIG_fail;
20393 temp6 = true;
d55e5bfc 20394 }
1bd55598
RD
20395 }
20396 {
20397 if (!wxPyCheckForApp()) SWIG_fail;
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20404 {
20405 if (temp6)
20406 delete arg6;
20407 }
20408 return resultobj;
20409fail:
20410 {
20411 if (temp6)
20412 delete arg6;
20413 }
20414 return NULL;
20415}
20416
20417
20418SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20419 PyObject *resultobj = 0;
20420 wxNotebook *result = 0 ;
20421
20422 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20423 {
20424 if (!wxPyCheckForApp()) SWIG_fail;
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 result = (wxNotebook *)new wxNotebook();
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20431 return resultobj;
20432fail:
20433 return NULL;
20434}
20435
20436
20437SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj = 0;
20439 wxNotebook *arg1 = (wxNotebook *) 0 ;
20440 wxWindow *arg2 = (wxWindow *) 0 ;
20441 int arg3 = (int) -1 ;
20442 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20443 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20444 wxSize const &arg5_defvalue = wxDefaultSize ;
20445 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20446 long arg6 = (long) 0 ;
20447 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20448 wxString *arg7 = (wxString *) &arg7_defvalue ;
20449 bool result;
20450 void *argp1 = 0 ;
20451 int res1 = 0 ;
20452 void *argp2 = 0 ;
20453 int res2 = 0 ;
20454 int val3 ;
20455 int ecode3 = 0 ;
20456 wxPoint temp4 ;
20457 wxSize temp5 ;
20458 long val6 ;
20459 int ecode6 = 0 ;
20460 bool temp7 = false ;
20461 PyObject * obj0 = 0 ;
20462 PyObject * obj1 = 0 ;
20463 PyObject * obj2 = 0 ;
20464 PyObject * obj3 = 0 ;
20465 PyObject * obj4 = 0 ;
20466 PyObject * obj5 = 0 ;
20467 PyObject * obj6 = 0 ;
20468 char * kwnames[] = {
20469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20470 };
20471
20472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20474 if (!SWIG_IsOK(res1)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20476 }
20477 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20478 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20479 if (!SWIG_IsOK(res2)) {
20480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20481 }
20482 arg2 = reinterpret_cast< wxWindow * >(argp2);
20483 if (obj2) {
20484 ecode3 = SWIG_AsVal_int(obj2, &val3);
20485 if (!SWIG_IsOK(ecode3)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20487 }
20488 arg3 = static_cast< int >(val3);
20489 }
20490 if (obj3) {
d55e5bfc 20491 {
1bd55598
RD
20492 arg4 = &temp4;
20493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20494 }
1bd55598
RD
20495 }
20496 if (obj4) {
d55e5bfc 20497 {
1bd55598
RD
20498 arg5 = &temp5;
20499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20500 }
1bd55598
RD
20501 }
20502 if (obj5) {
20503 ecode6 = SWIG_AsVal_long(obj5, &val6);
20504 if (!SWIG_IsOK(ecode6)) {
20505 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20506 }
20507 arg6 = static_cast< long >(val6);
20508 }
20509 if (obj6) {
d55e5bfc 20510 {
1bd55598
RD
20511 arg7 = wxString_in_helper(obj6);
20512 if (arg7 == NULL) SWIG_fail;
20513 temp7 = true;
d55e5bfc 20514 }
1bd55598
RD
20515 }
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 {
20523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20524 }
20525 {
20526 if (temp7)
20527 delete arg7;
20528 }
20529 return resultobj;
20530fail:
20531 {
20532 if (temp7)
20533 delete arg7;
20534 }
20535 return NULL;
d55e5bfc
RD
20536}
20537
20538
1bd55598
RD
20539SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20540 PyObject *resultobj = 0;
20541 wxNotebook *arg1 = (wxNotebook *) 0 ;
20542 int result;
20543 void *argp1 = 0 ;
20544 int res1 = 0 ;
20545 PyObject *swig_obj[1] ;
20546
20547 if (!args) SWIG_fail;
20548 swig_obj[0] = args;
20549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20550 if (!SWIG_IsOK(res1)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20552 }
20553 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 resultobj = SWIG_From_int(static_cast< int >(result));
20561 return resultobj;
20562fail:
20563 return NULL;
20564}
20565
20566
20567SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20568 PyObject *resultobj = 0;
20569 wxNotebook *arg1 = (wxNotebook *) 0 ;
20570 wxSize *arg2 = 0 ;
20571 void *argp1 = 0 ;
20572 int res1 = 0 ;
20573 wxSize temp2 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 char * kwnames[] = {
20577 (char *) "self",(char *) "padding", NULL
20578 };
20579
20580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20582 if (!SWIG_IsOK(res1)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20584 }
20585 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20586 {
20587 arg2 = &temp2;
20588 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20589 }
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 (arg1)->SetPadding((wxSize const &)*arg2);
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 resultobj = SWIG_Py_Void();
20597 return resultobj;
20598fail:
20599 return NULL;
20600}
20601
20602
20603SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj = 0;
20605 wxNotebook *arg1 = (wxNotebook *) 0 ;
20606 wxSize *arg2 = 0 ;
20607 void *argp1 = 0 ;
20608 int res1 = 0 ;
20609 wxSize temp2 ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 char * kwnames[] = {
20613 (char *) "self",(char *) "sz", NULL
20614 };
20615
20616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20618 if (!SWIG_IsOK(res1)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20620 }
20621 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20622 {
20623 arg2 = &temp2;
20624 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 (arg1)->SetTabSize((wxSize const &)*arg2);
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 resultobj = SWIG_Py_Void();
20633 return resultobj;
20634fail:
20635 return NULL;
20636}
20637
20638
1bd55598
RD
20639SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20640 PyObject *resultobj = 0;
20641 wxNotebook *arg1 = (wxNotebook *) 0 ;
20642 wxColour result;
20643 void *argp1 = 0 ;
20644 int res1 = 0 ;
20645 PyObject *swig_obj[1] ;
20646
20647 if (!args) SWIG_fail;
20648 swig_obj[0] = args;
20649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20650 if (!SWIG_IsOK(res1)) {
20651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20652 }
20653 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20661 return resultobj;
20662fail:
20663 return NULL;
20664}
20665
20666
20667SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj = 0;
20669 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20670 SwigValueWrapper<wxVisualAttributes > result;
20671 int val1 ;
20672 int ecode1 = 0 ;
20673 PyObject * obj0 = 0 ;
20674 char * kwnames[] = {
20675 (char *) "variant", NULL
20676 };
20677
20678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20679 if (obj0) {
20680 ecode1 = SWIG_AsVal_int(obj0, &val1);
20681 if (!SWIG_IsOK(ecode1)) {
20682 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20683 }
20684 arg1 = static_cast< wxWindowVariant >(val1);
20685 }
20686 {
20687 if (!wxPyCheckForApp()) SWIG_fail;
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 result = wxNotebook::GetClassDefaultAttributes(arg1);
20690 wxPyEndAllowThreads(__tstate);
20691 if (PyErr_Occurred()) SWIG_fail;
20692 }
20693 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20694 return resultobj;
20695fail:
20696 return NULL;
20697}
20698
20699
20700SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20701 PyObject *obj;
20702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20703 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
20704 return SWIG_Py_Void();
20705}
20706
20707SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20708 return SWIG_Python_InitShadowInstance(args);
20709}
20710
20711SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20712 PyObject *resultobj = 0;
20713 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20714 int arg2 = (int) 0 ;
20715 int arg3 = (int) -1 ;
20716 int arg4 = (int) -1 ;
20717 wxNotebookEvent *result = 0 ;
20718 int val1 ;
20719 int ecode1 = 0 ;
20720 int val2 ;
20721 int ecode2 = 0 ;
20722 int val3 ;
20723 int ecode3 = 0 ;
20724 int val4 ;
20725 int ecode4 = 0 ;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 PyObject * obj2 = 0 ;
20729 PyObject * obj3 = 0 ;
20730 char * kwnames[] = {
20731 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20732 };
20733
20734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20735 if (obj0) {
20736 ecode1 = SWIG_AsVal_int(obj0, &val1);
20737 if (!SWIG_IsOK(ecode1)) {
20738 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20739 }
20740 arg1 = static_cast< wxEventType >(val1);
20741 }
20742 if (obj1) {
20743 ecode2 = SWIG_AsVal_int(obj1, &val2);
20744 if (!SWIG_IsOK(ecode2)) {
20745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20746 }
20747 arg2 = static_cast< int >(val2);
20748 }
20749 if (obj2) {
20750 ecode3 = SWIG_AsVal_int(obj2, &val3);
20751 if (!SWIG_IsOK(ecode3)) {
20752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20753 }
20754 arg3 = static_cast< int >(val3);
20755 }
20756 if (obj3) {
20757 ecode4 = SWIG_AsVal_int(obj3, &val4);
20758 if (!SWIG_IsOK(ecode4)) {
20759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20760 }
20761 arg4 = static_cast< int >(val4);
20762 }
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
20770 return resultobj;
20771fail:
20772 return NULL;
20773}
20774
20775
20776SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20777 PyObject *obj;
20778 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20779 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
20780 return SWIG_Py_Void();
20781}
20782
20783SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20784 return SWIG_Python_InitShadowInstance(args);
20785}
20786
20787SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj = 0;
20789 wxWindow *arg1 = (wxWindow *) 0 ;
20790 int arg2 = (int) -1 ;
20791 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20792 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20793 wxSize const &arg4_defvalue = wxDefaultSize ;
20794 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20795 long arg5 = (long) 0 ;
20796 wxString const &arg6_defvalue = wxPyEmptyString ;
20797 wxString *arg6 = (wxString *) &arg6_defvalue ;
20798 wxListbook *result = 0 ;
20799 void *argp1 = 0 ;
20800 int res1 = 0 ;
20801 int val2 ;
20802 int ecode2 = 0 ;
20803 wxPoint temp3 ;
20804 wxSize temp4 ;
20805 long val5 ;
20806 int ecode5 = 0 ;
20807 bool temp6 = false ;
20808 PyObject * obj0 = 0 ;
20809 PyObject * obj1 = 0 ;
20810 PyObject * obj2 = 0 ;
20811 PyObject * obj3 = 0 ;
20812 PyObject * obj4 = 0 ;
20813 PyObject * obj5 = 0 ;
20814 char * kwnames[] = {
20815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20816 };
20817
20818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20820 if (!SWIG_IsOK(res1)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20822 }
20823 arg1 = reinterpret_cast< wxWindow * >(argp1);
20824 if (obj1) {
20825 ecode2 = SWIG_AsVal_int(obj1, &val2);
20826 if (!SWIG_IsOK(ecode2)) {
20827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20828 }
20829 arg2 = static_cast< int >(val2);
20830 }
20831 if (obj2) {
d55e5bfc 20832 {
1bd55598
RD
20833 arg3 = &temp3;
20834 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 20835 }
1bd55598
RD
20836 }
20837 if (obj3) {
d55e5bfc 20838 {
1bd55598
RD
20839 arg4 = &temp4;
20840 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20841 }
1bd55598
RD
20842 }
20843 if (obj4) {
20844 ecode5 = SWIG_AsVal_long(obj4, &val5);
20845 if (!SWIG_IsOK(ecode5)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20847 }
20848 arg5 = static_cast< long >(val5);
20849 }
20850 if (obj5) {
d55e5bfc 20851 {
1bd55598
RD
20852 arg6 = wxString_in_helper(obj5);
20853 if (arg6 == NULL) SWIG_fail;
20854 temp6 = true;
d55e5bfc 20855 }
1bd55598
RD
20856 }
20857 {
20858 if (!wxPyCheckForApp()) SWIG_fail;
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
20865 {
20866 if (temp6)
20867 delete arg6;
20868 }
20869 return resultobj;
20870fail:
20871 {
20872 if (temp6)
20873 delete arg6;
20874 }
20875 return NULL;
20876}
20877
20878
20879SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20880 PyObject *resultobj = 0;
20881 wxListbook *result = 0 ;
20882
20883 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
20884 {
20885 if (!wxPyCheckForApp()) SWIG_fail;
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (wxListbook *)new wxListbook();
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
20892 return resultobj;
20893fail:
20894 return NULL;
20895}
20896
20897
20898SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj = 0;
20900 wxListbook *arg1 = (wxListbook *) 0 ;
20901 wxWindow *arg2 = (wxWindow *) 0 ;
20902 int arg3 = (int) -1 ;
20903 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20904 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20905 wxSize const &arg5_defvalue = wxDefaultSize ;
20906 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20907 long arg6 = (long) 0 ;
20908 wxString const &arg7_defvalue = wxPyEmptyString ;
20909 wxString *arg7 = (wxString *) &arg7_defvalue ;
20910 bool result;
20911 void *argp1 = 0 ;
20912 int res1 = 0 ;
20913 void *argp2 = 0 ;
20914 int res2 = 0 ;
20915 int val3 ;
20916 int ecode3 = 0 ;
20917 wxPoint temp4 ;
20918 wxSize temp5 ;
20919 long val6 ;
20920 int ecode6 = 0 ;
20921 bool temp7 = false ;
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924 PyObject * obj2 = 0 ;
20925 PyObject * obj3 = 0 ;
20926 PyObject * obj4 = 0 ;
20927 PyObject * obj5 = 0 ;
20928 PyObject * obj6 = 0 ;
20929 char * kwnames[] = {
20930 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20931 };
20932
20933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
20935 if (!SWIG_IsOK(res1)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20937 }
20938 arg1 = reinterpret_cast< wxListbook * >(argp1);
20939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20940 if (!SWIG_IsOK(res2)) {
20941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20942 }
20943 arg2 = reinterpret_cast< wxWindow * >(argp2);
20944 if (obj2) {
20945 ecode3 = SWIG_AsVal_int(obj2, &val3);
20946 if (!SWIG_IsOK(ecode3)) {
20947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20948 }
20949 arg3 = static_cast< int >(val3);
20950 }
20951 if (obj3) {
d55e5bfc 20952 {
1bd55598
RD
20953 arg4 = &temp4;
20954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20955 }
1bd55598
RD
20956 }
20957 if (obj4) {
d55e5bfc 20958 {
1bd55598
RD
20959 arg5 = &temp5;
20960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20961 }
1bd55598
RD
20962 }
20963 if (obj5) {
20964 ecode6 = SWIG_AsVal_long(obj5, &val6);
20965 if (!SWIG_IsOK(ecode6)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20967 }
20968 arg6 = static_cast< long >(val6);
20969 }
20970 if (obj6) {
d55e5bfc 20971 {
1bd55598
RD
20972 arg7 = wxString_in_helper(obj6);
20973 if (arg7 == NULL) SWIG_fail;
20974 temp7 = true;
d55e5bfc 20975 }
1bd55598
RD
20976 }
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 {
20984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20985 }
20986 {
20987 if (temp7)
20988 delete arg7;
20989 }
20990 return resultobj;
20991fail:
20992 {
20993 if (temp7)
20994 delete arg7;
20995 }
20996 return NULL;
d55e5bfc
RD
20997}
20998
20999
1bd55598
RD
21000SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21001 PyObject *resultobj = 0;
21002 wxListbook *arg1 = (wxListbook *) 0 ;
21003 wxListView *result = 0 ;
21004 void *argp1 = 0 ;
21005 int res1 = 0 ;
21006 PyObject *swig_obj[1] ;
21007
21008 if (!args) SWIG_fail;
21009 swig_obj[0] = args;
21010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21011 if (!SWIG_IsOK(res1)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21013 }
21014 arg1 = reinterpret_cast< wxListbook * >(argp1);
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 result = (wxListView *)(arg1)->GetListView();
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21022 return resultobj;
21023fail:
21024 return NULL;
21025}
21026
21027
21028SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21029 PyObject *obj;
21030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21031 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21032 return SWIG_Py_Void();
21033}
21034
21035SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21036 return SWIG_Python_InitShadowInstance(args);
21037}
21038
21039SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj = 0;
21041 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21042 int arg2 = (int) 0 ;
21043 int arg3 = (int) -1 ;
21044 int arg4 = (int) -1 ;
21045 wxListbookEvent *result = 0 ;
21046 int val1 ;
21047 int ecode1 = 0 ;
21048 int val2 ;
21049 int ecode2 = 0 ;
21050 int val3 ;
21051 int ecode3 = 0 ;
21052 int val4 ;
21053 int ecode4 = 0 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 PyObject * obj2 = 0 ;
21057 PyObject * obj3 = 0 ;
21058 char * kwnames[] = {
21059 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21060 };
21061
21062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21063 if (obj0) {
21064 ecode1 = SWIG_AsVal_int(obj0, &val1);
21065 if (!SWIG_IsOK(ecode1)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21067 }
21068 arg1 = static_cast< wxEventType >(val1);
21069 }
21070 if (obj1) {
21071 ecode2 = SWIG_AsVal_int(obj1, &val2);
21072 if (!SWIG_IsOK(ecode2)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21074 }
21075 arg2 = static_cast< int >(val2);
21076 }
21077 if (obj2) {
21078 ecode3 = SWIG_AsVal_int(obj2, &val3);
21079 if (!SWIG_IsOK(ecode3)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21081 }
21082 arg3 = static_cast< int >(val3);
21083 }
21084 if (obj3) {
21085 ecode4 = SWIG_AsVal_int(obj3, &val4);
21086 if (!SWIG_IsOK(ecode4)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21088 }
21089 arg4 = static_cast< int >(val4);
21090 }
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21098 return resultobj;
21099fail:
21100 return NULL;
21101}
21102
21103
21104SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21105 PyObject *obj;
21106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21107 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21108 return SWIG_Py_Void();
21109}
21110
21111SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21112 return SWIG_Python_InitShadowInstance(args);
21113}
21114
21115SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21116 PyObject *resultobj = 0;
21117 wxWindow *arg1 = (wxWindow *) 0 ;
21118 int arg2 ;
21119 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21120 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21121 wxSize const &arg4_defvalue = wxDefaultSize ;
21122 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21123 long arg5 = (long) 0 ;
21124 wxString const &arg6_defvalue = wxPyEmptyString ;
21125 wxString *arg6 = (wxString *) &arg6_defvalue ;
21126 wxChoicebook *result = 0 ;
21127 void *argp1 = 0 ;
21128 int res1 = 0 ;
21129 int val2 ;
21130 int ecode2 = 0 ;
21131 wxPoint temp3 ;
21132 wxSize temp4 ;
21133 long val5 ;
21134 int ecode5 = 0 ;
21135 bool temp6 = false ;
21136 PyObject * obj0 = 0 ;
21137 PyObject * obj1 = 0 ;
21138 PyObject * obj2 = 0 ;
21139 PyObject * obj3 = 0 ;
21140 PyObject * obj4 = 0 ;
21141 PyObject * obj5 = 0 ;
21142 char * kwnames[] = {
21143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21144 };
21145
21146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21148 if (!SWIG_IsOK(res1)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21150 }
21151 arg1 = reinterpret_cast< wxWindow * >(argp1);
21152 ecode2 = SWIG_AsVal_int(obj1, &val2);
21153 if (!SWIG_IsOK(ecode2)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21155 }
21156 arg2 = static_cast< int >(val2);
21157 if (obj2) {
36ed4f51 21158 {
1bd55598
RD
21159 arg3 = &temp3;
21160 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 21161 }
1bd55598
RD
21162 }
21163 if (obj3) {
36ed4f51 21164 {
1bd55598
RD
21165 arg4 = &temp4;
21166 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21167 }
1bd55598
RD
21168 }
21169 if (obj4) {
21170 ecode5 = SWIG_AsVal_long(obj4, &val5);
21171 if (!SWIG_IsOK(ecode5)) {
21172 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21173 }
21174 arg5 = static_cast< long >(val5);
21175 }
21176 if (obj5) {
d55e5bfc 21177 {
1bd55598
RD
21178 arg6 = wxString_in_helper(obj5);
21179 if (arg6 == NULL) SWIG_fail;
21180 temp6 = true;
d55e5bfc 21181 }
1bd55598
RD
21182 }
21183 {
21184 if (!wxPyCheckForApp()) SWIG_fail;
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21187 wxPyEndAllowThreads(__tstate);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21191 {
21192 if (temp6)
21193 delete arg6;
21194 }
21195 return resultobj;
21196fail:
21197 {
21198 if (temp6)
21199 delete arg6;
21200 }
21201 return NULL;
d55e5bfc
RD
21202}
21203
21204
1bd55598
RD
21205SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21206 PyObject *resultobj = 0;
21207 wxChoicebook *result = 0 ;
21208
21209 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21210 {
21211 if (!wxPyCheckForApp()) SWIG_fail;
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 result = (wxChoicebook *)new wxChoicebook();
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21218 return resultobj;
21219fail:
21220 return NULL;
21221}
21222
21223
21224SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj = 0;
21226 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21227 wxWindow *arg2 = (wxWindow *) 0 ;
21228 int arg3 ;
21229 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21230 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21231 wxSize const &arg5_defvalue = wxDefaultSize ;
21232 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21233 long arg6 = (long) 0 ;
21234 wxString const &arg7_defvalue = wxPyEmptyString ;
21235 wxString *arg7 = (wxString *) &arg7_defvalue ;
21236 bool result;
21237 void *argp1 = 0 ;
21238 int res1 = 0 ;
21239 void *argp2 = 0 ;
21240 int res2 = 0 ;
21241 int val3 ;
21242 int ecode3 = 0 ;
21243 wxPoint temp4 ;
21244 wxSize temp5 ;
21245 long val6 ;
21246 int ecode6 = 0 ;
21247 bool temp7 = false ;
21248 PyObject * obj0 = 0 ;
21249 PyObject * obj1 = 0 ;
21250 PyObject * obj2 = 0 ;
21251 PyObject * obj3 = 0 ;
21252 PyObject * obj4 = 0 ;
21253 PyObject * obj5 = 0 ;
21254 PyObject * obj6 = 0 ;
21255 char * kwnames[] = {
21256 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21257 };
21258
21259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21261 if (!SWIG_IsOK(res1)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21263 }
21264 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21266 if (!SWIG_IsOK(res2)) {
21267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21268 }
21269 arg2 = reinterpret_cast< wxWindow * >(argp2);
21270 ecode3 = SWIG_AsVal_int(obj2, &val3);
21271 if (!SWIG_IsOK(ecode3)) {
21272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21273 }
21274 arg3 = static_cast< int >(val3);
21275 if (obj3) {
d55e5bfc 21276 {
1bd55598
RD
21277 arg4 = &temp4;
21278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21279 }
1bd55598
RD
21280 }
21281 if (obj4) {
d55e5bfc 21282 {
1bd55598
RD
21283 arg5 = &temp5;
21284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21285 }
1bd55598
RD
21286 }
21287 if (obj5) {
21288 ecode6 = SWIG_AsVal_long(obj5, &val6);
21289 if (!SWIG_IsOK(ecode6)) {
21290 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21291 }
21292 arg6 = static_cast< long >(val6);
21293 }
21294 if (obj6) {
d55e5bfc 21295 {
1bd55598
RD
21296 arg7 = wxString_in_helper(obj6);
21297 if (arg7 == NULL) SWIG_fail;
21298 temp7 = true;
d55e5bfc 21299 }
1bd55598
RD
21300 }
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 {
21308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21309 }
21310 {
21311 if (temp7)
21312 delete arg7;
21313 }
21314 return resultobj;
21315fail:
21316 {
21317 if (temp7)
21318 delete arg7;
21319 }
21320 return NULL;
d55e5bfc
RD
21321}
21322
21323
1bd55598
RD
21324SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21325 PyObject *resultobj = 0;
21326 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21327 wxChoice *result = 0 ;
21328 void *argp1 = 0 ;
21329 int res1 = 0 ;
21330 PyObject *swig_obj[1] ;
21331
21332 if (!args) SWIG_fail;
21333 swig_obj[0] = args;
21334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21335 if (!SWIG_IsOK(res1)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21337 }
21338 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21346 return resultobj;
21347fail:
21348 return NULL;
21349}
21350
21351
21352SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21353 PyObject *obj;
21354 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21355 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21356 return SWIG_Py_Void();
21357}
21358
21359SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21360 return SWIG_Python_InitShadowInstance(args);
21361}
21362
21363SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj = 0;
21365 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21366 int arg2 = (int) 0 ;
21367 int arg3 = (int) -1 ;
21368 int arg4 = (int) -1 ;
21369 wxChoicebookEvent *result = 0 ;
21370 int val1 ;
21371 int ecode1 = 0 ;
21372 int val2 ;
21373 int ecode2 = 0 ;
21374 int val3 ;
21375 int ecode3 = 0 ;
21376 int val4 ;
21377 int ecode4 = 0 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 PyObject * obj2 = 0 ;
21381 PyObject * obj3 = 0 ;
21382 char * kwnames[] = {
21383 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21384 };
21385
21386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21387 if (obj0) {
21388 ecode1 = SWIG_AsVal_int(obj0, &val1);
21389 if (!SWIG_IsOK(ecode1)) {
21390 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21391 }
21392 arg1 = static_cast< wxEventType >(val1);
21393 }
21394 if (obj1) {
21395 ecode2 = SWIG_AsVal_int(obj1, &val2);
21396 if (!SWIG_IsOK(ecode2)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21398 }
21399 arg2 = static_cast< int >(val2);
21400 }
21401 if (obj2) {
21402 ecode3 = SWIG_AsVal_int(obj2, &val3);
21403 if (!SWIG_IsOK(ecode3)) {
21404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21405 }
21406 arg3 = static_cast< int >(val3);
21407 }
21408 if (obj3) {
21409 ecode4 = SWIG_AsVal_int(obj3, &val4);
21410 if (!SWIG_IsOK(ecode4)) {
21411 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21412 }
21413 arg4 = static_cast< int >(val4);
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21422 return resultobj;
21423fail:
21424 return NULL;
21425}
21426
21427
21428SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21429 PyObject *obj;
21430 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21431 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21432 return SWIG_Py_Void();
21433}
21434
21435SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21436 return SWIG_Python_InitShadowInstance(args);
21437}
21438
21439SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj = 0;
21441 wxWindow *arg1 = (wxWindow *) 0 ;
21442 int arg2 ;
21443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21445 wxSize const &arg4_defvalue = wxDefaultSize ;
21446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21447 long arg5 = (long) wxBK_DEFAULT ;
21448 wxString const &arg6_defvalue = wxPyEmptyString ;
21449 wxString *arg6 = (wxString *) &arg6_defvalue ;
21450 wxTreebook *result = 0 ;
21451 void *argp1 = 0 ;
21452 int res1 = 0 ;
21453 int val2 ;
21454 int ecode2 = 0 ;
21455 wxPoint temp3 ;
21456 wxSize temp4 ;
21457 long val5 ;
21458 int ecode5 = 0 ;
21459 bool temp6 = false ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 PyObject * obj3 = 0 ;
21464 PyObject * obj4 = 0 ;
21465 PyObject * obj5 = 0 ;
21466 char * kwnames[] = {
21467 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21468 };
21469
21470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21472 if (!SWIG_IsOK(res1)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21474 }
21475 arg1 = reinterpret_cast< wxWindow * >(argp1);
21476 ecode2 = SWIG_AsVal_int(obj1, &val2);
21477 if (!SWIG_IsOK(ecode2)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21479 }
21480 arg2 = static_cast< int >(val2);
21481 if (obj2) {
36ed4f51 21482 {
1bd55598
RD
21483 arg3 = &temp3;
21484 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 21485 }
1bd55598
RD
21486 }
21487 if (obj3) {
36ed4f51 21488 {
1bd55598
RD
21489 arg4 = &temp4;
21490 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21491 }
1bd55598
RD
21492 }
21493 if (obj4) {
21494 ecode5 = SWIG_AsVal_long(obj4, &val5);
21495 if (!SWIG_IsOK(ecode5)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21497 }
21498 arg5 = static_cast< long >(val5);
21499 }
21500 if (obj5) {
d55e5bfc 21501 {
1bd55598
RD
21502 arg6 = wxString_in_helper(obj5);
21503 if (arg6 == NULL) SWIG_fail;
21504 temp6 = true;
d55e5bfc 21505 }
1bd55598
RD
21506 }
21507 {
21508 if (!wxPyCheckForApp()) SWIG_fail;
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21515 {
21516 if (temp6)
21517 delete arg6;
21518 }
21519 return resultobj;
21520fail:
21521 {
21522 if (temp6)
21523 delete arg6;
21524 }
21525 return NULL;
d55e5bfc
RD
21526}
21527
21528
1bd55598
RD
21529SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21530 PyObject *resultobj = 0;
21531 wxTreebook *result = 0 ;
21532
21533 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21534 {
21535 if (!wxPyCheckForApp()) SWIG_fail;
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (wxTreebook *)new wxTreebook();
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21542 return resultobj;
21543fail:
21544 return NULL;
21545}
21546
21547
21548SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj = 0;
21550 wxTreebook *arg1 = (wxTreebook *) 0 ;
21551 wxWindow *arg2 = (wxWindow *) 0 ;
21552 int arg3 ;
21553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21555 wxSize const &arg5_defvalue = wxDefaultSize ;
21556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21557 long arg6 = (long) wxBK_DEFAULT ;
21558 wxString const &arg7_defvalue = wxPyEmptyString ;
21559 wxString *arg7 = (wxString *) &arg7_defvalue ;
21560 bool result;
21561 void *argp1 = 0 ;
21562 int res1 = 0 ;
21563 void *argp2 = 0 ;
21564 int res2 = 0 ;
21565 int val3 ;
21566 int ecode3 = 0 ;
21567 wxPoint temp4 ;
21568 wxSize temp5 ;
21569 long val6 ;
21570 int ecode6 = 0 ;
21571 bool temp7 = false ;
21572 PyObject * obj0 = 0 ;
21573 PyObject * obj1 = 0 ;
21574 PyObject * obj2 = 0 ;
21575 PyObject * obj3 = 0 ;
21576 PyObject * obj4 = 0 ;
21577 PyObject * obj5 = 0 ;
21578 PyObject * obj6 = 0 ;
21579 char * kwnames[] = {
21580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21581 };
21582
21583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21585 if (!SWIG_IsOK(res1)) {
21586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21587 }
21588 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21589 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21590 if (!SWIG_IsOK(res2)) {
21591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21592 }
21593 arg2 = reinterpret_cast< wxWindow * >(argp2);
21594 ecode3 = SWIG_AsVal_int(obj2, &val3);
21595 if (!SWIG_IsOK(ecode3)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21597 }
21598 arg3 = static_cast< int >(val3);
21599 if (obj3) {
36ed4f51 21600 {
1bd55598
RD
21601 arg4 = &temp4;
21602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21603 }
1bd55598
RD
21604 }
21605 if (obj4) {
d55e5bfc 21606 {
1bd55598
RD
21607 arg5 = &temp5;
21608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21609 }
1bd55598
RD
21610 }
21611 if (obj5) {
21612 ecode6 = SWIG_AsVal_long(obj5, &val6);
21613 if (!SWIG_IsOK(ecode6)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21615 }
21616 arg6 = static_cast< long >(val6);
21617 }
21618 if (obj6) {
36ed4f51 21619 {
1bd55598
RD
21620 arg7 = wxString_in_helper(obj6);
21621 if (arg7 == NULL) SWIG_fail;
21622 temp7 = true;
36ed4f51 21623 }
1bd55598
RD
21624 }
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 {
21632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21633 }
21634 {
21635 if (temp7)
21636 delete arg7;
21637 }
21638 return resultobj;
21639fail:
21640 {
21641 if (temp7)
21642 delete arg7;
21643 }
21644 return NULL;
21645}
21646
21647
21648SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj = 0;
21650 wxTreebook *arg1 = (wxTreebook *) 0 ;
21651 size_t arg2 ;
21652 wxWindow *arg3 = (wxWindow *) 0 ;
21653 wxString *arg4 = 0 ;
21654 bool arg5 = (bool) false ;
21655 int arg6 = (int) wxNOT_FOUND ;
21656 bool result;
21657 void *argp1 = 0 ;
21658 int res1 = 0 ;
21659 size_t val2 ;
21660 int ecode2 = 0 ;
21661 void *argp3 = 0 ;
21662 int res3 = 0 ;
21663 bool temp4 = false ;
21664 bool val5 ;
21665 int ecode5 = 0 ;
21666 int val6 ;
21667 int ecode6 = 0 ;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 PyObject * obj2 = 0 ;
21671 PyObject * obj3 = 0 ;
21672 PyObject * obj4 = 0 ;
21673 PyObject * obj5 = 0 ;
21674 char * kwnames[] = {
21675 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21676 };
21677
21678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21680 if (!SWIG_IsOK(res1)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21682 }
21683 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21684 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21685 if (!SWIG_IsOK(ecode2)) {
21686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21687 }
21688 arg2 = static_cast< size_t >(val2);
21689 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
21690 if (!SWIG_IsOK(res3)) {
21691 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21692 }
21693 arg3 = reinterpret_cast< wxWindow * >(argp3);
21694 {
21695 arg4 = wxString_in_helper(obj3);
21696 if (arg4 == NULL) SWIG_fail;
21697 temp4 = true;
21698 }
21699 if (obj4) {
21700 ecode5 = SWIG_AsVal_bool(obj4, &val5);
21701 if (!SWIG_IsOK(ecode5)) {
21702 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21703 }
21704 arg5 = static_cast< bool >(val5);
21705 }
21706 if (obj5) {
21707 ecode6 = SWIG_AsVal_int(obj5, &val6);
21708 if (!SWIG_IsOK(ecode6)) {
21709 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21710 }
21711 arg6 = static_cast< int >(val6);
21712 }
21713 {
21714 PyThreadState* __tstate = wxPyBeginAllowThreads();
21715 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 {
21720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21721 }
21722 {
21723 if (temp4)
21724 delete arg4;
21725 }
21726 return resultobj;
21727fail:
21728 {
21729 if (temp4)
21730 delete arg4;
21731 }
21732 return NULL;
21733}
21734
21735
21736SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21737 PyObject *resultobj = 0;
21738 wxTreebook *arg1 = (wxTreebook *) 0 ;
21739 wxWindow *arg2 = (wxWindow *) 0 ;
21740 wxString *arg3 = 0 ;
21741 bool arg4 = (bool) false ;
21742 int arg5 = (int) wxNOT_FOUND ;
21743 bool result;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 void *argp2 = 0 ;
21747 int res2 = 0 ;
21748 bool temp3 = false ;
21749 bool val4 ;
21750 int ecode4 = 0 ;
21751 int val5 ;
21752 int ecode5 = 0 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 PyObject * obj2 = 0 ;
21756 PyObject * obj3 = 0 ;
21757 PyObject * obj4 = 0 ;
21758 char * kwnames[] = {
21759 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21760 };
21761
21762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21764 if (!SWIG_IsOK(res1)) {
21765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21766 }
21767 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21769 if (!SWIG_IsOK(res2)) {
21770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21771 }
21772 arg2 = reinterpret_cast< wxWindow * >(argp2);
21773 {
21774 arg3 = wxString_in_helper(obj2);
21775 if (arg3 == NULL) SWIG_fail;
21776 temp3 = true;
21777 }
21778 if (obj3) {
21779 ecode4 = SWIG_AsVal_bool(obj3, &val4);
21780 if (!SWIG_IsOK(ecode4)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21782 }
21783 arg4 = static_cast< bool >(val4);
21784 }
21785 if (obj4) {
21786 ecode5 = SWIG_AsVal_int(obj4, &val5);
21787 if (!SWIG_IsOK(ecode5)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21789 }
21790 arg5 = static_cast< int >(val5);
21791 }
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21800 }
21801 {
21802 if (temp3)
21803 delete arg3;
21804 }
21805 return resultobj;
21806fail:
21807 {
21808 if (temp3)
21809 delete arg3;
21810 }
21811 return NULL;
21812}
21813
21814
21815SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21816 PyObject *resultobj = 0;
21817 wxTreebook *arg1 = (wxTreebook *) 0 ;
21818 size_t arg2 ;
21819 bool result;
21820 void *argp1 = 0 ;
21821 int res1 = 0 ;
21822 size_t val2 ;
21823 int ecode2 = 0 ;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 char * kwnames[] = {
21827 (char *) "self",(char *) "pos", NULL
21828 };
21829
21830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
21831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21832 if (!SWIG_IsOK(res1)) {
21833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21834 }
21835 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21836 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21837 if (!SWIG_IsOK(ecode2)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21839 }
21840 arg2 = static_cast< size_t >(val2);
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
21844 wxPyEndAllowThreads(__tstate);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 }
21847 {
21848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21849 }
21850 return resultobj;
21851fail:
21852 return NULL;
21853}
21854
21855
21856SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj = 0;
21858 wxTreebook *arg1 = (wxTreebook *) 0 ;
21859 size_t arg2 ;
21860 bool arg3 = (bool) true ;
21861 bool result;
21862 void *argp1 = 0 ;
21863 int res1 = 0 ;
21864 size_t val2 ;
21865 int ecode2 = 0 ;
21866 bool val3 ;
21867 int ecode3 = 0 ;
21868 PyObject * obj0 = 0 ;
21869 PyObject * obj1 = 0 ;
21870 PyObject * obj2 = 0 ;
21871 char * kwnames[] = {
21872 (char *) "self",(char *) "pos",(char *) "expand", NULL
21873 };
21874
21875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21877 if (!SWIG_IsOK(res1)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21879 }
21880 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21881 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21882 if (!SWIG_IsOK(ecode2)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21884 }
21885 arg2 = static_cast< size_t >(val2);
21886 if (obj2) {
21887 ecode3 = SWIG_AsVal_bool(obj2, &val3);
21888 if (!SWIG_IsOK(ecode3)) {
21889 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21890 }
21891 arg3 = static_cast< bool >(val3);
21892 }
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 result = (bool)(arg1)->ExpandNode(arg2,arg3);
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 {
21900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21901 }
21902 return resultobj;
21903fail:
21904 return NULL;
21905}
21906
21907
21908SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj = 0;
21910 wxTreebook *arg1 = (wxTreebook *) 0 ;
21911 size_t arg2 ;
21912 bool result;
21913 void *argp1 = 0 ;
21914 int res1 = 0 ;
21915 size_t val2 ;
21916 int ecode2 = 0 ;
21917 PyObject * obj0 = 0 ;
21918 PyObject * obj1 = 0 ;
21919 char * kwnames[] = {
21920 (char *) "self",(char *) "pos", NULL
21921 };
21922
21923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
21924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21925 if (!SWIG_IsOK(res1)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21927 }
21928 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21929 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21930 if (!SWIG_IsOK(ecode2)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21932 }
21933 arg2 = static_cast< size_t >(val2);
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (bool)(arg1)->CollapseNode(arg2);
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
21940 {
21941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21942 }
21943 return resultobj;
21944fail:
21945 return NULL;
21946}
21947
21948
21949SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj = 0;
21951 wxTreebook *arg1 = (wxTreebook *) 0 ;
21952 size_t arg2 ;
21953 int result;
21954 void *argp1 = 0 ;
21955 int res1 = 0 ;
21956 size_t val2 ;
21957 int ecode2 = 0 ;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 char * kwnames[] = {
21961 (char *) "self",(char *) "pos", NULL
21962 };
21963
21964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
21965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21966 if (!SWIG_IsOK(res1)) {
21967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21968 }
21969 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21970 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21971 if (!SWIG_IsOK(ecode2)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21973 }
21974 arg2 = static_cast< size_t >(val2);
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 resultobj = SWIG_From_int(static_cast< int >(result));
21982 return resultobj;
21983fail:
21984 return NULL;
d55e5bfc
RD
21985}
21986
21987
1bd55598
RD
21988SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21989 PyObject *resultobj = 0;
21990 wxTreebook *arg1 = (wxTreebook *) 0 ;
21991 wxTreeCtrl *result = 0 ;
21992 void *argp1 = 0 ;
21993 int res1 = 0 ;
21994 PyObject *swig_obj[1] ;
21995
21996 if (!args) SWIG_fail;
21997 swig_obj[0] = args;
21998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21999 if (!SWIG_IsOK(res1)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22001 }
22002 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
22010 return resultobj;
22011fail:
22012 return NULL;
22013}
22014
22015
22016SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22017 PyObject *obj;
22018 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22019 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22020 return SWIG_Py_Void();
22021}
22022
22023SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22024 return SWIG_Python_InitShadowInstance(args);
22025}
22026
22027SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj = 0;
22029 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22030 int arg2 = (int) 0 ;
22031 int arg3 = (int) wxNOT_FOUND ;
22032 int arg4 = (int) wxNOT_FOUND ;
22033 wxTreebookEvent *result = 0 ;
22034 int val1 ;
22035 int ecode1 = 0 ;
22036 int val2 ;
22037 int ecode2 = 0 ;
22038 int val3 ;
22039 int ecode3 = 0 ;
22040 int val4 ;
22041 int ecode4 = 0 ;
22042 PyObject * obj0 = 0 ;
22043 PyObject * obj1 = 0 ;
22044 PyObject * obj2 = 0 ;
22045 PyObject * obj3 = 0 ;
22046 char * kwnames[] = {
22047 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22048 };
22049
22050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22051 if (obj0) {
22052 ecode1 = SWIG_AsVal_int(obj0, &val1);
22053 if (!SWIG_IsOK(ecode1)) {
22054 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22055 }
22056 arg1 = static_cast< wxEventType >(val1);
22057 }
22058 if (obj1) {
22059 ecode2 = SWIG_AsVal_int(obj1, &val2);
22060 if (!SWIG_IsOK(ecode2)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22062 }
22063 arg2 = static_cast< int >(val2);
22064 }
22065 if (obj2) {
22066 ecode3 = SWIG_AsVal_int(obj2, &val3);
22067 if (!SWIG_IsOK(ecode3)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22069 }
22070 arg3 = static_cast< int >(val3);
22071 }
22072 if (obj3) {
22073 ecode4 = SWIG_AsVal_int(obj3, &val4);
22074 if (!SWIG_IsOK(ecode4)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22076 }
22077 arg4 = static_cast< int >(val4);
22078 }
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22086 return resultobj;
22087fail:
22088 return NULL;
22089}
22090
22091
22092SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22093 PyObject *obj;
22094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22095 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22096 return SWIG_Py_Void();
22097}
22098
22099SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22100 return SWIG_Python_InitShadowInstance(args);
22101}
22102
22103SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj = 0;
22105 wxWindow *arg1 = (wxWindow *) 0 ;
22106 int arg2 ;
22107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22109 wxSize const &arg4_defvalue = wxDefaultSize ;
22110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22111 long arg5 = (long) wxBK_DEFAULT ;
22112 wxString const &arg6_defvalue = wxPyEmptyString ;
22113 wxString *arg6 = (wxString *) &arg6_defvalue ;
22114 wxToolbook *result = 0 ;
22115 void *argp1 = 0 ;
22116 int res1 = 0 ;
22117 int val2 ;
22118 int ecode2 = 0 ;
22119 wxPoint temp3 ;
22120 wxSize temp4 ;
22121 long val5 ;
22122 int ecode5 = 0 ;
22123 bool temp6 = false ;
22124 PyObject * obj0 = 0 ;
22125 PyObject * obj1 = 0 ;
22126 PyObject * obj2 = 0 ;
22127 PyObject * obj3 = 0 ;
22128 PyObject * obj4 = 0 ;
22129 PyObject * obj5 = 0 ;
22130 char * kwnames[] = {
22131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22132 };
22133
22134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22136 if (!SWIG_IsOK(res1)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22138 }
22139 arg1 = reinterpret_cast< wxWindow * >(argp1);
22140 ecode2 = SWIG_AsVal_int(obj1, &val2);
22141 if (!SWIG_IsOK(ecode2)) {
22142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22143 }
22144 arg2 = static_cast< int >(val2);
22145 if (obj2) {
36ed4f51 22146 {
1bd55598
RD
22147 arg3 = &temp3;
22148 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 22149 }
1bd55598
RD
22150 }
22151 if (obj3) {
36ed4f51 22152 {
1bd55598
RD
22153 arg4 = &temp4;
22154 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 22155 }
1bd55598
RD
22156 }
22157 if (obj4) {
22158 ecode5 = SWIG_AsVal_long(obj4, &val5);
22159 if (!SWIG_IsOK(ecode5)) {
22160 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22161 }
22162 arg5 = static_cast< long >(val5);
22163 }
22164 if (obj5) {
d55e5bfc 22165 {
1bd55598
RD
22166 arg6 = wxString_in_helper(obj5);
22167 if (arg6 == NULL) SWIG_fail;
22168 temp6 = true;
d55e5bfc 22169 }
1bd55598
RD
22170 }
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22178 {
22179 if (temp6)
22180 delete arg6;
22181 }
22182 return resultobj;
22183fail:
22184 {
22185 if (temp6)
22186 delete arg6;
22187 }
22188 return NULL;
d55e5bfc
RD
22189}
22190
22191
1bd55598
RD
22192SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22193 PyObject *resultobj = 0;
22194 wxToolbook *result = 0 ;
22195
22196 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = (wxToolbook *)new wxToolbook();
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22204 return resultobj;
22205fail:
22206 return NULL;
22207}
22208
22209
22210SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22211 PyObject *resultobj = 0;
22212 wxToolbook *arg1 = (wxToolbook *) 0 ;
22213 wxWindow *arg2 = (wxWindow *) 0 ;
22214 int arg3 ;
22215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22217 wxSize const &arg5_defvalue = wxDefaultSize ;
22218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22219 long arg6 = (long) 0 ;
22220 wxString const &arg7_defvalue = wxEmptyString ;
22221 wxString *arg7 = (wxString *) &arg7_defvalue ;
22222 bool result;
22223 void *argp1 = 0 ;
22224 int res1 = 0 ;
22225 void *argp2 = 0 ;
22226 int res2 = 0 ;
22227 int val3 ;
22228 int ecode3 = 0 ;
22229 wxPoint temp4 ;
22230 wxSize temp5 ;
22231 long val6 ;
22232 int ecode6 = 0 ;
22233 bool temp7 = false ;
22234 PyObject * obj0 = 0 ;
22235 PyObject * obj1 = 0 ;
22236 PyObject * obj2 = 0 ;
22237 PyObject * obj3 = 0 ;
22238 PyObject * obj4 = 0 ;
22239 PyObject * obj5 = 0 ;
22240 PyObject * obj6 = 0 ;
22241 char * kwnames[] = {
22242 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22243 };
22244
22245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22247 if (!SWIG_IsOK(res1)) {
22248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22249 }
22250 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22251 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22252 if (!SWIG_IsOK(res2)) {
22253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22254 }
22255 arg2 = reinterpret_cast< wxWindow * >(argp2);
22256 ecode3 = SWIG_AsVal_int(obj2, &val3);
22257 if (!SWIG_IsOK(ecode3)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22259 }
22260 arg3 = static_cast< int >(val3);
22261 if (obj3) {
22262 {
22263 arg4 = &temp4;
22264 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 22265 }
1bd55598
RD
22266 }
22267 if (obj4) {
f20a2e1f 22268 {
1bd55598
RD
22269 arg5 = &temp5;
22270 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 22271 }
1bd55598
RD
22272 }
22273 if (obj5) {
22274 ecode6 = SWIG_AsVal_long(obj5, &val6);
22275 if (!SWIG_IsOK(ecode6)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22277 }
22278 arg6 = static_cast< long >(val6);
22279 }
22280 if (obj6) {
f20a2e1f 22281 {
1bd55598
RD
22282 arg7 = wxString_in_helper(obj6);
22283 if (arg7 == NULL) SWIG_fail;
22284 temp7 = true;
f20a2e1f 22285 }
1bd55598
RD
22286 }
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 {
22294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22295 }
22296 {
22297 if (temp7)
22298 delete arg7;
22299 }
22300 return resultobj;
22301fail:
22302 {
22303 if (temp7)
22304 delete arg7;
22305 }
22306 return NULL;
f20a2e1f
RD
22307}
22308
22309
1bd55598
RD
22310SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22311 PyObject *resultobj = 0;
22312 wxToolbook *arg1 = (wxToolbook *) 0 ;
22313 wxToolBarBase *result = 0 ;
22314 void *argp1 = 0 ;
22315 int res1 = 0 ;
22316 PyObject *swig_obj[1] ;
22317
22318 if (!args) SWIG_fail;
22319 swig_obj[0] = args;
22320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22321 if (!SWIG_IsOK(res1)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22323 }
22324 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 resultobj = wxPyMake_wxObject(result, (bool)0);
22333 }
22334 return resultobj;
22335fail:
22336 return NULL;
d55e5bfc
RD
22337}
22338
22339
1bd55598
RD
22340SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22341 PyObject *resultobj = 0;
22342 wxToolbook *arg1 = (wxToolbook *) 0 ;
22343 void *argp1 = 0 ;
22344 int res1 = 0 ;
22345 PyObject *swig_obj[1] ;
22346
22347 if (!args) SWIG_fail;
22348 swig_obj[0] = args;
22349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22350 if (!SWIG_IsOK(res1)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22352 }
22353 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->Realize();
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 resultobj = SWIG_Py_Void();
22361 return resultobj;
22362fail:
22363 return NULL;
22364}
22365
22366
22367SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22368 PyObject *obj;
22369 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22370 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22371 return SWIG_Py_Void();
22372}
22373
22374SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22375 return SWIG_Python_InitShadowInstance(args);
22376}
22377
22378SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj = 0;
22380 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22381 int arg2 = (int) 0 ;
22382 int arg3 = (int) wxNOT_FOUND ;
22383 int arg4 = (int) wxNOT_FOUND ;
22384 wxToolbookEvent *result = 0 ;
22385 int val1 ;
22386 int ecode1 = 0 ;
22387 int val2 ;
22388 int ecode2 = 0 ;
22389 int val3 ;
22390 int ecode3 = 0 ;
22391 int val4 ;
22392 int ecode4 = 0 ;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 PyObject * obj2 = 0 ;
22396 PyObject * obj3 = 0 ;
22397 char * kwnames[] = {
22398 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22399 };
22400
22401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22402 if (obj0) {
22403 ecode1 = SWIG_AsVal_int(obj0, &val1);
22404 if (!SWIG_IsOK(ecode1)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22406 }
22407 arg1 = static_cast< wxEventType >(val1);
22408 }
22409 if (obj1) {
22410 ecode2 = SWIG_AsVal_int(obj1, &val2);
22411 if (!SWIG_IsOK(ecode2)) {
22412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22413 }
22414 arg2 = static_cast< int >(val2);
22415 }
22416 if (obj2) {
22417 ecode3 = SWIG_AsVal_int(obj2, &val3);
22418 if (!SWIG_IsOK(ecode3)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22420 }
22421 arg3 = static_cast< int >(val3);
22422 }
22423 if (obj3) {
22424 ecode4 = SWIG_AsVal_int(obj3, &val4);
22425 if (!SWIG_IsOK(ecode4)) {
22426 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22427 }
22428 arg4 = static_cast< int >(val4);
22429 }
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22437 return resultobj;
22438fail:
22439 return NULL;
d55e5bfc
RD
22440}
22441
22442
1bd55598
RD
22443SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22444 PyObject *obj;
22445 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22446 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22447 return SWIG_Py_Void();
d55e5bfc
RD
22448}
22449
1bd55598
RD
22450SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22451 return SWIG_Python_InitShadowInstance(args);
22452}
d55e5bfc 22453
1bd55598
RD
22454SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22455 PyObject *resultobj = 0;
22456 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22457 int result;
22458 void *argp1 = 0 ;
22459 int res1 = 0 ;
22460 PyObject *swig_obj[1] ;
22461
22462 if (!args) SWIG_fail;
22463 swig_obj[0] = args;
22464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22465 if (!SWIG_IsOK(res1)) {
22466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22467 }
22468 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 result = (int)(arg1)->GetId();
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 resultobj = SWIG_From_int(static_cast< int >(result));
22476 return resultobj;
22477fail:
22478 return NULL;
d55e5bfc 22479}
1bd55598
RD
22480
22481
22482SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22483 PyObject *resultobj = 0;
22484 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22485 wxControl *result = 0 ;
22486 void *argp1 = 0 ;
22487 int res1 = 0 ;
22488 PyObject *swig_obj[1] ;
22489
22490 if (!args) SWIG_fail;
22491 swig_obj[0] = args;
22492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22493 if (!SWIG_IsOK(res1)) {
22494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22495 }
22496 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 result = (wxControl *)(arg1)->GetControl();
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 resultobj = wxPyMake_wxObject(result, 0);
22505 }
22506 return resultobj;
22507fail:
22508 return NULL;
d55e5bfc
RD
22509}
22510
22511
1bd55598
RD
22512SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22513 PyObject *resultobj = 0;
22514 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22515 wxToolBarBase *result = 0 ;
22516 void *argp1 = 0 ;
22517 int res1 = 0 ;
22518 PyObject *swig_obj[1] ;
22519
22520 if (!args) SWIG_fail;
22521 swig_obj[0] = args;
22522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22523 if (!SWIG_IsOK(res1)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22525 }
22526 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 result = (wxToolBarBase *)(arg1)->GetToolBar();
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 {
22534 resultobj = wxPyMake_wxObject(result, (bool)0);
22535 }
22536 return resultobj;
22537fail:
22538 return NULL;
d55e5bfc
RD
22539}
22540
22541
1bd55598
RD
22542SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22543 PyObject *resultobj = 0;
22544 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22545 int result;
22546 void *argp1 = 0 ;
22547 int res1 = 0 ;
22548 PyObject *swig_obj[1] ;
22549
22550 if (!args) SWIG_fail;
22551 swig_obj[0] = args;
22552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22553 if (!SWIG_IsOK(res1)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22555 }
22556 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 result = (int)(arg1)->IsButton();
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_From_int(static_cast< int >(result));
22564 return resultobj;
22565fail:
22566 return NULL;
d55e5bfc
RD
22567}
22568
22569
1bd55598
RD
22570SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *resultobj = 0;
22572 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22573 int result;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 PyObject *swig_obj[1] ;
22577
22578 if (!args) SWIG_fail;
22579 swig_obj[0] = args;
22580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22581 if (!SWIG_IsOK(res1)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22583 }
22584 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = (int)(arg1)->IsControl();
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 resultobj = SWIG_From_int(static_cast< int >(result));
22592 return resultobj;
22593fail:
22594 return NULL;
d55e5bfc
RD
22595}
22596
22597
1bd55598
RD
22598SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22599 PyObject *resultobj = 0;
22600 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22601 int result;
22602 void *argp1 = 0 ;
22603 int res1 = 0 ;
22604 PyObject *swig_obj[1] ;
22605
22606 if (!args) SWIG_fail;
22607 swig_obj[0] = args;
22608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22609 if (!SWIG_IsOK(res1)) {
22610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22611 }
22612 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 result = (int)(arg1)->IsSeparator();
22616 wxPyEndAllowThreads(__tstate);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 }
22619 resultobj = SWIG_From_int(static_cast< int >(result));
22620 return resultobj;
22621fail:
22622 return NULL;
d55e5bfc
RD
22623}
22624
22625
1bd55598
RD
22626SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22627 PyObject *resultobj = 0;
22628 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22629 int result;
22630 void *argp1 = 0 ;
22631 int res1 = 0 ;
22632 PyObject *swig_obj[1] ;
22633
22634 if (!args) SWIG_fail;
22635 swig_obj[0] = args;
22636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22637 if (!SWIG_IsOK(res1)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22639 }
22640 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 result = (int)(arg1)->GetStyle();
22644 wxPyEndAllowThreads(__tstate);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 resultobj = SWIG_From_int(static_cast< int >(result));
22648 return resultobj;
22649fail:
22650 return NULL;
d55e5bfc
RD
22651}
22652
22653
1bd55598
RD
22654SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22655 PyObject *resultobj = 0;
22656 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22657 wxItemKind result;
22658 void *argp1 = 0 ;
22659 int res1 = 0 ;
22660 PyObject *swig_obj[1] ;
22661
22662 if (!args) SWIG_fail;
22663 swig_obj[0] = args;
22664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22665 if (!SWIG_IsOK(res1)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22667 }
22668 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 result = (wxItemKind)(arg1)->GetKind();
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 resultobj = SWIG_From_int(static_cast< int >(result));
22676 return resultobj;
22677fail:
22678 return NULL;
d55e5bfc
RD
22679}
22680
22681
1bd55598
RD
22682SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22683 PyObject *resultobj = 0;
22684 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22685 bool result;
22686 void *argp1 = 0 ;
22687 int res1 = 0 ;
22688 PyObject *swig_obj[1] ;
22689
22690 if (!args) SWIG_fail;
22691 swig_obj[0] = args;
22692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22693 if (!SWIG_IsOK(res1)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22695 }
22696 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 result = (bool)(arg1)->IsEnabled();
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 {
22704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22705 }
22706 return resultobj;
22707fail:
22708 return NULL;
d55e5bfc
RD
22709}
22710
22711
1bd55598
RD
22712SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22713 PyObject *resultobj = 0;
22714 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22715 bool result;
22716 void *argp1 = 0 ;
22717 int res1 = 0 ;
22718 PyObject *swig_obj[1] ;
22719
22720 if (!args) SWIG_fail;
22721 swig_obj[0] = args;
22722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22723 if (!SWIG_IsOK(res1)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22725 }
22726 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22727 {
22728 PyThreadState* __tstate = wxPyBeginAllowThreads();
22729 result = (bool)(arg1)->IsToggled();
22730 wxPyEndAllowThreads(__tstate);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 }
22733 {
22734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22735 }
22736 return resultobj;
22737fail:
22738 return NULL;
d55e5bfc
RD
22739}
22740
22741
1bd55598
RD
22742SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22743 PyObject *resultobj = 0;
22744 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22745 bool result;
22746 void *argp1 = 0 ;
22747 int res1 = 0 ;
22748 PyObject *swig_obj[1] ;
22749
22750 if (!args) SWIG_fail;
22751 swig_obj[0] = args;
22752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22753 if (!SWIG_IsOK(res1)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22755 }
22756 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22757 {
22758 PyThreadState* __tstate = wxPyBeginAllowThreads();
22759 result = (bool)(arg1)->CanBeToggled();
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 {
22764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22765 }
22766 return resultobj;
22767fail:
22768 return NULL;
d55e5bfc
RD
22769}
22770
22771
1bd55598
RD
22772SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22773 PyObject *resultobj = 0;
22774 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22775 wxBitmap *result = 0 ;
22776 void *argp1 = 0 ;
22777 int res1 = 0 ;
22778 PyObject *swig_obj[1] ;
22779
22780 if (!args) SWIG_fail;
22781 swig_obj[0] = args;
22782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22783 if (!SWIG_IsOK(res1)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22785 }
22786 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22787 {
22788 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22789 {
1bd55598
RD
22790 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
22791 result = (wxBitmap *) &_result_ref;
36ed4f51 22792 }
1bd55598
RD
22793 wxPyEndAllowThreads(__tstate);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 }
22796 {
22797 wxBitmap* resultptr = new wxBitmap(*result);
22798 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22799 }
22800 return resultobj;
22801fail:
22802 return NULL;
d55e5bfc
RD
22803}
22804
22805
1bd55598
RD
22806SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22807 PyObject *resultobj = 0;
22808 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22809 wxBitmap *result = 0 ;
22810 void *argp1 = 0 ;
22811 int res1 = 0 ;
22812 PyObject *swig_obj[1] ;
22813
22814 if (!args) SWIG_fail;
22815 swig_obj[0] = args;
22816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22817 if (!SWIG_IsOK(res1)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22819 }
22820 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 22823 {
1bd55598
RD
22824 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
22825 result = (wxBitmap *) &_result_ref;
d55e5bfc 22826 }
1bd55598
RD
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 {
22831 wxBitmap* resultptr = new wxBitmap(*result);
22832 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22833 }
22834 return resultobj;
22835fail:
22836 return NULL;
d55e5bfc
RD
22837}
22838
22839
1bd55598
RD
22840SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22841 PyObject *resultobj = 0;
22842 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22843 wxBitmap result;
22844 void *argp1 = 0 ;
22845 int res1 = 0 ;
22846 PyObject *swig_obj[1] ;
22847
22848 if (!args) SWIG_fail;
22849 swig_obj[0] = args;
22850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22851 if (!SWIG_IsOK(res1)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22853 }
22854 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (arg1)->GetBitmap();
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
22862 return resultobj;
22863fail:
22864 return NULL;
d55e5bfc
RD
22865}
22866
22867
1bd55598
RD
22868SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22869 PyObject *resultobj = 0;
22870 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22871 wxString result;
22872 void *argp1 = 0 ;
22873 int res1 = 0 ;
22874 PyObject *swig_obj[1] ;
22875
22876 if (!args) SWIG_fail;
22877 swig_obj[0] = args;
22878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22879 if (!SWIG_IsOK(res1)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22881 }
22882 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22883 {
22884 PyThreadState* __tstate = wxPyBeginAllowThreads();
22885 result = (arg1)->GetLabel();
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 {
22890#if wxUSE_UNICODE
22891 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22892#else
22893 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22894#endif
22895 }
22896 return resultobj;
22897fail:
22898 return NULL;
d55e5bfc
RD
22899}
22900
22901
1bd55598
RD
22902SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22903 PyObject *resultobj = 0;
22904 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22905 wxString result;
22906 void *argp1 = 0 ;
22907 int res1 = 0 ;
22908 PyObject *swig_obj[1] ;
22909
22910 if (!args) SWIG_fail;
22911 swig_obj[0] = args;
22912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22913 if (!SWIG_IsOK(res1)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22915 }
22916 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 result = (arg1)->GetShortHelp();
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 {
22924#if wxUSE_UNICODE
22925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22926#else
22927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22928#endif
22929 }
22930 return resultobj;
22931fail:
22932 return NULL;
d55e5bfc
RD
22933}
22934
22935
1bd55598
RD
22936SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22937 PyObject *resultobj = 0;
22938 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22939 wxString result;
22940 void *argp1 = 0 ;
22941 int res1 = 0 ;
22942 PyObject *swig_obj[1] ;
22943
22944 if (!args) SWIG_fail;
22945 swig_obj[0] = args;
22946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22947 if (!SWIG_IsOK(res1)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22949 }
22950 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (arg1)->GetLongHelp();
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 {
22958#if wxUSE_UNICODE
22959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22960#else
22961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22962#endif
22963 }
22964 return resultobj;
22965fail:
22966 return NULL;
22967}
22968
22969
22970SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj = 0;
22972 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22973 bool arg2 ;
22974 bool result;
22975 void *argp1 = 0 ;
22976 int res1 = 0 ;
22977 bool val2 ;
22978 int ecode2 = 0 ;
22979 PyObject * obj0 = 0 ;
22980 PyObject * obj1 = 0 ;
22981 char * kwnames[] = {
22982 (char *) "self",(char *) "enable", NULL
22983 };
22984
22985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
22986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22987 if (!SWIG_IsOK(res1)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 }
22990 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22991 ecode2 = SWIG_AsVal_bool(obj1, &val2);
22992 if (!SWIG_IsOK(ecode2)) {
22993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22994 }
22995 arg2 = static_cast< bool >(val2);
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (bool)(arg1)->Enable(arg2);
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 {
23003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23004 }
23005 return resultobj;
23006fail:
23007 return NULL;
d55e5bfc
RD
23008}
23009
23010
1bd55598
RD
23011SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23012 PyObject *resultobj = 0;
23013 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23014 void *argp1 = 0 ;
23015 int res1 = 0 ;
23016 PyObject *swig_obj[1] ;
23017
23018 if (!args) SWIG_fail;
23019 swig_obj[0] = args;
23020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23021 if (!SWIG_IsOK(res1)) {
23022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23023 }
23024 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23025 {
23026 PyThreadState* __tstate = wxPyBeginAllowThreads();
23027 (arg1)->Toggle();
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 resultobj = SWIG_Py_Void();
23032 return resultobj;
23033fail:
23034 return NULL;
23035}
23036
23037
23038SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj = 0;
23040 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23041 bool arg2 ;
23042 bool result;
23043 void *argp1 = 0 ;
23044 int res1 = 0 ;
23045 bool val2 ;
23046 int ecode2 = 0 ;
23047 PyObject * obj0 = 0 ;
23048 PyObject * obj1 = 0 ;
23049 char * kwnames[] = {
23050 (char *) "self",(char *) "toggle", NULL
23051 };
23052
23053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23055 if (!SWIG_IsOK(res1)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23057 }
23058 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23059 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23060 if (!SWIG_IsOK(ecode2)) {
23061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23062 }
23063 arg2 = static_cast< bool >(val2);
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (bool)(arg1)->SetToggle(arg2);
23067 wxPyEndAllowThreads(__tstate);
23068 if (PyErr_Occurred()) SWIG_fail;
23069 }
23070 {
23071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23072 }
23073 return resultobj;
23074fail:
23075 return NULL;
23076}
23077
23078
23079SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23080 PyObject *resultobj = 0;
23081 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23082 wxString *arg2 = 0 ;
23083 bool result;
23084 void *argp1 = 0 ;
23085 int res1 = 0 ;
23086 bool temp2 = false ;
23087 PyObject * obj0 = 0 ;
23088 PyObject * obj1 = 0 ;
23089 char * kwnames[] = {
23090 (char *) "self",(char *) "help", NULL
23091 };
23092
23093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23095 if (!SWIG_IsOK(res1)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23097 }
23098 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23099 {
23100 arg2 = wxString_in_helper(obj1);
23101 if (arg2 == NULL) SWIG_fail;
23102 temp2 = true;
23103 }
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 {
23111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23112 }
23113 {
23114 if (temp2)
23115 delete arg2;
23116 }
23117 return resultobj;
23118fail:
23119 {
23120 if (temp2)
23121 delete arg2;
23122 }
23123 return NULL;
23124}
23125
23126
23127SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj = 0;
23129 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23130 wxString *arg2 = 0 ;
23131 bool result;
23132 void *argp1 = 0 ;
23133 int res1 = 0 ;
23134 bool temp2 = false ;
23135 PyObject * obj0 = 0 ;
23136 PyObject * obj1 = 0 ;
23137 char * kwnames[] = {
23138 (char *) "self",(char *) "help", NULL
23139 };
23140
23141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23143 if (!SWIG_IsOK(res1)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23145 }
23146 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23147 {
23148 arg2 = wxString_in_helper(obj1);
23149 if (arg2 == NULL) SWIG_fail;
23150 temp2 = true;
23151 }
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 {
23159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23160 }
23161 {
23162 if (temp2)
23163 delete arg2;
23164 }
23165 return resultobj;
23166fail:
23167 {
23168 if (temp2)
23169 delete arg2;
23170 }
23171 return NULL;
23172}
23173
23174
23175SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23176 PyObject *resultobj = 0;
23177 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23178 wxBitmap *arg2 = 0 ;
23179 void *argp1 = 0 ;
23180 int res1 = 0 ;
23181 void *argp2 = 0 ;
23182 int res2 = 0 ;
23183 PyObject * obj0 = 0 ;
23184 PyObject * obj1 = 0 ;
23185 char * kwnames[] = {
23186 (char *) "self",(char *) "bmp", NULL
23187 };
23188
23189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23191 if (!SWIG_IsOK(res1)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23193 }
23194 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23195 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23196 if (!SWIG_IsOK(res2)) {
23197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23198 }
23199 if (!argp2) {
23200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23201 }
23202 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 resultobj = SWIG_Py_Void();
23210 return resultobj;
23211fail:
23212 return NULL;
23213}
23214
23215
23216SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj = 0;
23218 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23219 wxBitmap *arg2 = 0 ;
23220 void *argp1 = 0 ;
23221 int res1 = 0 ;
23222 void *argp2 = 0 ;
23223 int res2 = 0 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char * kwnames[] = {
23227 (char *) "self",(char *) "bmp", NULL
23228 };
23229
23230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23232 if (!SWIG_IsOK(res1)) {
23233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23234 }
23235 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23236 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23237 if (!SWIG_IsOK(res2)) {
23238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23239 }
23240 if (!argp2) {
23241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23242 }
23243 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_Py_Void();
23251 return resultobj;
23252fail:
23253 return NULL;
23254}
23255
23256
23257SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj = 0;
23259 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23260 wxString *arg2 = 0 ;
23261 void *argp1 = 0 ;
23262 int res1 = 0 ;
23263 bool temp2 = false ;
23264 PyObject * obj0 = 0 ;
23265 PyObject * obj1 = 0 ;
23266 char * kwnames[] = {
23267 (char *) "self",(char *) "label", NULL
23268 };
23269
23270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23272 if (!SWIG_IsOK(res1)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23274 }
23275 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23276 {
23277 arg2 = wxString_in_helper(obj1);
23278 if (arg2 == NULL) SWIG_fail;
23279 temp2 = true;
23280 }
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 (arg1)->SetLabel((wxString const &)*arg2);
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
23287 resultobj = SWIG_Py_Void();
23288 {
23289 if (temp2)
23290 delete arg2;
23291 }
23292 return resultobj;
23293fail:
23294 {
23295 if (temp2)
23296 delete arg2;
23297 }
23298 return NULL;
d55e5bfc
RD
23299}
23300
23301
1bd55598
RD
23302SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23303 PyObject *resultobj = 0;
23304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23305 void *argp1 = 0 ;
23306 int res1 = 0 ;
23307 PyObject *swig_obj[1] ;
23308
23309 if (!args) SWIG_fail;
23310 swig_obj[0] = args;
23311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23312 if (!SWIG_IsOK(res1)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23314 }
23315 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 (arg1)->Detach();
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 resultobj = SWIG_Py_Void();
23323 return resultobj;
23324fail:
23325 return NULL;
23326}
23327
23328
23329SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj = 0;
23331 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23332 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23333 void *argp1 = 0 ;
23334 int res1 = 0 ;
23335 void *argp2 = 0 ;
23336 int res2 = 0 ;
23337 PyObject * obj0 = 0 ;
23338 PyObject * obj1 = 0 ;
23339 char * kwnames[] = {
23340 (char *) "self",(char *) "tbar", NULL
23341 };
23342
23343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23345 if (!SWIG_IsOK(res1)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23347 }
23348 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23349 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23350 if (!SWIG_IsOK(res2)) {
23351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23352 }
23353 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->Attach(arg2);
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 resultobj = SWIG_Py_Void();
23361 return resultobj;
23362fail:
23363 return NULL;
d55e5bfc
RD
23364}
23365
23366
1bd55598
RD
23367SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23368 PyObject *resultobj = 0;
23369 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23370 PyObject *result = 0 ;
23371 void *argp1 = 0 ;
23372 int res1 = 0 ;
23373 PyObject *swig_obj[1] ;
23374
23375 if (!args) SWIG_fail;
23376 swig_obj[0] = args;
23377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23378 if (!SWIG_IsOK(res1)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23380 }
23381 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 resultobj = result;
23389 return resultobj;
23390fail:
23391 return NULL;
23392}
23393
23394
23395SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj = 0;
23397 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23398 PyObject *arg2 = (PyObject *) 0 ;
23399 void *argp1 = 0 ;
23400 int res1 = 0 ;
23401 PyObject * obj0 = 0 ;
23402 PyObject * obj1 = 0 ;
23403 char * kwnames[] = {
23404 (char *) "self",(char *) "clientData", NULL
23405 };
23406
23407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23409 if (!SWIG_IsOK(res1)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23411 }
23412 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23413 arg2 = obj1;
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 wxToolBarToolBase_SetClientData(arg1,arg2);
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 resultobj = SWIG_Py_Void();
23421 return resultobj;
23422fail:
23423 return NULL;
23424}
23425
23426
23427SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23428 PyObject *obj;
23429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23430 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23431 return SWIG_Py_Void();
23432}
23433
23434SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj = 0;
23436 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23437 int arg2 ;
23438 wxString *arg3 = 0 ;
23439 wxBitmap *arg4 = 0 ;
23440 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23441 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23442 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23443 wxString const &arg7_defvalue = wxPyEmptyString ;
23444 wxString *arg7 = (wxString *) &arg7_defvalue ;
23445 wxString const &arg8_defvalue = wxPyEmptyString ;
23446 wxString *arg8 = (wxString *) &arg8_defvalue ;
23447 PyObject *arg9 = (PyObject *) NULL ;
23448 wxToolBarToolBase *result = 0 ;
23449 void *argp1 = 0 ;
23450 int res1 = 0 ;
23451 int val2 ;
23452 int ecode2 = 0 ;
23453 bool temp3 = false ;
23454 void *argp4 = 0 ;
23455 int res4 = 0 ;
23456 void *argp5 = 0 ;
23457 int res5 = 0 ;
23458 int val6 ;
23459 int ecode6 = 0 ;
23460 bool temp7 = false ;
23461 bool temp8 = false ;
23462 PyObject * obj0 = 0 ;
23463 PyObject * obj1 = 0 ;
23464 PyObject * obj2 = 0 ;
23465 PyObject * obj3 = 0 ;
23466 PyObject * obj4 = 0 ;
23467 PyObject * obj5 = 0 ;
23468 PyObject * obj6 = 0 ;
23469 PyObject * obj7 = 0 ;
23470 PyObject * obj8 = 0 ;
23471 char * kwnames[] = {
23472 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23473 };
23474
23475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23477 if (!SWIG_IsOK(res1)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23479 }
23480 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23481 ecode2 = SWIG_AsVal_int(obj1, &val2);
23482 if (!SWIG_IsOK(ecode2)) {
23483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23484 }
23485 arg2 = static_cast< int >(val2);
23486 {
23487 arg3 = wxString_in_helper(obj2);
23488 if (arg3 == NULL) SWIG_fail;
23489 temp3 = true;
23490 }
23491 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23492 if (!SWIG_IsOK(res4)) {
23493 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23494 }
23495 if (!argp4) {
23496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23497 }
23498 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23499 if (obj4) {
23500 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23501 if (!SWIG_IsOK(res5)) {
23502 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
36ed4f51 23503 }
1bd55598
RD
23504 if (!argp5) {
23505 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
f20a2e1f 23506 }
1bd55598
RD
23507 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23508 }
23509 if (obj5) {
23510 ecode6 = SWIG_AsVal_int(obj5, &val6);
23511 if (!SWIG_IsOK(ecode6)) {
23512 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23513 }
23514 arg6 = static_cast< wxItemKind >(val6);
23515 }
23516 if (obj6) {
f20a2e1f 23517 {
1bd55598
RD
23518 arg7 = wxString_in_helper(obj6);
23519 if (arg7 == NULL) SWIG_fail;
23520 temp7 = true;
f20a2e1f 23521 }
1bd55598
RD
23522 }
23523 if (obj7) {
f20a2e1f 23524 {
1bd55598
RD
23525 arg8 = wxString_in_helper(obj7);
23526 if (arg8 == NULL) SWIG_fail;
23527 temp8 = true;
d55e5bfc 23528 }
1bd55598
RD
23529 }
23530 if (obj8) {
23531 arg9 = obj8;
23532 }
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 {
23540 resultobj = wxPyMake_wxObject(result, (bool)0);
23541 }
23542 {
23543 if (temp3)
23544 delete arg3;
23545 }
23546 {
23547 if (temp7)
23548 delete arg7;
23549 }
23550 {
23551 if (temp8)
23552 delete arg8;
23553 }
23554 return resultobj;
23555fail:
23556 {
23557 if (temp3)
23558 delete arg3;
23559 }
23560 {
23561 if (temp7)
23562 delete arg7;
23563 }
23564 {
23565 if (temp8)
23566 delete arg8;
23567 }
23568 return NULL;
23569}
23570
23571
23572SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23573 PyObject *resultobj = 0;
23574 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23575 size_t arg2 ;
23576 int arg3 ;
23577 wxString *arg4 = 0 ;
23578 wxBitmap *arg5 = 0 ;
23579 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23580 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23581 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23582 wxString const &arg8_defvalue = wxPyEmptyString ;
23583 wxString *arg8 = (wxString *) &arg8_defvalue ;
23584 wxString const &arg9_defvalue = wxPyEmptyString ;
23585 wxString *arg9 = (wxString *) &arg9_defvalue ;
23586 PyObject *arg10 = (PyObject *) NULL ;
23587 wxToolBarToolBase *result = 0 ;
23588 void *argp1 = 0 ;
23589 int res1 = 0 ;
23590 size_t val2 ;
23591 int ecode2 = 0 ;
23592 int val3 ;
23593 int ecode3 = 0 ;
23594 bool temp4 = false ;
23595 void *argp5 = 0 ;
23596 int res5 = 0 ;
23597 void *argp6 = 0 ;
23598 int res6 = 0 ;
23599 int val7 ;
23600 int ecode7 = 0 ;
23601 bool temp8 = false ;
23602 bool temp9 = false ;
23603 PyObject * obj0 = 0 ;
23604 PyObject * obj1 = 0 ;
23605 PyObject * obj2 = 0 ;
23606 PyObject * obj3 = 0 ;
23607 PyObject * obj4 = 0 ;
23608 PyObject * obj5 = 0 ;
23609 PyObject * obj6 = 0 ;
23610 PyObject * obj7 = 0 ;
23611 PyObject * obj8 = 0 ;
23612 PyObject * obj9 = 0 ;
23613 char * kwnames[] = {
23614 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23615 };
23616
23617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23619 if (!SWIG_IsOK(res1)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23621 }
23622 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23623 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23624 if (!SWIG_IsOK(ecode2)) {
23625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23626 }
23627 arg2 = static_cast< size_t >(val2);
23628 ecode3 = SWIG_AsVal_int(obj2, &val3);
23629 if (!SWIG_IsOK(ecode3)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23631 }
23632 arg3 = static_cast< int >(val3);
23633 {
23634 arg4 = wxString_in_helper(obj3);
23635 if (arg4 == NULL) SWIG_fail;
23636 temp4 = true;
23637 }
23638 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23639 if (!SWIG_IsOK(res5)) {
23640 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23641 }
23642 if (!argp5) {
23643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23644 }
23645 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23646 if (obj5) {
23647 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
23648 if (!SWIG_IsOK(res6)) {
23649 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23650 }
1bd55598
RD
23651 if (!argp6) {
23652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23653 }
1bd55598
RD
23654 arg6 = reinterpret_cast< wxBitmap * >(argp6);
23655 }
23656 if (obj6) {
23657 ecode7 = SWIG_AsVal_int(obj6, &val7);
23658 if (!SWIG_IsOK(ecode7)) {
23659 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23660 }
23661 arg7 = static_cast< wxItemKind >(val7);
23662 }
23663 if (obj7) {
d55e5bfc 23664 {
1bd55598
RD
23665 arg8 = wxString_in_helper(obj7);
23666 if (arg8 == NULL) SWIG_fail;
23667 temp8 = true;
d55e5bfc 23668 }
1bd55598
RD
23669 }
23670 if (obj8) {
d55e5bfc 23671 {
1bd55598
RD
23672 arg9 = wxString_in_helper(obj8);
23673 if (arg9 == NULL) SWIG_fail;
23674 temp9 = true;
d55e5bfc 23675 }
1bd55598
RD
23676 }
23677 if (obj9) {
23678 arg10 = obj9;
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 {
23687 resultobj = wxPyMake_wxObject(result, (bool)0);
23688 }
23689 {
23690 if (temp4)
23691 delete arg4;
23692 }
23693 {
23694 if (temp8)
23695 delete arg8;
23696 }
23697 {
23698 if (temp9)
23699 delete arg9;
23700 }
23701 return resultobj;
23702fail:
23703 {
23704 if (temp4)
23705 delete arg4;
23706 }
23707 {
23708 if (temp8)
23709 delete arg8;
23710 }
23711 {
23712 if (temp9)
23713 delete arg9;
23714 }
23715 return NULL;
23716}
23717
23718
23719SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj = 0;
23721 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23722 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
23723 wxToolBarToolBase *result = 0 ;
23724 void *argp1 = 0 ;
23725 int res1 = 0 ;
23726 void *argp2 = 0 ;
23727 int res2 = 0 ;
23728 PyObject * obj0 = 0 ;
23729 PyObject * obj1 = 0 ;
23730 char * kwnames[] = {
23731 (char *) "self",(char *) "tool", NULL
23732 };
23733
23734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
23735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23736 if (!SWIG_IsOK(res1)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23738 }
23739 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23741 if (!SWIG_IsOK(res2)) {
23742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23743 }
23744 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
23751 {
23752 resultobj = wxPyMake_wxObject(result, (bool)0);
23753 }
23754 return resultobj;
23755fail:
23756 return NULL;
23757}
23758
23759
23760SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj = 0;
23762 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23763 size_t arg2 ;
23764 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
23765 wxToolBarToolBase *result = 0 ;
23766 void *argp1 = 0 ;
23767 int res1 = 0 ;
23768 size_t val2 ;
23769 int ecode2 = 0 ;
23770 void *argp3 = 0 ;
23771 int res3 = 0 ;
23772 PyObject * obj0 = 0 ;
23773 PyObject * obj1 = 0 ;
23774 PyObject * obj2 = 0 ;
23775 char * kwnames[] = {
23776 (char *) "self",(char *) "pos",(char *) "tool", NULL
23777 };
23778
23779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23781 if (!SWIG_IsOK(res1)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23783 }
23784 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23785 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23786 if (!SWIG_IsOK(ecode2)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23788 }
23789 arg2 = static_cast< size_t >(val2);
23790 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23791 if (!SWIG_IsOK(res3)) {
23792 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23793 }
23794 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 {
23802 resultobj = wxPyMake_wxObject(result, (bool)0);
23803 }
23804 return resultobj;
23805fail:
23806 return NULL;
23807}
23808
23809
23810SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj = 0;
23812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23813 wxControl *arg2 = (wxControl *) 0 ;
23814 wxToolBarToolBase *result = 0 ;
23815 void *argp1 = 0 ;
23816 int res1 = 0 ;
23817 void *argp2 = 0 ;
23818 int res2 = 0 ;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821 char * kwnames[] = {
23822 (char *) "self",(char *) "control", NULL
23823 };
23824
23825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
23826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23827 if (!SWIG_IsOK(res1)) {
23828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23829 }
23830 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
23832 if (!SWIG_IsOK(res2)) {
23833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23834 }
23835 arg2 = reinterpret_cast< wxControl * >(argp2);
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
23839 wxPyEndAllowThreads(__tstate);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 }
23842 {
23843 resultobj = wxPyMake_wxObject(result, (bool)0);
23844 }
23845 return resultobj;
23846fail:
23847 return NULL;
23848}
23849
23850
23851SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23852 PyObject *resultobj = 0;
23853 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23854 size_t arg2 ;
23855 wxControl *arg3 = (wxControl *) 0 ;
23856 wxToolBarToolBase *result = 0 ;
23857 void *argp1 = 0 ;
23858 int res1 = 0 ;
23859 size_t val2 ;
23860 int ecode2 = 0 ;
23861 void *argp3 = 0 ;
23862 int res3 = 0 ;
23863 PyObject * obj0 = 0 ;
23864 PyObject * obj1 = 0 ;
23865 PyObject * obj2 = 0 ;
23866 char * kwnames[] = {
23867 (char *) "self",(char *) "pos",(char *) "control", NULL
23868 };
23869
23870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23872 if (!SWIG_IsOK(res1)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23874 }
23875 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23876 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23877 if (!SWIG_IsOK(ecode2)) {
23878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23879 }
23880 arg2 = static_cast< size_t >(val2);
23881 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
23882 if (!SWIG_IsOK(res3)) {
23883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23884 }
23885 arg3 = reinterpret_cast< wxControl * >(argp3);
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 {
23893 resultobj = wxPyMake_wxObject(result, (bool)0);
23894 }
23895 return resultobj;
23896fail:
23897 return NULL;
23898}
23899
23900
23901SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj = 0;
23903 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23904 int arg2 ;
23905 wxControl *result = 0 ;
23906 void *argp1 = 0 ;
23907 int res1 = 0 ;
23908 int val2 ;
23909 int ecode2 = 0 ;
23910 PyObject * obj0 = 0 ;
23911 PyObject * obj1 = 0 ;
23912 char * kwnames[] = {
23913 (char *) "self",(char *) "id", NULL
23914 };
23915
23916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
23917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23918 if (!SWIG_IsOK(res1)) {
23919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23920 }
23921 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23922 ecode2 = SWIG_AsVal_int(obj1, &val2);
23923 if (!SWIG_IsOK(ecode2)) {
23924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23925 }
23926 arg2 = static_cast< int >(val2);
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 result = (wxControl *)(arg1)->FindControl(arg2);
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 {
23934 resultobj = wxPyMake_wxObject(result, 0);
23935 }
23936 return resultobj;
23937fail:
23938 return NULL;
d55e5bfc
RD
23939}
23940
23941
1bd55598
RD
23942SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23943 PyObject *resultobj = 0;
23944 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23945 wxToolBarToolBase *result = 0 ;
23946 void *argp1 = 0 ;
23947 int res1 = 0 ;
23948 PyObject *swig_obj[1] ;
23949
23950 if (!args) SWIG_fail;
23951 swig_obj[0] = args;
23952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23953 if (!SWIG_IsOK(res1)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23955 }
23956 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 {
23964 resultobj = wxPyMake_wxObject(result, (bool)0);
23965 }
23966 return resultobj;
23967fail:
23968 return NULL;
23969}
23970
23971
23972SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23973 PyObject *resultobj = 0;
23974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23975 size_t arg2 ;
23976 wxToolBarToolBase *result = 0 ;
23977 void *argp1 = 0 ;
23978 int res1 = 0 ;
23979 size_t val2 ;
23980 int ecode2 = 0 ;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 char * kwnames[] = {
23984 (char *) "self",(char *) "pos", NULL
23985 };
23986
23987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
23988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23989 if (!SWIG_IsOK(res1)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23991 }
23992 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23993 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23994 if (!SWIG_IsOK(ecode2)) {
23995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23996 }
23997 arg2 = static_cast< size_t >(val2);
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 {
24005 resultobj = wxPyMake_wxObject(result, (bool)0);
24006 }
24007 return resultobj;
24008fail:
24009 return NULL;
24010}
24011
24012
24013SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24014 PyObject *resultobj = 0;
24015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24016 int arg2 ;
24017 wxToolBarToolBase *result = 0 ;
24018 void *argp1 = 0 ;
24019 int res1 = 0 ;
24020 int val2 ;
24021 int ecode2 = 0 ;
24022 PyObject * obj0 = 0 ;
24023 PyObject * obj1 = 0 ;
24024 char * kwnames[] = {
24025 (char *) "self",(char *) "id", NULL
24026 };
24027
24028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24030 if (!SWIG_IsOK(res1)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24032 }
24033 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24034 ecode2 = SWIG_AsVal_int(obj1, &val2);
24035 if (!SWIG_IsOK(ecode2)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24037 }
24038 arg2 = static_cast< int >(val2);
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
24045 {
24046 resultobj = wxPyMake_wxObject(result, (bool)0);
24047 }
24048 return resultobj;
24049fail:
24050 return NULL;
24051}
24052
24053
24054SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj = 0;
24056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24057 size_t arg2 ;
24058 bool result;
24059 void *argp1 = 0 ;
24060 int res1 = 0 ;
24061 size_t val2 ;
24062 int ecode2 = 0 ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char * kwnames[] = {
24066 (char *) "self",(char *) "pos", NULL
24067 };
24068
24069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24071 if (!SWIG_IsOK(res1)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24073 }
24074 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24075 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24076 if (!SWIG_IsOK(ecode2)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24078 }
24079 arg2 = static_cast< size_t >(val2);
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (bool)(arg1)->DeleteToolByPos(arg2);
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 {
24087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24088 }
24089 return resultobj;
24090fail:
24091 return NULL;
24092}
24093
24094
24095SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj = 0;
24097 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24098 int arg2 ;
24099 bool result;
24100 void *argp1 = 0 ;
24101 int res1 = 0 ;
24102 int val2 ;
24103 int ecode2 = 0 ;
24104 PyObject * obj0 = 0 ;
24105 PyObject * obj1 = 0 ;
24106 char * kwnames[] = {
24107 (char *) "self",(char *) "id", NULL
24108 };
24109
24110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24112 if (!SWIG_IsOK(res1)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24114 }
24115 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24116 ecode2 = SWIG_AsVal_int(obj1, &val2);
24117 if (!SWIG_IsOK(ecode2)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24119 }
24120 arg2 = static_cast< int >(val2);
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 result = (bool)(arg1)->DeleteTool(arg2);
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 {
24128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24129 }
24130 return resultobj;
24131fail:
24132 return NULL;
d55e5bfc
RD
24133}
24134
24135
1bd55598
RD
24136SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24137 PyObject *resultobj = 0;
24138 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24139 void *argp1 = 0 ;
24140 int res1 = 0 ;
24141 PyObject *swig_obj[1] ;
24142
24143 if (!args) SWIG_fail;
24144 swig_obj[0] = args;
24145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24146 if (!SWIG_IsOK(res1)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24148 }
24149 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
24152 (arg1)->ClearTools();
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 resultobj = SWIG_Py_Void();
24157 return resultobj;
24158fail:
24159 return NULL;
d55e5bfc
RD
24160}
24161
24162
1bd55598
RD
24163SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24164 PyObject *resultobj = 0;
24165 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24166 bool result;
24167 void *argp1 = 0 ;
24168 int res1 = 0 ;
24169 PyObject *swig_obj[1] ;
24170
24171 if (!args) SWIG_fail;
24172 swig_obj[0] = args;
24173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24174 if (!SWIG_IsOK(res1)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24176 }
24177 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (bool)(arg1)->Realize();
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 {
24185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24186 }
24187 return resultobj;
24188fail:
24189 return NULL;
24190}
24191
24192
24193SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj = 0;
24195 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24196 int arg2 ;
24197 bool arg3 ;
24198 void *argp1 = 0 ;
24199 int res1 = 0 ;
24200 int val2 ;
24201 int ecode2 = 0 ;
24202 bool val3 ;
24203 int ecode3 = 0 ;
24204 PyObject * obj0 = 0 ;
24205 PyObject * obj1 = 0 ;
24206 PyObject * obj2 = 0 ;
24207 char * kwnames[] = {
24208 (char *) "self",(char *) "id",(char *) "enable", NULL
24209 };
24210
24211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24213 if (!SWIG_IsOK(res1)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24215 }
24216 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24217 ecode2 = SWIG_AsVal_int(obj1, &val2);
24218 if (!SWIG_IsOK(ecode2)) {
24219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24220 }
24221 arg2 = static_cast< int >(val2);
24222 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24223 if (!SWIG_IsOK(ecode3)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24225 }
24226 arg3 = static_cast< bool >(val3);
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->EnableTool(arg2,arg3);
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 resultobj = SWIG_Py_Void();
24234 return resultobj;
24235fail:
24236 return NULL;
24237}
24238
24239
24240SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24241 PyObject *resultobj = 0;
24242 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24243 int arg2 ;
24244 bool arg3 ;
24245 void *argp1 = 0 ;
24246 int res1 = 0 ;
24247 int val2 ;
24248 int ecode2 = 0 ;
24249 bool val3 ;
24250 int ecode3 = 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 PyObject * obj2 = 0 ;
24254 char * kwnames[] = {
24255 (char *) "self",(char *) "id",(char *) "toggle", NULL
24256 };
24257
24258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) 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_ToggleTool" "', 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_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24267 }
24268 arg2 = static_cast< int >(val2);
24269 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24270 if (!SWIG_IsOK(ecode3)) {
24271 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24272 }
24273 arg3 = static_cast< bool >(val3);
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 (arg1)->ToggleTool(arg2,arg3);
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 resultobj = SWIG_Py_Void();
24281 return resultobj;
24282fail:
24283 return NULL;
24284}
24285
24286
24287SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj = 0;
24289 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24290 int arg2 ;
24291 bool arg3 ;
24292 void *argp1 = 0 ;
24293 int res1 = 0 ;
24294 int val2 ;
24295 int ecode2 = 0 ;
24296 bool val3 ;
24297 int ecode3 = 0 ;
24298 PyObject * obj0 = 0 ;
24299 PyObject * obj1 = 0 ;
24300 PyObject * obj2 = 0 ;
24301 char * kwnames[] = {
24302 (char *) "self",(char *) "id",(char *) "toggle", NULL
24303 };
24304
24305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24307 if (!SWIG_IsOK(res1)) {
24308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24309 }
24310 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24311 ecode2 = SWIG_AsVal_int(obj1, &val2);
24312 if (!SWIG_IsOK(ecode2)) {
24313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24314 }
24315 arg2 = static_cast< int >(val2);
24316 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24317 if (!SWIG_IsOK(ecode3)) {
24318 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24319 }
24320 arg3 = static_cast< bool >(val3);
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 (arg1)->SetToggle(arg2,arg3);
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = SWIG_Py_Void();
24328 return resultobj;
24329fail:
24330 return NULL;
24331}
24332
24333
24334SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj = 0;
24336 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24337 int arg2 ;
24338 PyObject *result = 0 ;
24339 void *argp1 = 0 ;
24340 int res1 = 0 ;
24341 int val2 ;
24342 int ecode2 = 0 ;
24343 PyObject * obj0 = 0 ;
24344 PyObject * obj1 = 0 ;
24345 char * kwnames[] = {
24346 (char *) "self",(char *) "id", NULL
24347 };
24348
24349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24351 if (!SWIG_IsOK(res1)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24353 }
24354 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24355 ecode2 = SWIG_AsVal_int(obj1, &val2);
24356 if (!SWIG_IsOK(ecode2)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24358 }
24359 arg2 = static_cast< int >(val2);
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 resultobj = result;
24367 return resultobj;
24368fail:
24369 return NULL;
24370}
24371
24372
24373SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj = 0;
24375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24376 int arg2 ;
24377 PyObject *arg3 = (PyObject *) 0 ;
24378 void *argp1 = 0 ;
24379 int res1 = 0 ;
24380 int val2 ;
24381 int ecode2 = 0 ;
24382 PyObject * obj0 = 0 ;
24383 PyObject * obj1 = 0 ;
24384 PyObject * obj2 = 0 ;
24385 char * kwnames[] = {
24386 (char *) "self",(char *) "id",(char *) "clientData", NULL
24387 };
24388
24389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24391 if (!SWIG_IsOK(res1)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24393 }
24394 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24395 ecode2 = SWIG_AsVal_int(obj1, &val2);
24396 if (!SWIG_IsOK(ecode2)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24398 }
24399 arg2 = static_cast< int >(val2);
24400 arg3 = obj2;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 resultobj = SWIG_Py_Void();
24408 return resultobj;
24409fail:
24410 return NULL;
24411}
24412
24413
24414SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj = 0;
24416 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24417 int arg2 ;
24418 int result;
24419 void *argp1 = 0 ;
24420 int res1 = 0 ;
24421 int val2 ;
24422 int ecode2 = 0 ;
24423 PyObject * obj0 = 0 ;
24424 PyObject * obj1 = 0 ;
24425 char * kwnames[] = {
24426 (char *) "self",(char *) "id", NULL
24427 };
24428
24429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24431 if (!SWIG_IsOK(res1)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24433 }
24434 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24435 ecode2 = SWIG_AsVal_int(obj1, &val2);
24436 if (!SWIG_IsOK(ecode2)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24438 }
24439 arg2 = static_cast< int >(val2);
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 resultobj = SWIG_From_int(static_cast< int >(result));
24447 return resultobj;
24448fail:
24449 return NULL;
24450}
24451
24452
24453SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj = 0;
24455 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24456 int arg2 ;
24457 bool result;
24458 void *argp1 = 0 ;
24459 int res1 = 0 ;
24460 int val2 ;
24461 int ecode2 = 0 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 char * kwnames[] = {
24465 (char *) "self",(char *) "id", NULL
24466 };
24467
24468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24470 if (!SWIG_IsOK(res1)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24472 }
24473 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24474 ecode2 = SWIG_AsVal_int(obj1, &val2);
24475 if (!SWIG_IsOK(ecode2)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24477 }
24478 arg2 = static_cast< int >(val2);
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 result = (bool)(arg1)->GetToolState(arg2);
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24487 }
24488 return resultobj;
24489fail:
24490 return NULL;
24491}
24492
24493
24494SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj = 0;
24496 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24497 int arg2 ;
24498 bool result;
24499 void *argp1 = 0 ;
24500 int res1 = 0 ;
24501 int val2 ;
24502 int ecode2 = 0 ;
24503 PyObject * obj0 = 0 ;
24504 PyObject * obj1 = 0 ;
24505 char * kwnames[] = {
24506 (char *) "self",(char *) "id", NULL
24507 };
24508
24509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24511 if (!SWIG_IsOK(res1)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24513 }
24514 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24515 ecode2 = SWIG_AsVal_int(obj1, &val2);
24516 if (!SWIG_IsOK(ecode2)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24518 }
24519 arg2 = static_cast< int >(val2);
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = (bool)(arg1)->GetToolEnabled(arg2);
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 {
24527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24528 }
24529 return resultobj;
24530fail:
24531 return NULL;
24532}
24533
24534
24535SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj = 0;
24537 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24538 int arg2 ;
24539 wxString *arg3 = 0 ;
24540 void *argp1 = 0 ;
24541 int res1 = 0 ;
24542 int val2 ;
24543 int ecode2 = 0 ;
24544 bool temp3 = false ;
24545 PyObject * obj0 = 0 ;
24546 PyObject * obj1 = 0 ;
24547 PyObject * obj2 = 0 ;
24548 char * kwnames[] = {
24549 (char *) "self",(char *) "id",(char *) "helpString", NULL
24550 };
24551
24552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24554 if (!SWIG_IsOK(res1)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24556 }
24557 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24558 ecode2 = SWIG_AsVal_int(obj1, &val2);
24559 if (!SWIG_IsOK(ecode2)) {
24560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24561 }
24562 arg2 = static_cast< int >(val2);
24563 {
24564 arg3 = wxString_in_helper(obj2);
24565 if (arg3 == NULL) SWIG_fail;
24566 temp3 = true;
24567 }
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 resultobj = SWIG_Py_Void();
24575 {
24576 if (temp3)
24577 delete arg3;
24578 }
24579 return resultobj;
24580fail:
24581 {
24582 if (temp3)
24583 delete arg3;
24584 }
24585 return NULL;
24586}
24587
24588
24589SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj = 0;
24591 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24592 int arg2 ;
24593 wxString result;
24594 void *argp1 = 0 ;
24595 int res1 = 0 ;
24596 int val2 ;
24597 int ecode2 = 0 ;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 char * kwnames[] = {
24601 (char *) "self",(char *) "id", NULL
24602 };
24603
24604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24606 if (!SWIG_IsOK(res1)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24608 }
24609 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24610 ecode2 = SWIG_AsVal_int(obj1, &val2);
24611 if (!SWIG_IsOK(ecode2)) {
24612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24613 }
24614 arg2 = static_cast< int >(val2);
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (arg1)->GetToolShortHelp(arg2);
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 {
24622#if wxUSE_UNICODE
24623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24624#else
24625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24626#endif
24627 }
24628 return resultobj;
24629fail:
24630 return NULL;
24631}
24632
24633
24634SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24635 PyObject *resultobj = 0;
24636 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24637 int arg2 ;
24638 wxString *arg3 = 0 ;
24639 void *argp1 = 0 ;
24640 int res1 = 0 ;
24641 int val2 ;
24642 int ecode2 = 0 ;
24643 bool temp3 = false ;
24644 PyObject * obj0 = 0 ;
24645 PyObject * obj1 = 0 ;
24646 PyObject * obj2 = 0 ;
24647 char * kwnames[] = {
24648 (char *) "self",(char *) "id",(char *) "helpString", NULL
24649 };
24650
24651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24653 if (!SWIG_IsOK(res1)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24655 }
24656 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24657 ecode2 = SWIG_AsVal_int(obj1, &val2);
24658 if (!SWIG_IsOK(ecode2)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24660 }
24661 arg2 = static_cast< int >(val2);
24662 {
24663 arg3 = wxString_in_helper(obj2);
24664 if (arg3 == NULL) SWIG_fail;
24665 temp3 = true;
24666 }
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 resultobj = SWIG_Py_Void();
24674 {
24675 if (temp3)
24676 delete arg3;
24677 }
24678 return resultobj;
24679fail:
24680 {
24681 if (temp3)
24682 delete arg3;
24683 }
24684 return NULL;
24685}
24686
24687
24688SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj = 0;
24690 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24691 int arg2 ;
24692 wxString result;
24693 void *argp1 = 0 ;
24694 int res1 = 0 ;
24695 int val2 ;
24696 int ecode2 = 0 ;
24697 PyObject * obj0 = 0 ;
24698 PyObject * obj1 = 0 ;
24699 char * kwnames[] = {
24700 (char *) "self",(char *) "id", NULL
24701 };
24702
24703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24705 if (!SWIG_IsOK(res1)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24707 }
24708 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24709 ecode2 = SWIG_AsVal_int(obj1, &val2);
24710 if (!SWIG_IsOK(ecode2)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24712 }
24713 arg2 = static_cast< int >(val2);
24714 {
24715 PyThreadState* __tstate = wxPyBeginAllowThreads();
24716 result = (arg1)->GetToolLongHelp(arg2);
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 {
24721#if wxUSE_UNICODE
24722 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24723#else
24724 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24725#endif
24726 }
24727 return resultobj;
24728fail:
24729 return NULL;
24730}
24731
24732
24733SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj = 0;
24735 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24736 int arg2 ;
24737 int arg3 ;
24738 void *argp1 = 0 ;
24739 int res1 = 0 ;
24740 int val2 ;
24741 int ecode2 = 0 ;
24742 int val3 ;
24743 int ecode3 = 0 ;
24744 PyObject * obj0 = 0 ;
24745 PyObject * obj1 = 0 ;
24746 PyObject * obj2 = 0 ;
24747 char * kwnames[] = {
24748 (char *) "self",(char *) "x",(char *) "y", NULL
24749 };
24750
24751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24753 if (!SWIG_IsOK(res1)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24755 }
24756 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24757 ecode2 = SWIG_AsVal_int(obj1, &val2);
24758 if (!SWIG_IsOK(ecode2)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24760 }
24761 arg2 = static_cast< int >(val2);
24762 ecode3 = SWIG_AsVal_int(obj2, &val3);
24763 if (!SWIG_IsOK(ecode3)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24765 }
24766 arg3 = static_cast< int >(val3);
24767 {
24768 PyThreadState* __tstate = wxPyBeginAllowThreads();
24769 (arg1)->SetMargins(arg2,arg3);
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 resultobj = SWIG_Py_Void();
24774 return resultobj;
24775fail:
24776 return NULL;
24777}
24778
24779
24780SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj = 0;
24782 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24783 wxSize *arg2 = 0 ;
24784 void *argp1 = 0 ;
24785 int res1 = 0 ;
24786 wxSize temp2 ;
24787 PyObject * obj0 = 0 ;
24788 PyObject * obj1 = 0 ;
24789 char * kwnames[] = {
24790 (char *) "self",(char *) "size", NULL
24791 };
24792
24793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24795 if (!SWIG_IsOK(res1)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24797 }
24798 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24799 {
24800 arg2 = &temp2;
24801 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24802 }
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->SetMargins((wxSize const &)*arg2);
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = SWIG_Py_Void();
24810 return resultobj;
24811fail:
24812 return NULL;
24813}
24814
24815
24816SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj = 0;
24818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24819 int arg2 ;
24820 void *argp1 = 0 ;
24821 int res1 = 0 ;
24822 int val2 ;
24823 int ecode2 = 0 ;
24824 PyObject * obj0 = 0 ;
24825 PyObject * obj1 = 0 ;
24826 char * kwnames[] = {
24827 (char *) "self",(char *) "packing", NULL
24828 };
24829
24830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
24831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24832 if (!SWIG_IsOK(res1)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24834 }
24835 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24836 ecode2 = SWIG_AsVal_int(obj1, &val2);
24837 if (!SWIG_IsOK(ecode2)) {
24838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24839 }
24840 arg2 = static_cast< int >(val2);
24841 {
24842 PyThreadState* __tstate = wxPyBeginAllowThreads();
24843 (arg1)->SetToolPacking(arg2);
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 resultobj = SWIG_Py_Void();
24848 return resultobj;
24849fail:
24850 return NULL;
24851}
24852
24853
24854SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24855 PyObject *resultobj = 0;
24856 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24857 int arg2 ;
24858 void *argp1 = 0 ;
24859 int res1 = 0 ;
24860 int val2 ;
24861 int ecode2 = 0 ;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char * kwnames[] = {
24865 (char *) "self",(char *) "separation", NULL
24866 };
24867
24868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
24869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24870 if (!SWIG_IsOK(res1)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 }
24873 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24874 ecode2 = SWIG_AsVal_int(obj1, &val2);
24875 if (!SWIG_IsOK(ecode2)) {
24876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24877 }
24878 arg2 = static_cast< int >(val2);
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 (arg1)->SetToolSeparation(arg2);
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 resultobj = SWIG_Py_Void();
24886 return resultobj;
24887fail:
24888 return NULL;
d55e5bfc
RD
24889}
24890
24891
1bd55598
RD
24892SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24893 PyObject *resultobj = 0;
24894 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24895 wxSize result;
24896 void *argp1 = 0 ;
24897 int res1 = 0 ;
24898 PyObject *swig_obj[1] ;
24899
24900 if (!args) SWIG_fail;
24901 swig_obj[0] = args;
24902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24903 if (!SWIG_IsOK(res1)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24905 }
24906 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 result = (arg1)->GetToolMargins();
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24914 return resultobj;
24915fail:
24916 return NULL;
d55e5bfc
RD
24917}
24918
24919
1bd55598
RD
24920SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24921 PyObject *resultobj = 0;
24922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24923 wxSize result;
24924 void *argp1 = 0 ;
24925 int res1 = 0 ;
24926 PyObject *swig_obj[1] ;
24927
24928 if (!args) SWIG_fail;
24929 swig_obj[0] = args;
24930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24931 if (!SWIG_IsOK(res1)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24933 }
24934 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 result = (arg1)->GetMargins();
24938 wxPyEndAllowThreads(__tstate);
24939 if (PyErr_Occurred()) SWIG_fail;
24940 }
24941 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24942 return resultobj;
24943fail:
24944 return NULL;
d55e5bfc
RD
24945}
24946
24947
1bd55598
RD
24948SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24949 PyObject *resultobj = 0;
24950 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24951 int result;
24952 void *argp1 = 0 ;
24953 int res1 = 0 ;
24954 PyObject *swig_obj[1] ;
24955
24956 if (!args) SWIG_fail;
24957 swig_obj[0] = args;
24958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24959 if (!SWIG_IsOK(res1)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24961 }
24962 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 result = (int)(arg1)->GetToolPacking();
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 resultobj = SWIG_From_int(static_cast< int >(result));
24970 return resultobj;
24971fail:
24972 return NULL;
d55e5bfc
RD
24973}
24974
24975
1bd55598
RD
24976SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24977 PyObject *resultobj = 0;
24978 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24979 int result;
24980 void *argp1 = 0 ;
24981 int res1 = 0 ;
24982 PyObject *swig_obj[1] ;
24983
24984 if (!args) SWIG_fail;
24985 swig_obj[0] = args;
24986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24987 if (!SWIG_IsOK(res1)) {
24988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24989 }
24990 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = (int)(arg1)->GetToolSeparation();
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 resultobj = SWIG_From_int(static_cast< int >(result));
24998 return resultobj;
24999fail:
25000 return NULL;
25001}
25002
25003
25004SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25005 PyObject *resultobj = 0;
25006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25007 int arg2 ;
25008 void *argp1 = 0 ;
25009 int res1 = 0 ;
25010 int val2 ;
25011 int ecode2 = 0 ;
25012 PyObject * obj0 = 0 ;
25013 PyObject * obj1 = 0 ;
25014 char * kwnames[] = {
25015 (char *) "self",(char *) "nRows", NULL
25016 };
25017
25018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25020 if (!SWIG_IsOK(res1)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25022 }
25023 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25024 ecode2 = SWIG_AsVal_int(obj1, &val2);
25025 if (!SWIG_IsOK(ecode2)) {
25026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25027 }
25028 arg2 = static_cast< int >(val2);
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 (arg1)->SetRows(arg2);
25032 wxPyEndAllowThreads(__tstate);
25033 if (PyErr_Occurred()) SWIG_fail;
25034 }
25035 resultobj = SWIG_Py_Void();
25036 return resultobj;
25037fail:
25038 return NULL;
25039}
25040
25041
25042SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25043 PyObject *resultobj = 0;
25044 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25045 int arg2 ;
25046 int arg3 ;
25047 void *argp1 = 0 ;
25048 int res1 = 0 ;
25049 int val2 ;
25050 int ecode2 = 0 ;
25051 int val3 ;
25052 int ecode3 = 0 ;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 PyObject * obj2 = 0 ;
25056 char * kwnames[] = {
25057 (char *) "self",(char *) "rows",(char *) "cols", NULL
25058 };
25059
25060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25062 if (!SWIG_IsOK(res1)) {
25063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25064 }
25065 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25066 ecode2 = SWIG_AsVal_int(obj1, &val2);
25067 if (!SWIG_IsOK(ecode2)) {
25068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25069 }
25070 arg2 = static_cast< int >(val2);
25071 ecode3 = SWIG_AsVal_int(obj2, &val3);
25072 if (!SWIG_IsOK(ecode3)) {
25073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25074 }
25075 arg3 = static_cast< int >(val3);
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 (arg1)->SetMaxRowsCols(arg2,arg3);
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 resultobj = SWIG_Py_Void();
25083 return resultobj;
25084fail:
25085 return NULL;
d55e5bfc
RD
25086}
25087
25088
1bd55598
RD
25089SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25090 PyObject *resultobj = 0;
25091 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25092 int result;
25093 void *argp1 = 0 ;
25094 int res1 = 0 ;
25095 PyObject *swig_obj[1] ;
25096
25097 if (!args) SWIG_fail;
25098 swig_obj[0] = args;
25099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25100 if (!SWIG_IsOK(res1)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25102 }
25103 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 result = (int)(arg1)->GetMaxRows();
25107 wxPyEndAllowThreads(__tstate);
25108 if (PyErr_Occurred()) SWIG_fail;
25109 }
25110 resultobj = SWIG_From_int(static_cast< int >(result));
25111 return resultobj;
25112fail:
25113 return NULL;
d55e5bfc
RD
25114}
25115
25116
1bd55598
RD
25117SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25118 PyObject *resultobj = 0;
25119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25120 int result;
25121 void *argp1 = 0 ;
25122 int res1 = 0 ;
25123 PyObject *swig_obj[1] ;
25124
25125 if (!args) SWIG_fail;
25126 swig_obj[0] = args;
25127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25128 if (!SWIG_IsOK(res1)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25130 }
25131 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 result = (int)(arg1)->GetMaxCols();
25135 wxPyEndAllowThreads(__tstate);
25136 if (PyErr_Occurred()) SWIG_fail;
25137 }
25138 resultobj = SWIG_From_int(static_cast< int >(result));
25139 return resultobj;
25140fail:
25141 return NULL;
25142}
25143
25144
25145SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25146 PyObject *resultobj = 0;
25147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25148 wxSize *arg2 = 0 ;
25149 void *argp1 = 0 ;
25150 int res1 = 0 ;
25151 wxSize temp2 ;
25152 PyObject * obj0 = 0 ;
25153 PyObject * obj1 = 0 ;
25154 char * kwnames[] = {
25155 (char *) "self",(char *) "size", NULL
25156 };
25157
25158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25160 if (!SWIG_IsOK(res1)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25162 }
25163 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25164 {
25165 arg2 = &temp2;
25166 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25167 }
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 resultobj = SWIG_Py_Void();
25175 return resultobj;
25176fail:
25177 return NULL;
d55e5bfc
RD
25178}
25179
25180
1bd55598
RD
25181SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25182 PyObject *resultobj = 0;
25183 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25184 wxSize result;
25185 void *argp1 = 0 ;
25186 int res1 = 0 ;
25187 PyObject *swig_obj[1] ;
25188
25189 if (!args) SWIG_fail;
25190 swig_obj[0] = args;
25191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25192 if (!SWIG_IsOK(res1)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25194 }
25195 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 result = (arg1)->GetToolBitmapSize();
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25203 return resultobj;
25204fail:
25205 return NULL;
d55e5bfc
RD
25206}
25207
25208
1bd55598
RD
25209SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25210 PyObject *resultobj = 0;
25211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25212 wxSize result;
25213 void *argp1 = 0 ;
25214 int res1 = 0 ;
25215 PyObject *swig_obj[1] ;
25216
25217 if (!args) SWIG_fail;
25218 swig_obj[0] = args;
25219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25222 }
25223 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 result = (arg1)->GetToolSize();
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25231 return resultobj;
25232fail:
25233 return NULL;
25234}
25235
25236
25237SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25238 PyObject *resultobj = 0;
25239 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25240 int arg2 ;
25241 int arg3 ;
25242 wxToolBarToolBase *result = 0 ;
25243 void *argp1 = 0 ;
25244 int res1 = 0 ;
25245 int val2 ;
25246 int ecode2 = 0 ;
25247 int val3 ;
25248 int ecode3 = 0 ;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 PyObject * obj2 = 0 ;
25252 char * kwnames[] = {
25253 (char *) "self",(char *) "x",(char *) "y", NULL
25254 };
25255
25256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25258 if (!SWIG_IsOK(res1)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25260 }
25261 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25262 ecode2 = SWIG_AsVal_int(obj1, &val2);
25263 if (!SWIG_IsOK(ecode2)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25265 }
25266 arg2 = static_cast< int >(val2);
25267 ecode3 = SWIG_AsVal_int(obj2, &val3);
25268 if (!SWIG_IsOK(ecode3)) {
25269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25270 }
25271 arg3 = static_cast< int >(val3);
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 {
25279 resultobj = wxPyMake_wxObject(result, (bool)0);
25280 }
25281 return resultobj;
25282fail:
25283 return NULL;
25284}
25285
25286
25287SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj = 0;
25289 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25290 int arg2 ;
25291 wxToolBarToolBase *result = 0 ;
25292 void *argp1 = 0 ;
25293 int res1 = 0 ;
25294 int val2 ;
25295 int ecode2 = 0 ;
25296 PyObject * obj0 = 0 ;
25297 PyObject * obj1 = 0 ;
25298 char * kwnames[] = {
25299 (char *) "self",(char *) "toolid", NULL
25300 };
25301
25302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25304 if (!SWIG_IsOK(res1)) {
25305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25306 }
25307 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25308 ecode2 = SWIG_AsVal_int(obj1, &val2);
25309 if (!SWIG_IsOK(ecode2)) {
25310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25311 }
25312 arg2 = static_cast< int >(val2);
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 {
25320 resultobj = wxPyMake_wxObject(result, (bool)0);
25321 }
25322 return resultobj;
25323fail:
25324 return NULL;
d55e5bfc
RD
25325}
25326
25327
1bd55598
RD
25328SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25329 PyObject *resultobj = 0;
25330 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25331 bool result;
25332 void *argp1 = 0 ;
25333 int res1 = 0 ;
25334 PyObject *swig_obj[1] ;
25335
25336 if (!args) SWIG_fail;
25337 swig_obj[0] = args;
25338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25339 if (!SWIG_IsOK(res1)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25341 }
25342 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 result = (bool)(arg1)->IsVertical();
25346 wxPyEndAllowThreads(__tstate);
25347 if (PyErr_Occurred()) SWIG_fail;
25348 }
25349 {
25350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25351 }
25352 return resultobj;
25353fail:
25354 return NULL;
d55e5bfc
RD
25355}
25356
25357
1bd55598
RD
25358SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25359 PyObject *resultobj = 0;
25360 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25361 size_t result;
25362 void *argp1 = 0 ;
25363 int res1 = 0 ;
25364 PyObject *swig_obj[1] ;
25365
25366 if (!args) SWIG_fail;
25367 swig_obj[0] = args;
25368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25369 if (!SWIG_IsOK(res1)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25371 }
25372 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25376 wxPyEndAllowThreads(__tstate);
25377 if (PyErr_Occurred()) SWIG_fail;
25378 }
25379 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25380 return resultobj;
25381fail:
25382 return NULL;
25383}
25384
25385
25386SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25387 PyObject *obj;
25388 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25389 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25390 return SWIG_Py_Void();
25391}
25392
25393SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25394 PyObject *resultobj = 0;
25395 wxWindow *arg1 = (wxWindow *) 0 ;
25396 int arg2 = (int) -1 ;
25397 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25398 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25399 wxSize const &arg4_defvalue = wxDefaultSize ;
25400 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25401 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25402 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25403 wxString *arg6 = (wxString *) &arg6_defvalue ;
25404 wxToolBar *result = 0 ;
25405 void *argp1 = 0 ;
25406 int res1 = 0 ;
25407 int val2 ;
25408 int ecode2 = 0 ;
25409 wxPoint temp3 ;
25410 wxSize temp4 ;
25411 long val5 ;
25412 int ecode5 = 0 ;
25413 bool temp6 = false ;
25414 PyObject * obj0 = 0 ;
25415 PyObject * obj1 = 0 ;
25416 PyObject * obj2 = 0 ;
25417 PyObject * obj3 = 0 ;
25418 PyObject * obj4 = 0 ;
25419 PyObject * obj5 = 0 ;
25420 char * kwnames[] = {
25421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25422 };
25423
25424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25426 if (!SWIG_IsOK(res1)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25428 }
25429 arg1 = reinterpret_cast< wxWindow * >(argp1);
25430 if (obj1) {
25431 ecode2 = SWIG_AsVal_int(obj1, &val2);
25432 if (!SWIG_IsOK(ecode2)) {
25433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25434 }
25435 arg2 = static_cast< int >(val2);
25436 }
25437 if (obj2) {
d55e5bfc 25438 {
1bd55598
RD
25439 arg3 = &temp3;
25440 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25441 }
1bd55598
RD
25442 }
25443 if (obj3) {
d55e5bfc 25444 {
1bd55598
RD
25445 arg4 = &temp4;
25446 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25447 }
1bd55598
RD
25448 }
25449 if (obj4) {
25450 ecode5 = SWIG_AsVal_long(obj4, &val5);
25451 if (!SWIG_IsOK(ecode5)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25453 }
25454 arg5 = static_cast< long >(val5);
25455 }
25456 if (obj5) {
36ed4f51 25457 {
1bd55598
RD
25458 arg6 = wxString_in_helper(obj5);
25459 if (arg6 == NULL) SWIG_fail;
25460 temp6 = true;
36ed4f51 25461 }
1bd55598
RD
25462 }
25463 {
25464 if (!wxPyCheckForApp()) SWIG_fail;
25465 PyThreadState* __tstate = wxPyBeginAllowThreads();
25466 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25471 {
25472 if (temp6)
25473 delete arg6;
25474 }
25475 return resultobj;
25476fail:
25477 {
25478 if (temp6)
25479 delete arg6;
25480 }
25481 return NULL;
d55e5bfc
RD
25482}
25483
25484
1bd55598
RD
25485SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25486 PyObject *resultobj = 0;
25487 wxToolBar *result = 0 ;
25488
25489 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25490 {
25491 if (!wxPyCheckForApp()) SWIG_fail;
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (wxToolBar *)new wxToolBar();
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25498 return resultobj;
25499fail:
25500 return NULL;
25501}
25502
25503
25504SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25505 PyObject *resultobj = 0;
25506 wxToolBar *arg1 = (wxToolBar *) 0 ;
25507 wxWindow *arg2 = (wxWindow *) 0 ;
25508 int arg3 = (int) -1 ;
25509 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25510 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25511 wxSize const &arg5_defvalue = wxDefaultSize ;
25512 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25513 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25514 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25515 wxString *arg7 = (wxString *) &arg7_defvalue ;
25516 bool result;
25517 void *argp1 = 0 ;
25518 int res1 = 0 ;
25519 void *argp2 = 0 ;
25520 int res2 = 0 ;
25521 int val3 ;
25522 int ecode3 = 0 ;
25523 wxPoint temp4 ;
25524 wxSize temp5 ;
25525 long val6 ;
25526 int ecode6 = 0 ;
25527 bool temp7 = false ;
25528 PyObject * obj0 = 0 ;
25529 PyObject * obj1 = 0 ;
25530 PyObject * obj2 = 0 ;
25531 PyObject * obj3 = 0 ;
25532 PyObject * obj4 = 0 ;
25533 PyObject * obj5 = 0 ;
25534 PyObject * obj6 = 0 ;
25535 char * kwnames[] = {
25536 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25537 };
25538
25539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25541 if (!SWIG_IsOK(res1)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25543 }
25544 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25545 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25546 if (!SWIG_IsOK(res2)) {
25547 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25548 }
25549 arg2 = reinterpret_cast< wxWindow * >(argp2);
25550 if (obj2) {
25551 ecode3 = SWIG_AsVal_int(obj2, &val3);
25552 if (!SWIG_IsOK(ecode3)) {
25553 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25554 }
25555 arg3 = static_cast< int >(val3);
25556 }
25557 if (obj3) {
d55e5bfc 25558 {
1bd55598
RD
25559 arg4 = &temp4;
25560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25561 }
1bd55598
RD
25562 }
25563 if (obj4) {
d55e5bfc 25564 {
1bd55598
RD
25565 arg5 = &temp5;
25566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 25567 }
1bd55598
RD
25568 }
25569 if (obj5) {
25570 ecode6 = SWIG_AsVal_long(obj5, &val6);
25571 if (!SWIG_IsOK(ecode6)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25573 }
25574 arg6 = static_cast< long >(val6);
25575 }
25576 if (obj6) {
36ed4f51 25577 {
1bd55598
RD
25578 arg7 = wxString_in_helper(obj6);
25579 if (arg7 == NULL) SWIG_fail;
25580 temp7 = true;
36ed4f51 25581 }
1bd55598
RD
25582 }
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 {
25590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25591 }
25592 {
25593 if (temp7)
25594 delete arg7;
25595 }
25596 return resultobj;
25597fail:
25598 {
25599 if (temp7)
25600 delete arg7;
25601 }
25602 return NULL;
25603}
25604
25605
1bd55598
RD
25606SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25607 PyObject *resultobj = 0;
25608 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25609 SwigValueWrapper<wxVisualAttributes > result;
25610 int val1 ;
25611 int ecode1 = 0 ;
25612 PyObject * obj0 = 0 ;
25613 char * kwnames[] = {
25614 (char *) "variant", NULL
25615 };
25616
25617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25618 if (obj0) {
25619 ecode1 = SWIG_AsVal_int(obj0, &val1);
25620 if (!SWIG_IsOK(ecode1)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25622 }
25623 arg1 = static_cast< wxWindowVariant >(val1);
25624 }
25625 {
25626 if (!wxPyCheckForApp()) SWIG_fail;
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = wxToolBar::GetClassDefaultAttributes(arg1);
25629 wxPyEndAllowThreads(__tstate);
25630 if (PyErr_Occurred()) SWIG_fail;
25631 }
25632 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25633 return resultobj;
25634fail:
25635 return NULL;
d55e5bfc
RD
25636}
25637
25638
1bd55598
RD
25639SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25640 PyObject *obj;
25641 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25642 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
25643 return SWIG_Py_Void();
d55e5bfc
RD
25644}
25645
1bd55598
RD
25646SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25647 return SWIG_Python_InitShadowInstance(args);
25648}
d55e5bfc 25649
1bd55598
RD
25650SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
25651 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
25652 return 1;
d55e5bfc
RD
25653}
25654
25655
1bd55598
RD
25656SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
25657 PyObject *pyobj = 0;
25658
25659 {
25660#if wxUSE_UNICODE
25661 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25662#else
25663 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25664#endif
25665 }
25666 return pyobj;
25667}
25668
25669
25670SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25671 PyObject *resultobj = 0;
25672 wxColour const &arg1_defvalue = wxNullColour ;
25673 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
25674 wxColour const &arg2_defvalue = wxNullColour ;
25675 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
25676 wxFont const &arg3_defvalue = wxNullFont ;
25677 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
25678 wxListItemAttr *result = 0 ;
25679 wxColour temp1 ;
25680 wxColour temp2 ;
25681 void *argp3 = 0 ;
25682 int res3 = 0 ;
25683 PyObject * obj0 = 0 ;
25684 PyObject * obj1 = 0 ;
25685 PyObject * obj2 = 0 ;
25686 char * kwnames[] = {
25687 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25688 };
25689
25690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25691 if (obj0) {
d55e5bfc 25692 {
1bd55598
RD
25693 arg1 = &temp1;
25694 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 25695 }
1bd55598
RD
25696 }
25697 if (obj1) {
36ed4f51 25698 {
1bd55598
RD
25699 arg2 = &temp2;
25700 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
36ed4f51 25701 }
1bd55598
RD
25702 }
25703 if (obj2) {
25704 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
25705 if (!SWIG_IsOK(res3)) {
25706 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 25707 }
1bd55598
RD
25708 if (!argp3) {
25709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
36ed4f51 25710 }
1bd55598
RD
25711 arg3 = reinterpret_cast< wxFont * >(argp3);
25712 }
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
25720 return resultobj;
25721fail:
25722 return NULL;
d55e5bfc
RD
25723}
25724
25725
1bd55598
RD
25726SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25727 PyObject *resultobj = 0;
25728 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25729 void *argp1 = 0 ;
25730 int res1 = 0 ;
25731 PyObject *swig_obj[1] ;
25732
25733 if (!args) SWIG_fail;
25734 swig_obj[0] = args;
25735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
25736 if (!SWIG_IsOK(res1)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25738 }
25739 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25740 {
25741 PyThreadState* __tstate = wxPyBeginAllowThreads();
25742 delete arg1;
d55e5bfc 25743
1bd55598
RD
25744 wxPyEndAllowThreads(__tstate);
25745 if (PyErr_Occurred()) SWIG_fail;
25746 }
25747 resultobj = SWIG_Py_Void();
25748 return resultobj;
25749fail:
25750 return NULL;
25751}
25752
25753
25754SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25755 PyObject *resultobj = 0;
25756 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25757 wxColour *arg2 = 0 ;
25758 void *argp1 = 0 ;
25759 int res1 = 0 ;
25760 wxColour temp2 ;
25761 PyObject * obj0 = 0 ;
25762 PyObject * obj1 = 0 ;
25763 char * kwnames[] = {
25764 (char *) "self",(char *) "colText", NULL
25765 };
25766
25767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
25768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25769 if (!SWIG_IsOK(res1)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25771 }
25772 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25773 {
25774 arg2 = &temp2;
25775 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25776 }
25777 {
25778 PyThreadState* __tstate = wxPyBeginAllowThreads();
25779 (arg1)->SetTextColour((wxColour const &)*arg2);
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 resultobj = SWIG_Py_Void();
25784 return resultobj;
25785fail:
25786 return NULL;
25787}
25788
25789
25790SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25791 PyObject *resultobj = 0;
25792 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25793 wxColour *arg2 = 0 ;
25794 void *argp1 = 0 ;
25795 int res1 = 0 ;
25796 wxColour temp2 ;
25797 PyObject * obj0 = 0 ;
25798 PyObject * obj1 = 0 ;
25799 char * kwnames[] = {
25800 (char *) "self",(char *) "colBack", NULL
25801 };
25802
25803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
25804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25805 if (!SWIG_IsOK(res1)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25807 }
25808 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25809 {
25810 arg2 = &temp2;
25811 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25812 }
25813 {
25814 PyThreadState* __tstate = wxPyBeginAllowThreads();
25815 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 resultobj = SWIG_Py_Void();
25820 return resultobj;
25821fail:
25822 return NULL;
25823}
25824
25825
25826SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj = 0;
25828 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25829 wxFont *arg2 = 0 ;
25830 void *argp1 = 0 ;
25831 int res1 = 0 ;
25832 void *argp2 = 0 ;
25833 int res2 = 0 ;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 char * kwnames[] = {
25837 (char *) "self",(char *) "font", NULL
25838 };
25839
25840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
25841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25842 if (!SWIG_IsOK(res1)) {
25843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25844 }
25845 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25846 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
25847 if (!SWIG_IsOK(res2)) {
25848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25849 }
25850 if (!argp2) {
25851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25852 }
25853 arg2 = reinterpret_cast< wxFont * >(argp2);
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 (arg1)->SetFont((wxFont const &)*arg2);
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 resultobj = SWIG_Py_Void();
25861 return resultobj;
25862fail:
25863 return NULL;
d55e5bfc
RD
25864}
25865
25866
1bd55598
RD
25867SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25868 PyObject *resultobj = 0;
25869 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25870 bool result;
25871 void *argp1 = 0 ;
25872 int res1 = 0 ;
25873 PyObject *swig_obj[1] ;
25874
25875 if (!args) SWIG_fail;
25876 swig_obj[0] = args;
25877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25878 if (!SWIG_IsOK(res1)) {
25879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25880 }
25881 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (bool)(arg1)->HasTextColour();
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 {
25889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25890 }
25891 return resultobj;
25892fail:
25893 return NULL;
f20a2e1f
RD
25894}
25895
25896
1bd55598
RD
25897SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25898 PyObject *resultobj = 0;
25899 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25900 bool result;
25901 void *argp1 = 0 ;
25902 int res1 = 0 ;
25903 PyObject *swig_obj[1] ;
25904
25905 if (!args) SWIG_fail;
25906 swig_obj[0] = args;
25907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25908 if (!SWIG_IsOK(res1)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25910 }
25911 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = (bool)(arg1)->HasBackgroundColour();
25915 wxPyEndAllowThreads(__tstate);
25916 if (PyErr_Occurred()) SWIG_fail;
25917 }
25918 {
25919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25920 }
25921 return resultobj;
25922fail:
25923 return NULL;
d55e5bfc 25924}
1bd55598
RD
25925
25926
25927SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25928 PyObject *resultobj = 0;
25929 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25930 bool result;
25931 void *argp1 = 0 ;
25932 int res1 = 0 ;
25933 PyObject *swig_obj[1] ;
25934
25935 if (!args) SWIG_fail;
25936 swig_obj[0] = args;
25937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25938 if (!SWIG_IsOK(res1)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25940 }
25941 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 result = (bool)(arg1)->HasFont();
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 {
25949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25950 }
25951 return resultobj;
25952fail:
25953 return NULL;
d55e5bfc
RD
25954}
25955
25956
1bd55598
RD
25957SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25958 PyObject *resultobj = 0;
25959 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25960 wxColour result;
25961 void *argp1 = 0 ;
25962 int res1 = 0 ;
25963 PyObject *swig_obj[1] ;
25964
25965 if (!args) SWIG_fail;
25966 swig_obj[0] = args;
25967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25968 if (!SWIG_IsOK(res1)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25970 }
25971 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 result = (arg1)->GetTextColour();
25975 wxPyEndAllowThreads(__tstate);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
25978 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
25979 return resultobj;
25980fail:
25981 return NULL;
d55e5bfc
RD
25982}
25983
25984
1bd55598
RD
25985SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25986 PyObject *resultobj = 0;
25987 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25988 wxColour result;
25989 void *argp1 = 0 ;
25990 int res1 = 0 ;
25991 PyObject *swig_obj[1] ;
25992
25993 if (!args) SWIG_fail;
25994 swig_obj[0] = args;
25995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25996 if (!SWIG_IsOK(res1)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25998 }
25999 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 result = (arg1)->GetBackgroundColour();
26003 wxPyEndAllowThreads(__tstate);
26004 if (PyErr_Occurred()) SWIG_fail;
26005 }
26006 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26007 return resultobj;
26008fail:
26009 return NULL;
d55e5bfc
RD
26010}
26011
26012
1bd55598
RD
26013SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26014 PyObject *resultobj = 0;
26015 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26016 wxFont result;
26017 void *argp1 = 0 ;
26018 int res1 = 0 ;
26019 PyObject *swig_obj[1] ;
26020
26021 if (!args) SWIG_fail;
26022 swig_obj[0] = args;
26023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26024 if (!SWIG_IsOK(res1)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26026 }
26027 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (arg1)->GetFont();
26031 wxPyEndAllowThreads(__tstate);
26032 if (PyErr_Occurred()) SWIG_fail;
26033 }
26034 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26035 return resultobj;
26036fail:
26037 return NULL;
26038}
26039
26040
26041SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26042 PyObject *resultobj = 0;
26043 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26044 wxListItemAttr *arg2 = 0 ;
26045 void *argp1 = 0 ;
26046 int res1 = 0 ;
26047 void *argp2 = 0 ;
26048 int res2 = 0 ;
26049 PyObject * obj0 = 0 ;
26050 PyObject * obj1 = 0 ;
26051 char * kwnames[] = {
26052 (char *) "self",(char *) "source", NULL
26053 };
26054
26055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26057 if (!SWIG_IsOK(res1)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26059 }
26060 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26061 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26062 if (!SWIG_IsOK(res2)) {
26063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26064 }
26065 if (!argp2) {
26066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26067 }
26068 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26069 {
26070 PyThreadState* __tstate = wxPyBeginAllowThreads();
26071 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26072 wxPyEndAllowThreads(__tstate);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 resultobj = SWIG_Py_Void();
26076 return resultobj;
26077fail:
26078 return NULL;
121b9a67
RD
26079}
26080
26081
1bd55598
RD
26082SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26083 PyObject *resultobj = 0;
26084 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26085 void *argp1 = 0 ;
26086 int res1 = 0 ;
26087 PyObject *swig_obj[1] ;
26088
26089 if (!args) SWIG_fail;
26090 swig_obj[0] = args;
26091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26092 if (!SWIG_IsOK(res1)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26094 }
26095 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 wxListItemAttr_Destroy(arg1);
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 resultobj = SWIG_Py_Void();
26103 return resultobj;
26104fail:
26105 return NULL;
121b9a67
RD
26106}
26107
26108
1bd55598
RD
26109SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26110 PyObject *obj;
26111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26112 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26113 return SWIG_Py_Void();
121b9a67
RD
26114}
26115
1bd55598
RD
26116SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26117 return SWIG_Python_InitShadowInstance(args);
26118}
121b9a67 26119
1bd55598
RD
26120SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxListItem *result = 0 ;
26123
26124 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 result = (wxListItem *)new wxListItem();
26128 wxPyEndAllowThreads(__tstate);
26129 if (PyErr_Occurred()) SWIG_fail;
26130 }
26131 {
26132 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW);
26133 }
26134 return resultobj;
26135fail:
26136 return NULL;
121b9a67
RD
26137}
26138
26139
1bd55598
RD
26140SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26141 PyObject *resultobj = 0;
26142 wxListItem *arg1 = (wxListItem *) 0 ;
26143 void *argp1 = 0 ;
26144 int res1 = 0 ;
26145 PyObject *swig_obj[1] ;
26146
26147 if (!args) SWIG_fail;
26148 swig_obj[0] = args;
26149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26150 if (!SWIG_IsOK(res1)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26152 }
26153 arg1 = reinterpret_cast< wxListItem * >(argp1);
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
26156 delete arg1;
f20a2e1f 26157
1bd55598
RD
26158 wxPyEndAllowThreads(__tstate);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 }
26161 resultobj = SWIG_Py_Void();
26162 return resultobj;
26163fail:
26164 return NULL;
f20a2e1f
RD
26165}
26166
26167
1bd55598
RD
26168SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26169 PyObject *resultobj = 0;
26170 wxListItem *arg1 = (wxListItem *) 0 ;
26171 void *argp1 = 0 ;
26172 int res1 = 0 ;
26173 PyObject *swig_obj[1] ;
26174
26175 if (!args) SWIG_fail;
26176 swig_obj[0] = args;
26177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26178 if (!SWIG_IsOK(res1)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26180 }
26181 arg1 = reinterpret_cast< wxListItem * >(argp1);
26182 {
26183 PyThreadState* __tstate = wxPyBeginAllowThreads();
26184 (arg1)->Clear();
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 resultobj = SWIG_Py_Void();
26189 return resultobj;
26190fail:
26191 return NULL;
d55e5bfc 26192}
1bd55598
RD
26193
26194
26195SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxListItem *arg1 = (wxListItem *) 0 ;
26198 void *argp1 = 0 ;
26199 int res1 = 0 ;
26200 PyObject *swig_obj[1] ;
26201
26202 if (!args) SWIG_fail;
26203 swig_obj[0] = args;
26204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26205 if (!SWIG_IsOK(res1)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26207 }
26208 arg1 = reinterpret_cast< wxListItem * >(argp1);
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 (arg1)->ClearAttributes();
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = SWIG_Py_Void();
26216 return resultobj;
26217fail:
26218 return NULL;
26219}
26220
26221
26222SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj = 0;
26224 wxListItem *arg1 = (wxListItem *) 0 ;
26225 long arg2 ;
26226 void *argp1 = 0 ;
26227 int res1 = 0 ;
26228 long val2 ;
26229 int ecode2 = 0 ;
26230 PyObject * obj0 = 0 ;
26231 PyObject * obj1 = 0 ;
26232 char * kwnames[] = {
26233 (char *) "self",(char *) "mask", NULL
26234 };
26235
26236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26238 if (!SWIG_IsOK(res1)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26240 }
26241 arg1 = reinterpret_cast< wxListItem * >(argp1);
26242 ecode2 = SWIG_AsVal_long(obj1, &val2);
26243 if (!SWIG_IsOK(ecode2)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26245 }
26246 arg2 = static_cast< long >(val2);
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 (arg1)->SetMask(arg2);
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 resultobj = SWIG_Py_Void();
26254 return resultobj;
26255fail:
26256 return NULL;
26257}
26258
26259
26260SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj = 0;
26262 wxListItem *arg1 = (wxListItem *) 0 ;
26263 long arg2 ;
26264 void *argp1 = 0 ;
26265 int res1 = 0 ;
26266 long val2 ;
26267 int ecode2 = 0 ;
26268 PyObject * obj0 = 0 ;
26269 PyObject * obj1 = 0 ;
26270 char * kwnames[] = {
26271 (char *) "self",(char *) "id", NULL
26272 };
26273
26274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26276 if (!SWIG_IsOK(res1)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26278 }
26279 arg1 = reinterpret_cast< wxListItem * >(argp1);
26280 ecode2 = SWIG_AsVal_long(obj1, &val2);
26281 if (!SWIG_IsOK(ecode2)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26283 }
26284 arg2 = static_cast< long >(val2);
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 (arg1)->SetId(arg2);
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 resultobj = SWIG_Py_Void();
26292 return resultobj;
26293fail:
26294 return NULL;
26295}
26296
26297
26298SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26299 PyObject *resultobj = 0;
26300 wxListItem *arg1 = (wxListItem *) 0 ;
26301 int arg2 ;
26302 void *argp1 = 0 ;
26303 int res1 = 0 ;
26304 int val2 ;
26305 int ecode2 = 0 ;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 char * kwnames[] = {
26309 (char *) "self",(char *) "col", NULL
26310 };
26311
26312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26314 if (!SWIG_IsOK(res1)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26316 }
26317 arg1 = reinterpret_cast< wxListItem * >(argp1);
26318 ecode2 = SWIG_AsVal_int(obj1, &val2);
26319 if (!SWIG_IsOK(ecode2)) {
26320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26321 }
26322 arg2 = static_cast< int >(val2);
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 (arg1)->SetColumn(arg2);
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 resultobj = SWIG_Py_Void();
26330 return resultobj;
26331fail:
26332 return NULL;
26333}
26334
26335
26336SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj = 0;
26338 wxListItem *arg1 = (wxListItem *) 0 ;
26339 long arg2 ;
26340 void *argp1 = 0 ;
26341 int res1 = 0 ;
26342 long val2 ;
26343 int ecode2 = 0 ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 char * kwnames[] = {
26347 (char *) "self",(char *) "state", NULL
26348 };
26349
26350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26352 if (!SWIG_IsOK(res1)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26354 }
26355 arg1 = reinterpret_cast< wxListItem * >(argp1);
26356 ecode2 = SWIG_AsVal_long(obj1, &val2);
26357 if (!SWIG_IsOK(ecode2)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26359 }
26360 arg2 = static_cast< long >(val2);
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 (arg1)->SetState(arg2);
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 resultobj = SWIG_Py_Void();
26368 return resultobj;
26369fail:
26370 return NULL;
26371}
26372
26373
26374SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26375 PyObject *resultobj = 0;
26376 wxListItem *arg1 = (wxListItem *) 0 ;
26377 long arg2 ;
26378 void *argp1 = 0 ;
26379 int res1 = 0 ;
26380 long val2 ;
26381 int ecode2 = 0 ;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char * kwnames[] = {
26385 (char *) "self",(char *) "stateMask", NULL
26386 };
26387
26388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26390 if (!SWIG_IsOK(res1)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26392 }
26393 arg1 = reinterpret_cast< wxListItem * >(argp1);
26394 ecode2 = SWIG_AsVal_long(obj1, &val2);
26395 if (!SWIG_IsOK(ecode2)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26397 }
26398 arg2 = static_cast< long >(val2);
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
26401 (arg1)->SetStateMask(arg2);
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 resultobj = SWIG_Py_Void();
26406 return resultobj;
26407fail:
26408 return NULL;
26409}
26410
26411
26412SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26413 PyObject *resultobj = 0;
26414 wxListItem *arg1 = (wxListItem *) 0 ;
26415 wxString *arg2 = 0 ;
26416 void *argp1 = 0 ;
26417 int res1 = 0 ;
26418 bool temp2 = false ;
26419 PyObject * obj0 = 0 ;
26420 PyObject * obj1 = 0 ;
26421 char * kwnames[] = {
26422 (char *) "self",(char *) "text", NULL
26423 };
26424
26425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26427 if (!SWIG_IsOK(res1)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26429 }
26430 arg1 = reinterpret_cast< wxListItem * >(argp1);
26431 {
26432 arg2 = wxString_in_helper(obj1);
26433 if (arg2 == NULL) SWIG_fail;
26434 temp2 = true;
26435 }
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 (arg1)->SetText((wxString const &)*arg2);
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 resultobj = SWIG_Py_Void();
26443 {
26444 if (temp2)
26445 delete arg2;
26446 }
26447 return resultobj;
26448fail:
26449 {
26450 if (temp2)
26451 delete arg2;
26452 }
26453 return NULL;
26454}
26455
26456
26457SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26458 PyObject *resultobj = 0;
26459 wxListItem *arg1 = (wxListItem *) 0 ;
26460 int arg2 ;
26461 void *argp1 = 0 ;
26462 int res1 = 0 ;
26463 int val2 ;
26464 int ecode2 = 0 ;
26465 PyObject * obj0 = 0 ;
26466 PyObject * obj1 = 0 ;
26467 char * kwnames[] = {
26468 (char *) "self",(char *) "image", NULL
26469 };
26470
26471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26473 if (!SWIG_IsOK(res1)) {
26474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26475 }
26476 arg1 = reinterpret_cast< wxListItem * >(argp1);
26477 ecode2 = SWIG_AsVal_int(obj1, &val2);
26478 if (!SWIG_IsOK(ecode2)) {
26479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26480 }
26481 arg2 = static_cast< int >(val2);
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 (arg1)->SetImage(arg2);
26485 wxPyEndAllowThreads(__tstate);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 }
26488 resultobj = SWIG_Py_Void();
26489 return resultobj;
26490fail:
26491 return NULL;
26492}
26493
26494
26495SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26496 PyObject *resultobj = 0;
26497 wxListItem *arg1 = (wxListItem *) 0 ;
26498 long arg2 ;
26499 void *argp1 = 0 ;
26500 int res1 = 0 ;
26501 long val2 ;
26502 int ecode2 = 0 ;
26503 PyObject * obj0 = 0 ;
26504 PyObject * obj1 = 0 ;
26505 char * kwnames[] = {
26506 (char *) "self",(char *) "data", NULL
26507 };
26508
26509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26511 if (!SWIG_IsOK(res1)) {
26512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26513 }
26514 arg1 = reinterpret_cast< wxListItem * >(argp1);
26515 ecode2 = SWIG_AsVal_long(obj1, &val2);
26516 if (!SWIG_IsOK(ecode2)) {
26517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26518 }
26519 arg2 = static_cast< long >(val2);
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 (arg1)->SetData(arg2);
26523 wxPyEndAllowThreads(__tstate);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 }
26526 resultobj = SWIG_Py_Void();
26527 return resultobj;
26528fail:
26529 return NULL;
26530}
26531
26532
26533SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26534 PyObject *resultobj = 0;
26535 wxListItem *arg1 = (wxListItem *) 0 ;
26536 int arg2 ;
26537 void *argp1 = 0 ;
26538 int res1 = 0 ;
26539 int val2 ;
26540 int ecode2 = 0 ;
26541 PyObject * obj0 = 0 ;
26542 PyObject * obj1 = 0 ;
26543 char * kwnames[] = {
26544 (char *) "self",(char *) "width", NULL
26545 };
26546
26547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26549 if (!SWIG_IsOK(res1)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26551 }
26552 arg1 = reinterpret_cast< wxListItem * >(argp1);
26553 ecode2 = SWIG_AsVal_int(obj1, &val2);
26554 if (!SWIG_IsOK(ecode2)) {
26555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26556 }
26557 arg2 = static_cast< int >(val2);
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 (arg1)->SetWidth(arg2);
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = SWIG_Py_Void();
26565 return resultobj;
26566fail:
26567 return NULL;
26568}
26569
26570
26571SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26572 PyObject *resultobj = 0;
26573 wxListItem *arg1 = (wxListItem *) 0 ;
26574 wxListColumnFormat arg2 ;
26575 void *argp1 = 0 ;
26576 int res1 = 0 ;
26577 int val2 ;
26578 int ecode2 = 0 ;
26579 PyObject * obj0 = 0 ;
26580 PyObject * obj1 = 0 ;
26581 char * kwnames[] = {
26582 (char *) "self",(char *) "align", NULL
26583 };
26584
26585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26587 if (!SWIG_IsOK(res1)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26589 }
26590 arg1 = reinterpret_cast< wxListItem * >(argp1);
26591 ecode2 = SWIG_AsVal_int(obj1, &val2);
26592 if (!SWIG_IsOK(ecode2)) {
26593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26594 }
26595 arg2 = static_cast< wxListColumnFormat >(val2);
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 (arg1)->SetAlign(arg2);
26599 wxPyEndAllowThreads(__tstate);
26600 if (PyErr_Occurred()) SWIG_fail;
26601 }
26602 resultobj = SWIG_Py_Void();
26603 return resultobj;
26604fail:
26605 return NULL;
26606}
26607
26608
26609SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26610 PyObject *resultobj = 0;
26611 wxListItem *arg1 = (wxListItem *) 0 ;
26612 wxColour *arg2 = 0 ;
26613 void *argp1 = 0 ;
26614 int res1 = 0 ;
26615 wxColour temp2 ;
26616 PyObject * obj0 = 0 ;
26617 PyObject * obj1 = 0 ;
26618 char * kwnames[] = {
26619 (char *) "self",(char *) "colText", NULL
26620 };
26621
26622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26624 if (!SWIG_IsOK(res1)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26626 }
26627 arg1 = reinterpret_cast< wxListItem * >(argp1);
26628 {
26629 arg2 = &temp2;
26630 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26631 }
26632 {
26633 PyThreadState* __tstate = wxPyBeginAllowThreads();
26634 (arg1)->SetTextColour((wxColour const &)*arg2);
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 resultobj = SWIG_Py_Void();
26639 return resultobj;
26640fail:
26641 return NULL;
26642}
26643
26644
26645SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26646 PyObject *resultobj = 0;
26647 wxListItem *arg1 = (wxListItem *) 0 ;
26648 wxColour *arg2 = 0 ;
26649 void *argp1 = 0 ;
26650 int res1 = 0 ;
26651 wxColour temp2 ;
26652 PyObject * obj0 = 0 ;
26653 PyObject * obj1 = 0 ;
26654 char * kwnames[] = {
26655 (char *) "self",(char *) "colBack", NULL
26656 };
26657
26658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26660 if (!SWIG_IsOK(res1)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26662 }
26663 arg1 = reinterpret_cast< wxListItem * >(argp1);
26664 {
26665 arg2 = &temp2;
26666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26667 }
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 (arg1)->SetBackgroundColour((wxColour const &)*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_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj = 0;
26683 wxListItem *arg1 = (wxListItem *) 0 ;
26684 wxFont *arg2 = 0 ;
26685 void *argp1 = 0 ;
26686 int res1 = 0 ;
26687 void *argp2 = 0 ;
26688 int res2 = 0 ;
26689 PyObject * obj0 = 0 ;
26690 PyObject * obj1 = 0 ;
26691 char * kwnames[] = {
26692 (char *) "self",(char *) "font", NULL
26693 };
26694
26695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",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_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26699 }
26700 arg1 = reinterpret_cast< wxListItem * >(argp1);
26701 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26702 if (!SWIG_IsOK(res2)) {
26703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26704 }
26705 if (!argp2) {
26706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26707 }
26708 arg2 = reinterpret_cast< wxFont * >(argp2);
26709 {
26710 PyThreadState* __tstate = wxPyBeginAllowThreads();
26711 (arg1)->SetFont((wxFont const &)*arg2);
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 resultobj = SWIG_Py_Void();
26716 return resultobj;
26717fail:
26718 return NULL;
d55e5bfc
RD
26719}
26720
26721
1bd55598
RD
26722SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26723 PyObject *resultobj = 0;
26724 wxListItem *arg1 = (wxListItem *) 0 ;
26725 long result;
26726 void *argp1 = 0 ;
26727 int res1 = 0 ;
26728 PyObject *swig_obj[1] ;
26729
26730 if (!args) SWIG_fail;
26731 swig_obj[0] = args;
26732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26733 if (!SWIG_IsOK(res1)) {
26734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26735 }
26736 arg1 = reinterpret_cast< wxListItem * >(argp1);
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 result = (long)(arg1)->GetMask();
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 resultobj = SWIG_From_long(static_cast< long >(result));
26744 return resultobj;
26745fail:
26746 return NULL;
d55e5bfc
RD
26747}
26748
26749
1bd55598
RD
26750SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26751 PyObject *resultobj = 0;
26752 wxListItem *arg1 = (wxListItem *) 0 ;
26753 long result;
26754 void *argp1 = 0 ;
26755 int res1 = 0 ;
26756 PyObject *swig_obj[1] ;
26757
26758 if (!args) SWIG_fail;
26759 swig_obj[0] = args;
26760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26761 if (!SWIG_IsOK(res1)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26763 }
26764 arg1 = reinterpret_cast< wxListItem * >(argp1);
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 result = (long)(arg1)->GetId();
26768 wxPyEndAllowThreads(__tstate);
26769 if (PyErr_Occurred()) SWIG_fail;
26770 }
26771 resultobj = SWIG_From_long(static_cast< long >(result));
26772 return resultobj;
26773fail:
26774 return NULL;
d55e5bfc
RD
26775}
26776
26777
1bd55598
RD
26778SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26779 PyObject *resultobj = 0;
26780 wxListItem *arg1 = (wxListItem *) 0 ;
26781 int result;
26782 void *argp1 = 0 ;
26783 int res1 = 0 ;
26784 PyObject *swig_obj[1] ;
26785
26786 if (!args) SWIG_fail;
26787 swig_obj[0] = args;
26788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26789 if (!SWIG_IsOK(res1)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26791 }
26792 arg1 = reinterpret_cast< wxListItem * >(argp1);
26793 {
26794 PyThreadState* __tstate = wxPyBeginAllowThreads();
26795 result = (int)(arg1)->GetColumn();
26796 wxPyEndAllowThreads(__tstate);
26797 if (PyErr_Occurred()) SWIG_fail;
26798 }
26799 resultobj = SWIG_From_int(static_cast< int >(result));
26800 return resultobj;
26801fail:
26802 return NULL;
d55e5bfc
RD
26803}
26804
26805
1bd55598
RD
26806SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26807 PyObject *resultobj = 0;
26808 wxListItem *arg1 = (wxListItem *) 0 ;
26809 long result;
26810 void *argp1 = 0 ;
26811 int res1 = 0 ;
26812 PyObject *swig_obj[1] ;
26813
26814 if (!args) SWIG_fail;
26815 swig_obj[0] = args;
26816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26817 if (!SWIG_IsOK(res1)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26819 }
26820 arg1 = reinterpret_cast< wxListItem * >(argp1);
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 result = (long)(arg1)->GetState();
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 resultobj = SWIG_From_long(static_cast< long >(result));
26828 return resultobj;
26829fail:
26830 return NULL;
8fb0e70a
RD
26831}
26832
26833
1bd55598
RD
26834SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26835 PyObject *resultobj = 0;
26836 wxListItem *arg1 = (wxListItem *) 0 ;
26837 wxString *result = 0 ;
26838 void *argp1 = 0 ;
26839 int res1 = 0 ;
26840 PyObject *swig_obj[1] ;
26841
26842 if (!args) SWIG_fail;
26843 swig_obj[0] = args;
26844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26845 if (!SWIG_IsOK(res1)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26847 }
26848 arg1 = reinterpret_cast< wxListItem * >(argp1);
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 26851 {
1bd55598
RD
26852 wxString const &_result_ref = (arg1)->GetText();
26853 result = (wxString *) &_result_ref;
36ed4f51 26854 }
1bd55598
RD
26855 wxPyEndAllowThreads(__tstate);
26856 if (PyErr_Occurred()) SWIG_fail;
26857 }
26858 {
26859#if wxUSE_UNICODE
26860 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
26861#else
26862 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
26863#endif
26864 }
26865 return resultobj;
26866fail:
26867 return NULL;
d55e5bfc
RD
26868}
26869
26870
1bd55598
RD
26871SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26872 PyObject *resultobj = 0;
26873 wxListItem *arg1 = (wxListItem *) 0 ;
26874 int result;
26875 void *argp1 = 0 ;
26876 int res1 = 0 ;
26877 PyObject *swig_obj[1] ;
26878
26879 if (!args) SWIG_fail;
26880 swig_obj[0] = args;
26881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26882 if (!SWIG_IsOK(res1)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26884 }
26885 arg1 = reinterpret_cast< wxListItem * >(argp1);
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = (int)(arg1)->GetImage();
26889 wxPyEndAllowThreads(__tstate);
26890 if (PyErr_Occurred()) SWIG_fail;
26891 }
26892 resultobj = SWIG_From_int(static_cast< int >(result));
26893 return resultobj;
26894fail:
26895 return NULL;
d55e5bfc
RD
26896}
26897
26898
1bd55598
RD
26899SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26900 PyObject *resultobj = 0;
26901 wxListItem *arg1 = (wxListItem *) 0 ;
26902 long result;
26903 void *argp1 = 0 ;
26904 int res1 = 0 ;
26905 PyObject *swig_obj[1] ;
26906
26907 if (!args) SWIG_fail;
26908 swig_obj[0] = args;
26909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26910 if (!SWIG_IsOK(res1)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 }
26913 arg1 = reinterpret_cast< wxListItem * >(argp1);
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 result = (long)(arg1)->GetData();
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 resultobj = SWIG_From_long(static_cast< long >(result));
26921 return resultobj;
26922fail:
26923 return NULL;
d55e5bfc
RD
26924}
26925
26926
1bd55598
RD
26927SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26928 PyObject *resultobj = 0;
26929 wxListItem *arg1 = (wxListItem *) 0 ;
26930 int result;
26931 void *argp1 = 0 ;
26932 int res1 = 0 ;
26933 PyObject *swig_obj[1] ;
26934
26935 if (!args) SWIG_fail;
26936 swig_obj[0] = args;
26937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26938 if (!SWIG_IsOK(res1)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26940 }
26941 arg1 = reinterpret_cast< wxListItem * >(argp1);
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 result = (int)(arg1)->GetWidth();
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_From_int(static_cast< int >(result));
26949 return resultobj;
26950fail:
26951 return NULL;
d55e5bfc
RD
26952}
26953
26954
1bd55598
RD
26955SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26956 PyObject *resultobj = 0;
26957 wxListItem *arg1 = (wxListItem *) 0 ;
26958 wxListColumnFormat result;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 PyObject *swig_obj[1] ;
26962
26963 if (!args) SWIG_fail;
26964 swig_obj[0] = args;
26965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26966 if (!SWIG_IsOK(res1)) {
26967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26968 }
26969 arg1 = reinterpret_cast< wxListItem * >(argp1);
26970 {
26971 PyThreadState* __tstate = wxPyBeginAllowThreads();
26972 result = (wxListColumnFormat)(arg1)->GetAlign();
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 resultobj = SWIG_From_int(static_cast< int >(result));
26977 return resultobj;
26978fail:
26979 return NULL;
d55e5bfc
RD
26980}
26981
26982
1bd55598
RD
26983SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26984 PyObject *resultobj = 0;
26985 wxListItem *arg1 = (wxListItem *) 0 ;
26986 wxListItemAttr *result = 0 ;
26987 void *argp1 = 0 ;
26988 int res1 = 0 ;
26989 PyObject *swig_obj[1] ;
26990
26991 if (!args) SWIG_fail;
26992 swig_obj[0] = args;
26993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26994 if (!SWIG_IsOK(res1)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26996 }
26997 arg1 = reinterpret_cast< wxListItem * >(argp1);
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 result = (wxListItemAttr *)(arg1)->GetAttributes();
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27005 return resultobj;
27006fail:
27007 return NULL;
d55e5bfc
RD
27008}
27009
27010
1bd55598
RD
27011SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27012 PyObject *resultobj = 0;
27013 wxListItem *arg1 = (wxListItem *) 0 ;
27014 bool result;
27015 void *argp1 = 0 ;
27016 int res1 = 0 ;
27017 PyObject *swig_obj[1] ;
27018
27019 if (!args) SWIG_fail;
27020 swig_obj[0] = args;
27021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27022 if (!SWIG_IsOK(res1)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27024 }
27025 arg1 = reinterpret_cast< wxListItem * >(argp1);
27026 {
27027 PyThreadState* __tstate = wxPyBeginAllowThreads();
27028 result = (bool)(arg1)->HasAttributes();
27029 wxPyEndAllowThreads(__tstate);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 }
27032 {
27033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27034 }
27035 return resultobj;
27036fail:
27037 return NULL;
d55e5bfc
RD
27038}
27039
27040
1bd55598
RD
27041SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27042 PyObject *resultobj = 0;
27043 wxListItem *arg1 = (wxListItem *) 0 ;
27044 wxColour result;
27045 void *argp1 = 0 ;
27046 int res1 = 0 ;
27047 PyObject *swig_obj[1] ;
27048
27049 if (!args) SWIG_fail;
27050 swig_obj[0] = args;
27051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27052 if (!SWIG_IsOK(res1)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27054 }
27055 arg1 = reinterpret_cast< wxListItem * >(argp1);
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 result = ((wxListItem const *)arg1)->GetTextColour();
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27063 return resultobj;
27064fail:
27065 return NULL;
d55e5bfc
RD
27066}
27067
27068
1bd55598
RD
27069SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27070 PyObject *resultobj = 0;
27071 wxListItem *arg1 = (wxListItem *) 0 ;
27072 wxColour result;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 PyObject *swig_obj[1] ;
27076
27077 if (!args) SWIG_fail;
27078 swig_obj[0] = args;
27079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27080 if (!SWIG_IsOK(res1)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27082 }
27083 arg1 = reinterpret_cast< wxListItem * >(argp1);
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27087 wxPyEndAllowThreads(__tstate);
27088 if (PyErr_Occurred()) SWIG_fail;
27089 }
27090 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27091 return resultobj;
27092fail:
27093 return NULL;
d55e5bfc
RD
27094}
27095
27096
1bd55598
RD
27097SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27098 PyObject *resultobj = 0;
27099 wxListItem *arg1 = (wxListItem *) 0 ;
27100 wxFont result;
27101 void *argp1 = 0 ;
27102 int res1 = 0 ;
27103 PyObject *swig_obj[1] ;
27104
27105 if (!args) SWIG_fail;
27106 swig_obj[0] = args;
27107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27108 if (!SWIG_IsOK(res1)) {
27109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27110 }
27111 arg1 = reinterpret_cast< wxListItem * >(argp1);
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 result = ((wxListItem const *)arg1)->GetFont();
27115 wxPyEndAllowThreads(__tstate);
27116 if (PyErr_Occurred()) SWIG_fail;
27117 }
27118 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27119 return resultobj;
27120fail:
27121 return NULL;
27122}
27123
27124
27125SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27126 PyObject *resultobj = 0;
27127 wxListItem *arg1 = (wxListItem *) 0 ;
27128 long arg2 ;
27129 void *argp1 = 0 ;
27130 int res1 = 0 ;
27131 long val2 ;
27132 int ecode2 = 0 ;
27133 PyObject *swig_obj[2] ;
27134
27135 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27137 if (!SWIG_IsOK(res1)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27139 }
27140 arg1 = reinterpret_cast< wxListItem * >(argp1);
27141 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27142 if (!SWIG_IsOK(ecode2)) {
27143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27144 }
27145 arg2 = static_cast< long >(val2);
27146 if (arg1) (arg1)->m_mask = arg2;
27147
27148 resultobj = SWIG_Py_Void();
27149 return resultobj;
27150fail:
27151 return NULL;
d55e5bfc
RD
27152}
27153
27154
1bd55598
RD
27155SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27156 PyObject *resultobj = 0;
27157 wxListItem *arg1 = (wxListItem *) 0 ;
27158 long result;
27159 void *argp1 = 0 ;
27160 int res1 = 0 ;
27161 PyObject *swig_obj[1] ;
27162
27163 if (!args) SWIG_fail;
27164 swig_obj[0] = args;
27165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27166 if (!SWIG_IsOK(res1)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27168 }
27169 arg1 = reinterpret_cast< wxListItem * >(argp1);
27170 result = (long) ((arg1)->m_mask);
27171 resultobj = SWIG_From_long(static_cast< long >(result));
27172 return resultobj;
27173fail:
27174 return NULL;
27175}
27176
27177
27178SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27179 PyObject *resultobj = 0;
27180 wxListItem *arg1 = (wxListItem *) 0 ;
27181 long arg2 ;
27182 void *argp1 = 0 ;
27183 int res1 = 0 ;
27184 long val2 ;
27185 int ecode2 = 0 ;
27186 PyObject *swig_obj[2] ;
27187
27188 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27190 if (!SWIG_IsOK(res1)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27192 }
27193 arg1 = reinterpret_cast< wxListItem * >(argp1);
27194 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27195 if (!SWIG_IsOK(ecode2)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27197 }
27198 arg2 = static_cast< long >(val2);
27199 if (arg1) (arg1)->m_itemId = arg2;
27200
27201 resultobj = SWIG_Py_Void();
27202 return resultobj;
27203fail:
27204 return NULL;
7e08d4ef
RD
27205}
27206
27207
1bd55598
RD
27208SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27209 PyObject *resultobj = 0;
27210 wxListItem *arg1 = (wxListItem *) 0 ;
27211 long result;
27212 void *argp1 = 0 ;
27213 int res1 = 0 ;
27214 PyObject *swig_obj[1] ;
27215
27216 if (!args) SWIG_fail;
27217 swig_obj[0] = args;
27218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27219 if (!SWIG_IsOK(res1)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27221 }
27222 arg1 = reinterpret_cast< wxListItem * >(argp1);
27223 result = (long) ((arg1)->m_itemId);
27224 resultobj = SWIG_From_long(static_cast< long >(result));
27225 return resultobj;
27226fail:
27227 return NULL;
27228}
27229
27230
27231SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27232 PyObject *resultobj = 0;
27233 wxListItem *arg1 = (wxListItem *) 0 ;
27234 int arg2 ;
27235 void *argp1 = 0 ;
27236 int res1 = 0 ;
27237 int val2 ;
27238 int ecode2 = 0 ;
27239 PyObject *swig_obj[2] ;
27240
27241 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27243 if (!SWIG_IsOK(res1)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27245 }
27246 arg1 = reinterpret_cast< wxListItem * >(argp1);
27247 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27248 if (!SWIG_IsOK(ecode2)) {
27249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27250 }
27251 arg2 = static_cast< int >(val2);
27252 if (arg1) (arg1)->m_col = arg2;
27253
27254 resultobj = SWIG_Py_Void();
27255 return resultobj;
27256fail:
27257 return NULL;
7e08d4ef
RD
27258}
27259
27260
1bd55598
RD
27261SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27262 PyObject *resultobj = 0;
27263 wxListItem *arg1 = (wxListItem *) 0 ;
27264 int result;
27265 void *argp1 = 0 ;
27266 int res1 = 0 ;
27267 PyObject *swig_obj[1] ;
27268
27269 if (!args) SWIG_fail;
27270 swig_obj[0] = args;
27271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27272 if (!SWIG_IsOK(res1)) {
27273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27274 }
27275 arg1 = reinterpret_cast< wxListItem * >(argp1);
27276 result = (int) ((arg1)->m_col);
27277 resultobj = SWIG_From_int(static_cast< int >(result));
27278 return resultobj;
27279fail:
27280 return NULL;
27281}
27282
27283
27284SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27285 PyObject *resultobj = 0;
27286 wxListItem *arg1 = (wxListItem *) 0 ;
27287 long arg2 ;
27288 void *argp1 = 0 ;
27289 int res1 = 0 ;
27290 long val2 ;
27291 int ecode2 = 0 ;
27292 PyObject *swig_obj[2] ;
27293
27294 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27296 if (!SWIG_IsOK(res1)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27298 }
27299 arg1 = reinterpret_cast< wxListItem * >(argp1);
27300 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27301 if (!SWIG_IsOK(ecode2)) {
27302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27303 }
27304 arg2 = static_cast< long >(val2);
27305 if (arg1) (arg1)->m_state = arg2;
27306
27307 resultobj = SWIG_Py_Void();
27308 return resultobj;
27309fail:
27310 return NULL;
7e08d4ef
RD
27311}
27312
27313
1bd55598
RD
27314SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27315 PyObject *resultobj = 0;
27316 wxListItem *arg1 = (wxListItem *) 0 ;
27317 long result;
27318 void *argp1 = 0 ;
27319 int res1 = 0 ;
27320 PyObject *swig_obj[1] ;
27321
27322 if (!args) SWIG_fail;
27323 swig_obj[0] = args;
27324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27325 if (!SWIG_IsOK(res1)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27327 }
27328 arg1 = reinterpret_cast< wxListItem * >(argp1);
27329 result = (long) ((arg1)->m_state);
27330 resultobj = SWIG_From_long(static_cast< long >(result));
27331 return resultobj;
27332fail:
27333 return NULL;
27334}
27335
27336
27337SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27338 PyObject *resultobj = 0;
27339 wxListItem *arg1 = (wxListItem *) 0 ;
27340 long arg2 ;
27341 void *argp1 = 0 ;
27342 int res1 = 0 ;
27343 long val2 ;
27344 int ecode2 = 0 ;
27345 PyObject *swig_obj[2] ;
27346
27347 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27349 if (!SWIG_IsOK(res1)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27351 }
27352 arg1 = reinterpret_cast< wxListItem * >(argp1);
27353 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27354 if (!SWIG_IsOK(ecode2)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27356 }
27357 arg2 = static_cast< long >(val2);
27358 if (arg1) (arg1)->m_stateMask = arg2;
27359
27360 resultobj = SWIG_Py_Void();
27361 return resultobj;
27362fail:
27363 return NULL;
7e08d4ef
RD
27364}
27365
27366
1bd55598
RD
27367SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27368 PyObject *resultobj = 0;
27369 wxListItem *arg1 = (wxListItem *) 0 ;
27370 long result;
27371 void *argp1 = 0 ;
27372 int res1 = 0 ;
27373 PyObject *swig_obj[1] ;
27374
27375 if (!args) SWIG_fail;
27376 swig_obj[0] = args;
27377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27378 if (!SWIG_IsOK(res1)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27380 }
27381 arg1 = reinterpret_cast< wxListItem * >(argp1);
27382 result = (long) ((arg1)->m_stateMask);
27383 resultobj = SWIG_From_long(static_cast< long >(result));
27384 return resultobj;
27385fail:
27386 return NULL;
27387}
27388
27389
27390SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27391 PyObject *resultobj = 0;
27392 wxListItem *arg1 = (wxListItem *) 0 ;
27393 wxString *arg2 = (wxString *) 0 ;
27394 void *argp1 = 0 ;
27395 int res1 = 0 ;
27396 bool temp2 = false ;
27397 PyObject *swig_obj[2] ;
27398
27399 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27401 if (!SWIG_IsOK(res1)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27403 }
27404 arg1 = reinterpret_cast< wxListItem * >(argp1);
27405 {
27406 arg2 = wxString_in_helper(swig_obj[1]);
27407 if (arg2 == NULL) SWIG_fail;
27408 temp2 = true;
27409 }
27410 if (arg1) (arg1)->m_text = *arg2;
27411
27412 resultobj = SWIG_Py_Void();
27413 {
27414 if (temp2)
27415 delete arg2;
27416 }
27417 return resultobj;
27418fail:
27419 {
27420 if (temp2)
27421 delete arg2;
27422 }
27423 return NULL;
7e08d4ef
RD
27424}
27425
27426
1bd55598
RD
27427SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27428 PyObject *resultobj = 0;
27429 wxListItem *arg1 = (wxListItem *) 0 ;
27430 wxString *result = 0 ;
27431 void *argp1 = 0 ;
27432 int res1 = 0 ;
27433 PyObject *swig_obj[1] ;
27434
27435 if (!args) SWIG_fail;
27436 swig_obj[0] = args;
27437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27438 if (!SWIG_IsOK(res1)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27440 }
27441 arg1 = reinterpret_cast< wxListItem * >(argp1);
27442 result = (wxString *)& ((arg1)->m_text);
27443 {
27444#if wxUSE_UNICODE
27445 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27446#else
27447 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27448#endif
27449 }
27450 return resultobj;
27451fail:
27452 return NULL;
d55e5bfc
RD
27453}
27454
27455
1bd55598
RD
27456SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27457 PyObject *resultobj = 0;
27458 wxListItem *arg1 = (wxListItem *) 0 ;
27459 int arg2 ;
27460 void *argp1 = 0 ;
27461 int res1 = 0 ;
27462 int val2 ;
27463 int ecode2 = 0 ;
27464 PyObject *swig_obj[2] ;
27465
27466 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27468 if (!SWIG_IsOK(res1)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27470 }
27471 arg1 = reinterpret_cast< wxListItem * >(argp1);
27472 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27473 if (!SWIG_IsOK(ecode2)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27475 }
27476 arg2 = static_cast< int >(val2);
27477 if (arg1) (arg1)->m_image = arg2;
27478
27479 resultobj = SWIG_Py_Void();
27480 return resultobj;
27481fail:
27482 return NULL;
d55e5bfc
RD
27483}
27484
27485
1bd55598
RD
27486SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27487 PyObject *resultobj = 0;
27488 wxListItem *arg1 = (wxListItem *) 0 ;
27489 int result;
27490 void *argp1 = 0 ;
27491 int res1 = 0 ;
27492 PyObject *swig_obj[1] ;
27493
27494 if (!args) SWIG_fail;
27495 swig_obj[0] = args;
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_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27499 }
27500 arg1 = reinterpret_cast< wxListItem * >(argp1);
27501 result = (int) ((arg1)->m_image);
27502 resultobj = SWIG_From_int(static_cast< int >(result));
27503 return resultobj;
27504fail:
27505 return NULL;
27506}
27507
27508
27509SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27510 PyObject *resultobj = 0;
27511 wxListItem *arg1 = (wxListItem *) 0 ;
27512 long arg2 ;
27513 void *argp1 = 0 ;
27514 int res1 = 0 ;
27515 long val2 ;
27516 int ecode2 = 0 ;
27517 PyObject *swig_obj[2] ;
27518
27519 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27521 if (!SWIG_IsOK(res1)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27523 }
27524 arg1 = reinterpret_cast< wxListItem * >(argp1);
27525 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27526 if (!SWIG_IsOK(ecode2)) {
27527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27528 }
27529 arg2 = static_cast< long >(val2);
27530 if (arg1) (arg1)->m_data = arg2;
27531
27532 resultobj = SWIG_Py_Void();
27533 return resultobj;
27534fail:
27535 return NULL;
d55e5bfc
RD
27536}
27537
27538
1bd55598
RD
27539SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27540 PyObject *resultobj = 0;
27541 wxListItem *arg1 = (wxListItem *) 0 ;
27542 long result;
27543 void *argp1 = 0 ;
27544 int res1 = 0 ;
27545 PyObject *swig_obj[1] ;
27546
27547 if (!args) SWIG_fail;
27548 swig_obj[0] = args;
27549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27550 if (!SWIG_IsOK(res1)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27552 }
27553 arg1 = reinterpret_cast< wxListItem * >(argp1);
27554 result = (long) ((arg1)->m_data);
27555 resultobj = SWIG_From_long(static_cast< long >(result));
27556 return resultobj;
27557fail:
27558 return NULL;
27559}
27560
27561
27562SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27563 PyObject *resultobj = 0;
27564 wxListItem *arg1 = (wxListItem *) 0 ;
27565 int arg2 ;
27566 void *argp1 = 0 ;
27567 int res1 = 0 ;
27568 int val2 ;
27569 int ecode2 = 0 ;
27570 PyObject *swig_obj[2] ;
27571
27572 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27574 if (!SWIG_IsOK(res1)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27576 }
27577 arg1 = reinterpret_cast< wxListItem * >(argp1);
27578 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27579 if (!SWIG_IsOK(ecode2)) {
27580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27581 }
27582 arg2 = static_cast< int >(val2);
27583 if (arg1) (arg1)->m_format = arg2;
27584
27585 resultobj = SWIG_Py_Void();
27586 return resultobj;
27587fail:
27588 return NULL;
d55e5bfc
RD
27589}
27590
27591
1bd55598
RD
27592SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27593 PyObject *resultobj = 0;
27594 wxListItem *arg1 = (wxListItem *) 0 ;
27595 int result;
27596 void *argp1 = 0 ;
27597 int res1 = 0 ;
27598 PyObject *swig_obj[1] ;
27599
27600 if (!args) SWIG_fail;
27601 swig_obj[0] = args;
27602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27603 if (!SWIG_IsOK(res1)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27605 }
27606 arg1 = reinterpret_cast< wxListItem * >(argp1);
27607 result = (int) ((arg1)->m_format);
27608 resultobj = SWIG_From_int(static_cast< int >(result));
27609 return resultobj;
27610fail:
27611 return NULL;
27612}
27613
27614
27615SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27616 PyObject *resultobj = 0;
27617 wxListItem *arg1 = (wxListItem *) 0 ;
27618 int arg2 ;
27619 void *argp1 = 0 ;
27620 int res1 = 0 ;
27621 int val2 ;
27622 int ecode2 = 0 ;
27623 PyObject *swig_obj[2] ;
27624
27625 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
27626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27627 if (!SWIG_IsOK(res1)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27629 }
27630 arg1 = reinterpret_cast< wxListItem * >(argp1);
27631 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27632 if (!SWIG_IsOK(ecode2)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27634 }
27635 arg2 = static_cast< int >(val2);
27636 if (arg1) (arg1)->m_width = arg2;
27637
27638 resultobj = SWIG_Py_Void();
27639 return resultobj;
27640fail:
27641 return NULL;
d55e5bfc
RD
27642}
27643
27644
1bd55598
RD
27645SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27646 PyObject *resultobj = 0;
27647 wxListItem *arg1 = (wxListItem *) 0 ;
27648 int result;
27649 void *argp1 = 0 ;
27650 int res1 = 0 ;
27651 PyObject *swig_obj[1] ;
27652
27653 if (!args) SWIG_fail;
27654 swig_obj[0] = args;
27655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27656 if (!SWIG_IsOK(res1)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27658 }
27659 arg1 = reinterpret_cast< wxListItem * >(argp1);
27660 result = (int) ((arg1)->m_width);
27661 resultobj = SWIG_From_int(static_cast< int >(result));
27662 return resultobj;
27663fail:
27664 return NULL;
27665}
27666
27667
27668SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27669 PyObject *obj;
27670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27671 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
27672 return SWIG_Py_Void();
27673}
27674
27675SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27676 return SWIG_Python_InitShadowInstance(args);
27677}
27678
27679SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27680 PyObject *resultobj = 0;
27681 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27682 int arg2 = (int) 0 ;
27683 wxListEvent *result = 0 ;
27684 int val1 ;
27685 int ecode1 = 0 ;
27686 int val2 ;
27687 int ecode2 = 0 ;
27688 PyObject * obj0 = 0 ;
27689 PyObject * obj1 = 0 ;
27690 char * kwnames[] = {
27691 (char *) "commandType",(char *) "id", NULL
27692 };
27693
27694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
27695 if (obj0) {
27696 ecode1 = SWIG_AsVal_int(obj0, &val1);
27697 if (!SWIG_IsOK(ecode1)) {
27698 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27699 }
27700 arg1 = static_cast< wxEventType >(val1);
27701 }
27702 if (obj1) {
27703 ecode2 = SWIG_AsVal_int(obj1, &val2);
27704 if (!SWIG_IsOK(ecode2)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27706 }
27707 arg2 = static_cast< int >(val2);
27708 }
27709 {
27710 PyThreadState* __tstate = wxPyBeginAllowThreads();
27711 result = (wxListEvent *)new wxListEvent(arg1,arg2);
27712 wxPyEndAllowThreads(__tstate);
27713 if (PyErr_Occurred()) SWIG_fail;
27714 }
27715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
27716 return resultobj;
27717fail:
27718 return NULL;
27719}
27720
27721
27722SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27723 PyObject *resultobj = 0;
27724 wxListEvent *arg1 = (wxListEvent *) 0 ;
27725 int arg2 ;
27726 void *argp1 = 0 ;
27727 int res1 = 0 ;
27728 int val2 ;
27729 int ecode2 = 0 ;
27730 PyObject *swig_obj[2] ;
27731
27732 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
27733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27734 if (!SWIG_IsOK(res1)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27736 }
27737 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27738 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27739 if (!SWIG_IsOK(ecode2)) {
27740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27741 }
27742 arg2 = static_cast< int >(val2);
27743 if (arg1) (arg1)->m_code = arg2;
27744
27745 resultobj = SWIG_Py_Void();
27746 return resultobj;
27747fail:
27748 return NULL;
d55e5bfc
RD
27749}
27750
27751
1bd55598
RD
27752SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27753 PyObject *resultobj = 0;
27754 wxListEvent *arg1 = (wxListEvent *) 0 ;
27755 int result;
27756 void *argp1 = 0 ;
27757 int res1 = 0 ;
27758 PyObject *swig_obj[1] ;
27759
27760 if (!args) SWIG_fail;
27761 swig_obj[0] = args;
27762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27763 if (!SWIG_IsOK(res1)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27765 }
27766 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27767 result = (int) ((arg1)->m_code);
27768 resultobj = SWIG_From_int(static_cast< int >(result));
27769 return resultobj;
27770fail:
27771 return NULL;
27772}
27773
27774
27775SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27776 PyObject *resultobj = 0;
27777 wxListEvent *arg1 = (wxListEvent *) 0 ;
27778 long arg2 ;
27779 void *argp1 = 0 ;
27780 int res1 = 0 ;
27781 long val2 ;
27782 int ecode2 = 0 ;
27783 PyObject *swig_obj[2] ;
27784
27785 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
27786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27787 if (!SWIG_IsOK(res1)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27789 }
27790 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27791 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27792 if (!SWIG_IsOK(ecode2)) {
27793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27794 }
27795 arg2 = static_cast< long >(val2);
27796 if (arg1) (arg1)->m_oldItemIndex = arg2;
27797
27798 resultobj = SWIG_Py_Void();
27799 return resultobj;
27800fail:
27801 return NULL;
d55e5bfc
RD
27802}
27803
27804
1bd55598
RD
27805SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27806 PyObject *resultobj = 0;
27807 wxListEvent *arg1 = (wxListEvent *) 0 ;
27808 long result;
27809 void *argp1 = 0 ;
27810 int res1 = 0 ;
27811 PyObject *swig_obj[1] ;
27812
27813 if (!args) SWIG_fail;
27814 swig_obj[0] = args;
27815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27816 if (!SWIG_IsOK(res1)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27818 }
27819 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27820 result = (long) ((arg1)->m_oldItemIndex);
27821 resultobj = SWIG_From_long(static_cast< long >(result));
27822 return resultobj;
27823fail:
27824 return NULL;
27825}
27826
27827
27828SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27829 PyObject *resultobj = 0;
27830 wxListEvent *arg1 = (wxListEvent *) 0 ;
27831 long arg2 ;
27832 void *argp1 = 0 ;
27833 int res1 = 0 ;
27834 long val2 ;
27835 int ecode2 = 0 ;
27836 PyObject *swig_obj[2] ;
27837
27838 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
27839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27840 if (!SWIG_IsOK(res1)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27842 }
27843 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27844 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27845 if (!SWIG_IsOK(ecode2)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27847 }
27848 arg2 = static_cast< long >(val2);
27849 if (arg1) (arg1)->m_itemIndex = arg2;
27850
27851 resultobj = SWIG_Py_Void();
27852 return resultobj;
27853fail:
27854 return NULL;
f20a2e1f
RD
27855}
27856
27857
1bd55598
RD
27858SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27859 PyObject *resultobj = 0;
27860 wxListEvent *arg1 = (wxListEvent *) 0 ;
27861 long result;
27862 void *argp1 = 0 ;
27863 int res1 = 0 ;
27864 PyObject *swig_obj[1] ;
27865
27866 if (!args) SWIG_fail;
27867 swig_obj[0] = args;
27868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27869 if (!SWIG_IsOK(res1)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27871 }
27872 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27873 result = (long) ((arg1)->m_itemIndex);
27874 resultobj = SWIG_From_long(static_cast< long >(result));
27875 return resultobj;
27876fail:
27877 return NULL;
27878}
27879
27880
27881SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27882 PyObject *resultobj = 0;
27883 wxListEvent *arg1 = (wxListEvent *) 0 ;
27884 int arg2 ;
27885 void *argp1 = 0 ;
27886 int res1 = 0 ;
27887 int val2 ;
27888 int ecode2 = 0 ;
27889 PyObject *swig_obj[2] ;
27890
27891 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
27892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27893 if (!SWIG_IsOK(res1)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27895 }
27896 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27897 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27898 if (!SWIG_IsOK(ecode2)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27900 }
27901 arg2 = static_cast< int >(val2);
27902 if (arg1) (arg1)->m_col = arg2;
27903
27904 resultobj = SWIG_Py_Void();
27905 return resultobj;
27906fail:
27907 return NULL;
d55e5bfc
RD
27908}
27909
27910
1bd55598
RD
27911SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27912 PyObject *resultobj = 0;
27913 wxListEvent *arg1 = (wxListEvent *) 0 ;
27914 int result;
27915 void *argp1 = 0 ;
27916 int res1 = 0 ;
27917 PyObject *swig_obj[1] ;
27918
27919 if (!args) SWIG_fail;
27920 swig_obj[0] = args;
27921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27922 if (!SWIG_IsOK(res1)) {
27923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27924 }
27925 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27926 result = (int) ((arg1)->m_col);
27927 resultobj = SWIG_From_int(static_cast< int >(result));
27928 return resultobj;
27929fail:
27930 return NULL;
27931}
27932
27933
27934SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27935 PyObject *resultobj = 0;
27936 wxListEvent *arg1 = (wxListEvent *) 0 ;
27937 wxPoint *arg2 = (wxPoint *) 0 ;
27938 void *argp1 = 0 ;
27939 int res1 = 0 ;
27940 void *argp2 = 0 ;
27941 int res2 = 0 ;
27942 PyObject *swig_obj[2] ;
27943
27944 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
27945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27946 if (!SWIG_IsOK(res1)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27948 }
27949 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27950 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
27951 if (!SWIG_IsOK(res2)) {
27952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27953 }
27954 arg2 = reinterpret_cast< wxPoint * >(argp2);
27955 if (arg1) (arg1)->m_pointDrag = *arg2;
27956
27957 resultobj = SWIG_Py_Void();
27958 return resultobj;
27959fail:
27960 return NULL;
d55e5bfc
RD
27961}
27962
27963
1bd55598
RD
27964SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27965 PyObject *resultobj = 0;
27966 wxListEvent *arg1 = (wxListEvent *) 0 ;
27967 wxPoint *result = 0 ;
27968 void *argp1 = 0 ;
27969 int res1 = 0 ;
27970 PyObject *swig_obj[1] ;
27971
27972 if (!args) SWIG_fail;
27973 swig_obj[0] = args;
27974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27975 if (!SWIG_IsOK(res1)) {
27976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27977 }
27978 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27979 result = (wxPoint *)& ((arg1)->m_pointDrag);
27980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
27981 return resultobj;
27982fail:
27983 return NULL;
27984}
27985
27986
27987SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27988 PyObject *resultobj = 0;
27989 wxListEvent *arg1 = (wxListEvent *) 0 ;
27990 wxListItem *result = 0 ;
27991 void *argp1 = 0 ;
27992 int res1 = 0 ;
27993 PyObject *swig_obj[1] ;
27994
27995 if (!args) SWIG_fail;
27996 swig_obj[0] = args;
27997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27998 if (!SWIG_IsOK(res1)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28000 }
28001 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28002 result = (wxListItem *)& ((arg1)->m_item);
28003 {
28004 resultobj = wxPyMake_wxObject(result, (bool)0);
28005 }
28006 return resultobj;
28007fail:
28008 return NULL;
d55e5bfc
RD
28009}
28010
28011
1bd55598
RD
28012SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28013 PyObject *resultobj = 0;
28014 wxListEvent *arg1 = (wxListEvent *) 0 ;
28015 int result;
28016 void *argp1 = 0 ;
28017 int res1 = 0 ;
28018 PyObject *swig_obj[1] ;
28019
28020 if (!args) SWIG_fail;
28021 swig_obj[0] = args;
28022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28023 if (!SWIG_IsOK(res1)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28025 }
28026 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28027 {
28028 PyThreadState* __tstate = wxPyBeginAllowThreads();
28029 result = (int)(arg1)->GetKeyCode();
28030 wxPyEndAllowThreads(__tstate);
28031 if (PyErr_Occurred()) SWIG_fail;
28032 }
28033 resultobj = SWIG_From_int(static_cast< int >(result));
28034 return resultobj;
28035fail:
28036 return NULL;
d55e5bfc
RD
28037}
28038
28039
1bd55598
RD
28040SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28041 PyObject *resultobj = 0;
28042 wxListEvent *arg1 = (wxListEvent *) 0 ;
28043 long result;
28044 void *argp1 = 0 ;
28045 int res1 = 0 ;
28046 PyObject *swig_obj[1] ;
28047
28048 if (!args) SWIG_fail;
28049 swig_obj[0] = args;
28050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28051 if (!SWIG_IsOK(res1)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28053 }
28054 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28055 {
28056 PyThreadState* __tstate = wxPyBeginAllowThreads();
28057 result = (long)(arg1)->GetIndex();
28058 wxPyEndAllowThreads(__tstate);
28059 if (PyErr_Occurred()) SWIG_fail;
28060 }
28061 resultobj = SWIG_From_long(static_cast< long >(result));
28062 return resultobj;
28063fail:
28064 return NULL;
d55e5bfc
RD
28065}
28066
28067
1bd55598
RD
28068SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28069 PyObject *resultobj = 0;
28070 wxListEvent *arg1 = (wxListEvent *) 0 ;
28071 int result;
28072 void *argp1 = 0 ;
28073 int res1 = 0 ;
28074 PyObject *swig_obj[1] ;
28075
28076 if (!args) SWIG_fail;
28077 swig_obj[0] = args;
28078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28079 if (!SWIG_IsOK(res1)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28081 }
28082 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 result = (int)(arg1)->GetColumn();
28086 wxPyEndAllowThreads(__tstate);
28087 if (PyErr_Occurred()) SWIG_fail;
28088 }
28089 resultobj = SWIG_From_int(static_cast< int >(result));
28090 return resultobj;
28091fail:
28092 return NULL;
d55e5bfc
RD
28093}
28094
28095
1bd55598
RD
28096SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28097 PyObject *resultobj = 0;
28098 wxListEvent *arg1 = (wxListEvent *) 0 ;
28099 wxPoint result;
28100 void *argp1 = 0 ;
28101 int res1 = 0 ;
28102 PyObject *swig_obj[1] ;
28103
28104 if (!args) SWIG_fail;
28105 swig_obj[0] = args;
28106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28107 if (!SWIG_IsOK(res1)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28109 }
28110 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 result = (arg1)->GetPoint();
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28118 return resultobj;
28119fail:
28120 return NULL;
d55e5bfc
RD
28121}
28122
28123
1bd55598
RD
28124SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28125 PyObject *resultobj = 0;
28126 wxListEvent *arg1 = (wxListEvent *) 0 ;
28127 wxString *result = 0 ;
28128 void *argp1 = 0 ;
28129 int res1 = 0 ;
28130 PyObject *swig_obj[1] ;
28131
28132 if (!args) SWIG_fail;
28133 swig_obj[0] = args;
28134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28135 if (!SWIG_IsOK(res1)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28137 }
28138 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28141 {
1bd55598
RD
28142 wxString const &_result_ref = (arg1)->GetLabel();
28143 result = (wxString *) &_result_ref;
d55e5bfc 28144 }
1bd55598
RD
28145 wxPyEndAllowThreads(__tstate);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 {
28149#if wxUSE_UNICODE
28150 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28151#else
28152 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28153#endif
28154 }
28155 return resultobj;
28156fail:
28157 return NULL;
d55e5bfc
RD
28158}
28159
28160
1bd55598
RD
28161SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28162 PyObject *resultobj = 0;
28163 wxListEvent *arg1 = (wxListEvent *) 0 ;
28164 wxString *result = 0 ;
28165 void *argp1 = 0 ;
28166 int res1 = 0 ;
28167 PyObject *swig_obj[1] ;
28168
28169 if (!args) SWIG_fail;
28170 swig_obj[0] = args;
28171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28172 if (!SWIG_IsOK(res1)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28174 }
28175 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28176 {
28177 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 28178 {
1bd55598
RD
28179 wxString const &_result_ref = (arg1)->GetText();
28180 result = (wxString *) &_result_ref;
36ed4f51 28181 }
1bd55598
RD
28182 wxPyEndAllowThreads(__tstate);
28183 if (PyErr_Occurred()) SWIG_fail;
28184 }
28185 {
28186#if wxUSE_UNICODE
28187 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28188#else
28189 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28190#endif
28191 }
28192 return resultobj;
28193fail:
28194 return NULL;
d55e5bfc
RD
28195}
28196
28197
1bd55598
RD
28198SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28199 PyObject *resultobj = 0;
28200 wxListEvent *arg1 = (wxListEvent *) 0 ;
28201 int result;
28202 void *argp1 = 0 ;
28203 int res1 = 0 ;
28204 PyObject *swig_obj[1] ;
28205
28206 if (!args) SWIG_fail;
28207 swig_obj[0] = args;
28208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28209 if (!SWIG_IsOK(res1)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28211 }
28212 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 result = (int)(arg1)->GetImage();
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 resultobj = SWIG_From_int(static_cast< int >(result));
28220 return resultobj;
28221fail:
28222 return NULL;
d55e5bfc
RD
28223}
28224
28225
1bd55598
RD
28226SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 PyObject *resultobj = 0;
28228 wxListEvent *arg1 = (wxListEvent *) 0 ;
28229 long result;
28230 void *argp1 = 0 ;
28231 int res1 = 0 ;
28232 PyObject *swig_obj[1] ;
28233
28234 if (!args) SWIG_fail;
28235 swig_obj[0] = args;
28236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28237 if (!SWIG_IsOK(res1)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28239 }
28240 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 result = (long)(arg1)->GetData();
28244 wxPyEndAllowThreads(__tstate);
28245 if (PyErr_Occurred()) SWIG_fail;
28246 }
28247 resultobj = SWIG_From_long(static_cast< long >(result));
28248 return resultobj;
28249fail:
28250 return NULL;
d55e5bfc
RD
28251}
28252
28253
1bd55598
RD
28254SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28255 PyObject *resultobj = 0;
28256 wxListEvent *arg1 = (wxListEvent *) 0 ;
28257 long result;
28258 void *argp1 = 0 ;
28259 int res1 = 0 ;
28260 PyObject *swig_obj[1] ;
28261
28262 if (!args) SWIG_fail;
28263 swig_obj[0] = args;
28264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28265 if (!SWIG_IsOK(res1)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28267 }
28268 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28269 {
28270 PyThreadState* __tstate = wxPyBeginAllowThreads();
28271 result = (long)(arg1)->GetMask();
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 resultobj = SWIG_From_long(static_cast< long >(result));
28276 return resultobj;
28277fail:
28278 return NULL;
d55e5bfc
RD
28279}
28280
28281
1bd55598
RD
28282SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28283 PyObject *resultobj = 0;
28284 wxListEvent *arg1 = (wxListEvent *) 0 ;
28285 wxListItem *result = 0 ;
28286 void *argp1 = 0 ;
28287 int res1 = 0 ;
28288 PyObject *swig_obj[1] ;
28289
28290 if (!args) SWIG_fail;
28291 swig_obj[0] = args;
28292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28293 if (!SWIG_IsOK(res1)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28295 }
28296 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28297 {
28298 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28299 {
1bd55598
RD
28300 wxListItem const &_result_ref = (arg1)->GetItem();
28301 result = (wxListItem *) &_result_ref;
d55e5bfc 28302 }
1bd55598
RD
28303 wxPyEndAllowThreads(__tstate);
28304 if (PyErr_Occurred()) SWIG_fail;
28305 }
28306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28307 return resultobj;
28308fail:
28309 return NULL;
d55e5bfc
RD
28310}
28311
28312
1bd55598
RD
28313SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28314 PyObject *resultobj = 0;
28315 wxListEvent *arg1 = (wxListEvent *) 0 ;
28316 long result;
28317 void *argp1 = 0 ;
28318 int res1 = 0 ;
28319 PyObject *swig_obj[1] ;
28320
28321 if (!args) SWIG_fail;
28322 swig_obj[0] = args;
28323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28324 if (!SWIG_IsOK(res1)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28326 }
28327 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 result = (long)(arg1)->GetCacheFrom();
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 resultobj = SWIG_From_long(static_cast< long >(result));
28335 return resultobj;
28336fail:
28337 return NULL;
d55e5bfc
RD
28338}
28339
28340
1bd55598
RD
28341SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28342 PyObject *resultobj = 0;
28343 wxListEvent *arg1 = (wxListEvent *) 0 ;
28344 long result;
28345 void *argp1 = 0 ;
28346 int res1 = 0 ;
28347 PyObject *swig_obj[1] ;
28348
28349 if (!args) SWIG_fail;
28350 swig_obj[0] = args;
28351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28352 if (!SWIG_IsOK(res1)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28354 }
28355 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28356 {
28357 PyThreadState* __tstate = wxPyBeginAllowThreads();
28358 result = (long)(arg1)->GetCacheTo();
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 resultobj = SWIG_From_long(static_cast< long >(result));
28363 return resultobj;
28364fail:
28365 return NULL;
7e08d4ef
RD
28366}
28367
28368
1bd55598
RD
28369SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28370 PyObject *resultobj = 0;
28371 wxListEvent *arg1 = (wxListEvent *) 0 ;
28372 bool result;
28373 void *argp1 = 0 ;
28374 int res1 = 0 ;
28375 PyObject *swig_obj[1] ;
28376
28377 if (!args) SWIG_fail;
28378 swig_obj[0] = args;
28379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28382 }
28383 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 {
28391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28392 }
28393 return resultobj;
28394fail:
28395 return NULL;
28396}
28397
28398
28399SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28400 PyObject *resultobj = 0;
28401 wxListEvent *arg1 = (wxListEvent *) 0 ;
28402 bool arg2 ;
28403 void *argp1 = 0 ;
28404 int res1 = 0 ;
28405 bool val2 ;
28406 int ecode2 = 0 ;
28407 PyObject * obj0 = 0 ;
28408 PyObject * obj1 = 0 ;
28409 char * kwnames[] = {
28410 (char *) "self",(char *) "editCancelled", NULL
28411 };
28412
28413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28415 if (!SWIG_IsOK(res1)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28417 }
28418 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28419 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28420 if (!SWIG_IsOK(ecode2)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28422 }
28423 arg2 = static_cast< bool >(val2);
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 (arg1)->SetEditCanceled(arg2);
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 resultobj = SWIG_Py_Void();
28431 return resultobj;
28432fail:
28433 return NULL;
28434}
28435
28436
28437SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28438 PyObject *obj;
28439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28440 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28441 return SWIG_Py_Void();
28442}
28443
28444SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28445 return SWIG_Python_InitShadowInstance(args);
28446}
28447
28448SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28449 PyObject *resultobj = 0;
28450 wxWindow *arg1 = (wxWindow *) 0 ;
28451 int arg2 = (int) -1 ;
28452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28454 wxSize const &arg4_defvalue = wxDefaultSize ;
28455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28456 long arg5 = (long) wxLC_ICON ;
28457 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28458 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28459 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28460 wxString *arg7 = (wxString *) &arg7_defvalue ;
28461 wxPyListCtrl *result = 0 ;
28462 void *argp1 = 0 ;
28463 int res1 = 0 ;
28464 int val2 ;
28465 int ecode2 = 0 ;
28466 wxPoint temp3 ;
28467 wxSize temp4 ;
28468 long val5 ;
28469 int ecode5 = 0 ;
28470 void *argp6 = 0 ;
28471 int res6 = 0 ;
28472 bool temp7 = false ;
28473 PyObject * obj0 = 0 ;
28474 PyObject * obj1 = 0 ;
28475 PyObject * obj2 = 0 ;
28476 PyObject * obj3 = 0 ;
28477 PyObject * obj4 = 0 ;
28478 PyObject * obj5 = 0 ;
28479 PyObject * obj6 = 0 ;
28480 char * kwnames[] = {
28481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28482 };
28483
28484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28486 if (!SWIG_IsOK(res1)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28488 }
28489 arg1 = reinterpret_cast< wxWindow * >(argp1);
28490 if (obj1) {
28491 ecode2 = SWIG_AsVal_int(obj1, &val2);
28492 if (!SWIG_IsOK(ecode2)) {
28493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28494 }
28495 arg2 = static_cast< int >(val2);
28496 }
28497 if (obj2) {
7e08d4ef 28498 {
1bd55598
RD
28499 arg3 = &temp3;
28500 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7e08d4ef 28501 }
1bd55598
RD
28502 }
28503 if (obj3) {
7e08d4ef 28504 {
1bd55598
RD
28505 arg4 = &temp4;
28506 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 28507 }
1bd55598
RD
28508 }
28509 if (obj4) {
28510 ecode5 = SWIG_AsVal_long(obj4, &val5);
28511 if (!SWIG_IsOK(ecode5)) {
28512 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28513 }
28514 arg5 = static_cast< long >(val5);
28515 }
28516 if (obj5) {
28517 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28518 if (!SWIG_IsOK(res6)) {
28519 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 28520 }
1bd55598
RD
28521 if (!argp6) {
28522 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 28523 }
1bd55598
RD
28524 arg6 = reinterpret_cast< wxValidator * >(argp6);
28525 }
28526 if (obj6) {
7e08d4ef 28527 {
1bd55598
RD
28528 arg7 = wxString_in_helper(obj6);
28529 if (arg7 == NULL) SWIG_fail;
28530 temp7 = true;
7e08d4ef 28531 }
1bd55598
RD
28532 }
28533 {
28534 if (!wxPyCheckForApp()) SWIG_fail;
28535 PyThreadState* __tstate = wxPyBeginAllowThreads();
28536 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28537 wxPyEndAllowThreads(__tstate);
28538 if (PyErr_Occurred()) SWIG_fail;
28539 }
28540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28541 {
28542 if (temp7)
28543 delete arg7;
28544 }
28545 return resultobj;
28546fail:
28547 {
28548 if (temp7)
28549 delete arg7;
28550 }
28551 return NULL;
7e08d4ef
RD
28552}
28553
28554
1bd55598
RD
28555SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28556 PyObject *resultobj = 0;
28557 wxPyListCtrl *result = 0 ;
28558
28559 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28560 {
28561 if (!wxPyCheckForApp()) SWIG_fail;
28562 PyThreadState* __tstate = wxPyBeginAllowThreads();
28563 result = (wxPyListCtrl *)new wxPyListCtrl();
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28568 return resultobj;
28569fail:
28570 return NULL;
28571}
28572
28573
28574SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28575 PyObject *resultobj = 0;
28576 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28577 wxWindow *arg2 = (wxWindow *) 0 ;
28578 int arg3 = (int) -1 ;
28579 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28580 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28581 wxSize const &arg5_defvalue = wxDefaultSize ;
28582 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28583 long arg6 = (long) wxLC_ICON ;
28584 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28585 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28586 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28587 wxString *arg8 = (wxString *) &arg8_defvalue ;
28588 bool result;
28589 void *argp1 = 0 ;
28590 int res1 = 0 ;
28591 void *argp2 = 0 ;
28592 int res2 = 0 ;
28593 int val3 ;
28594 int ecode3 = 0 ;
28595 wxPoint temp4 ;
28596 wxSize temp5 ;
28597 long val6 ;
28598 int ecode6 = 0 ;
28599 void *argp7 = 0 ;
28600 int res7 = 0 ;
28601 bool temp8 = false ;
28602 PyObject * obj0 = 0 ;
28603 PyObject * obj1 = 0 ;
28604 PyObject * obj2 = 0 ;
28605 PyObject * obj3 = 0 ;
28606 PyObject * obj4 = 0 ;
28607 PyObject * obj5 = 0 ;
28608 PyObject * obj6 = 0 ;
28609 PyObject * obj7 = 0 ;
28610 char * kwnames[] = {
28611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28612 };
28613
28614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28616 if (!SWIG_IsOK(res1)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28618 }
28619 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28621 if (!SWIG_IsOK(res2)) {
28622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28623 }
28624 arg2 = reinterpret_cast< wxWindow * >(argp2);
28625 if (obj2) {
28626 ecode3 = SWIG_AsVal_int(obj2, &val3);
28627 if (!SWIG_IsOK(ecode3)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28629 }
28630 arg3 = static_cast< int >(val3);
28631 }
28632 if (obj3) {
7e08d4ef 28633 {
1bd55598
RD
28634 arg4 = &temp4;
28635 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 28636 }
1bd55598
RD
28637 }
28638 if (obj4) {
7e08d4ef 28639 {
1bd55598
RD
28640 arg5 = &temp5;
28641 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7e08d4ef 28642 }
1bd55598
RD
28643 }
28644 if (obj5) {
28645 ecode6 = SWIG_AsVal_long(obj5, &val6);
28646 if (!SWIG_IsOK(ecode6)) {
28647 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28648 }
28649 arg6 = static_cast< long >(val6);
28650 }
28651 if (obj6) {
28652 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
28653 if (!SWIG_IsOK(res7)) {
28654 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 28655 }
1bd55598
RD
28656 if (!argp7) {
28657 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 28658 }
1bd55598
RD
28659 arg7 = reinterpret_cast< wxValidator * >(argp7);
28660 }
28661 if (obj7) {
7e08d4ef 28662 {
1bd55598
RD
28663 arg8 = wxString_in_helper(obj7);
28664 if (arg8 == NULL) SWIG_fail;
28665 temp8 = true;
7e08d4ef 28666 }
1bd55598
RD
28667 }
28668 {
28669 PyThreadState* __tstate = wxPyBeginAllowThreads();
28670 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28671 wxPyEndAllowThreads(__tstate);
28672 if (PyErr_Occurred()) SWIG_fail;
28673 }
28674 {
28675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28676 }
28677 {
28678 if (temp8)
28679 delete arg8;
28680 }
28681 return resultobj;
28682fail:
28683 {
28684 if (temp8)
28685 delete arg8;
28686 }
28687 return NULL;
28688}
28689
28690
28691SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28692 PyObject *resultobj = 0;
28693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28694 PyObject *arg2 = (PyObject *) 0 ;
28695 PyObject *arg3 = (PyObject *) 0 ;
28696 void *argp1 = 0 ;
28697 int res1 = 0 ;
28698 PyObject * obj0 = 0 ;
28699 PyObject * obj1 = 0 ;
28700 PyObject * obj2 = 0 ;
28701 char * kwnames[] = {
28702 (char *) "self",(char *) "self",(char *) "_class", NULL
28703 };
28704
28705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28707 if (!SWIG_IsOK(res1)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28709 }
28710 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28711 arg2 = obj1;
28712 arg3 = obj2;
28713 {
28714 PyThreadState* __tstate = wxPyBeginAllowThreads();
28715 (arg1)->_setCallbackInfo(arg2,arg3);
28716 wxPyEndAllowThreads(__tstate);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
28719 resultobj = SWIG_Py_Void();
28720 return resultobj;
28721fail:
28722 return NULL;
28723}
28724
28725
28726SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28727 PyObject *resultobj = 0;
28728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28729 int arg2 ;
28730 wxListItem *result = 0 ;
28731 void *argp1 = 0 ;
28732 int res1 = 0 ;
28733 int val2 ;
28734 int ecode2 = 0 ;
28735 PyObject * obj0 = 0 ;
28736 PyObject * obj1 = 0 ;
28737 char * kwnames[] = {
28738 (char *) "self",(char *) "col", NULL
28739 };
28740
28741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
28742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28743 if (!SWIG_IsOK(res1)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28745 }
28746 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28747 ecode2 = SWIG_AsVal_int(obj1, &val2);
28748 if (!SWIG_IsOK(ecode2)) {
28749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28750 }
28751 arg2 = static_cast< int >(val2);
28752 {
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 {
28759 resultobj = wxPyMake_wxObject(result, (bool)0);
28760 }
28761 return resultobj;
28762fail:
28763 return NULL;
28764}
28765
28766
28767SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28768 PyObject *resultobj = 0;
28769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28770 int arg2 ;
28771 wxListItem *arg3 = 0 ;
28772 bool result;
28773 void *argp1 = 0 ;
28774 int res1 = 0 ;
28775 int val2 ;
28776 int ecode2 = 0 ;
28777 void *argp3 = 0 ;
28778 int res3 = 0 ;
28779 PyObject * obj0 = 0 ;
28780 PyObject * obj1 = 0 ;
28781 PyObject * obj2 = 0 ;
28782 char * kwnames[] = {
28783 (char *) "self",(char *) "col",(char *) "item", NULL
28784 };
28785
28786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28788 if (!SWIG_IsOK(res1)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28790 }
28791 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28792 ecode2 = SWIG_AsVal_int(obj1, &val2);
28793 if (!SWIG_IsOK(ecode2)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28795 }
28796 arg2 = static_cast< int >(val2);
28797 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
28798 if (!SWIG_IsOK(res3)) {
28799 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28800 }
28801 if (!argp3) {
28802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28803 }
28804 arg3 = reinterpret_cast< wxListItem * >(argp3);
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 result = (bool)(arg1)->SetColumn(arg2,*arg3);
28808 wxPyEndAllowThreads(__tstate);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 {
28812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28813 }
28814 return resultobj;
28815fail:
28816 return NULL;
28817}
28818
28819
28820SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28821 PyObject *resultobj = 0;
28822 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28823 int arg2 ;
28824 int result;
28825 void *argp1 = 0 ;
28826 int res1 = 0 ;
28827 int val2 ;
28828 int ecode2 = 0 ;
28829 PyObject * obj0 = 0 ;
28830 PyObject * obj1 = 0 ;
28831 char * kwnames[] = {
28832 (char *) "self",(char *) "col", NULL
28833 };
28834
28835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
28836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28837 if (!SWIG_IsOK(res1)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28839 }
28840 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28841 ecode2 = SWIG_AsVal_int(obj1, &val2);
28842 if (!SWIG_IsOK(ecode2)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28844 }
28845 arg2 = static_cast< int >(val2);
28846 {
28847 PyThreadState* __tstate = wxPyBeginAllowThreads();
28848 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 resultobj = SWIG_From_int(static_cast< int >(result));
28853 return resultobj;
28854fail:
28855 return NULL;
28856}
28857
28858
28859SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28860 PyObject *resultobj = 0;
28861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28862 int arg2 ;
28863 int arg3 ;
28864 bool result;
28865 void *argp1 = 0 ;
28866 int res1 = 0 ;
28867 int val2 ;
28868 int ecode2 = 0 ;
28869 int val3 ;
28870 int ecode3 = 0 ;
28871 PyObject * obj0 = 0 ;
28872 PyObject * obj1 = 0 ;
28873 PyObject * obj2 = 0 ;
28874 char * kwnames[] = {
28875 (char *) "self",(char *) "col",(char *) "width", NULL
28876 };
28877
28878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28880 if (!SWIG_IsOK(res1)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28882 }
28883 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28884 ecode2 = SWIG_AsVal_int(obj1, &val2);
28885 if (!SWIG_IsOK(ecode2)) {
28886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28887 }
28888 arg2 = static_cast< int >(val2);
28889 ecode3 = SWIG_AsVal_int(obj2, &val3);
28890 if (!SWIG_IsOK(ecode3)) {
28891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28892 }
28893 arg3 = static_cast< int >(val3);
28894 {
28895 PyThreadState* __tstate = wxPyBeginAllowThreads();
28896 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
28897 wxPyEndAllowThreads(__tstate);
28898 if (PyErr_Occurred()) SWIG_fail;
28899 }
28900 {
28901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28902 }
28903 return resultobj;
28904fail:
28905 return NULL;
7e08d4ef
RD
28906}
28907
28908
1bd55598
RD
28909SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28910 PyObject *resultobj = 0;
28911 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28912 int result;
28913 void *argp1 = 0 ;
28914 int res1 = 0 ;
28915 PyObject *swig_obj[1] ;
28916
28917 if (!args) SWIG_fail;
28918 swig_obj[0] = args;
28919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28920 if (!SWIG_IsOK(res1)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28922 }
28923 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28924 {
28925 PyThreadState* __tstate = wxPyBeginAllowThreads();
28926 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
28927 wxPyEndAllowThreads(__tstate);
28928 if (PyErr_Occurred()) SWIG_fail;
28929 }
28930 resultobj = SWIG_From_int(static_cast< int >(result));
28931 return resultobj;
28932fail:
28933 return NULL;
7e08d4ef
RD
28934}
28935
28936
1bd55598
RD
28937SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28938 PyObject *resultobj = 0;
28939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28940 wxRect result;
28941 void *argp1 = 0 ;
28942 int res1 = 0 ;
28943 PyObject *swig_obj[1] ;
28944
28945 if (!args) SWIG_fail;
28946 swig_obj[0] = args;
28947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28948 if (!SWIG_IsOK(res1)) {
28949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28950 }
28951 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28952 {
28953 PyThreadState* __tstate = wxPyBeginAllowThreads();
28954 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
28958 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28959 return resultobj;
28960fail:
28961 return NULL;
7e08d4ef
RD
28962}
28963
28964
1bd55598
RD
28965SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28966 PyObject *resultobj = 0;
28967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28968 wxTextCtrl *result = 0 ;
28969 void *argp1 = 0 ;
28970 int res1 = 0 ;
28971 PyObject *swig_obj[1] ;
28972
28973 if (!args) SWIG_fail;
28974 swig_obj[0] = args;
28975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28976 if (!SWIG_IsOK(res1)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28978 }
28979 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28980 {
28981 PyThreadState* __tstate = wxPyBeginAllowThreads();
28982 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 {
28987 resultobj = wxPyMake_wxObject(result, 0);
28988 }
28989 return resultobj;
28990fail:
28991 return NULL;
28992}
28993
28994
28995SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28996 PyObject *resultobj = 0;
28997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28998 long arg2 ;
28999 int arg3 = (int) 0 ;
29000 wxListItem *result = 0 ;
29001 void *argp1 = 0 ;
29002 int res1 = 0 ;
29003 long val2 ;
29004 int ecode2 = 0 ;
29005 int val3 ;
29006 int ecode3 = 0 ;
29007 PyObject * obj0 = 0 ;
29008 PyObject * obj1 = 0 ;
29009 PyObject * obj2 = 0 ;
29010 char * kwnames[] = {
29011 (char *) "self",(char *) "itemId",(char *) "col", NULL
29012 };
29013
29014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29016 if (!SWIG_IsOK(res1)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29018 }
29019 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29020 ecode2 = SWIG_AsVal_long(obj1, &val2);
29021 if (!SWIG_IsOK(ecode2)) {
29022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29023 }
29024 arg2 = static_cast< long >(val2);
29025 if (obj2) {
29026 ecode3 = SWIG_AsVal_int(obj2, &val3);
29027 if (!SWIG_IsOK(ecode3)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29029 }
29030 arg3 = static_cast< int >(val3);
29031 }
29032 {
29033 PyThreadState* __tstate = wxPyBeginAllowThreads();
29034 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 {
29039 resultobj = wxPyMake_wxObject(result, (bool)0);
29040 }
29041 return resultobj;
29042fail:
29043 return NULL;
29044}
29045
29046
29047SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29048 PyObject *resultobj = 0;
29049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29050 wxListItem *arg2 = 0 ;
29051 bool result;
29052 void *argp1 = 0 ;
29053 int res1 = 0 ;
29054 void *argp2 = 0 ;
29055 int res2 = 0 ;
29056 PyObject * obj0 = 0 ;
29057 PyObject * obj1 = 0 ;
29058 char * kwnames[] = {
29059 (char *) "self",(char *) "info", NULL
29060 };
29061
29062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29064 if (!SWIG_IsOK(res1)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29066 }
29067 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29069 if (!SWIG_IsOK(res2)) {
29070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29071 }
29072 if (!argp2) {
29073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29074 }
29075 arg2 = reinterpret_cast< wxListItem * >(argp2);
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 result = (bool)(arg1)->SetItem(*arg2);
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 {
29083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29084 }
29085 return resultobj;
29086fail:
29087 return NULL;
29088}
29089
29090
29091SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29092 PyObject *resultobj = 0;
29093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29094 long arg2 ;
29095 int arg3 ;
29096 wxString *arg4 = 0 ;
29097 int arg5 = (int) -1 ;
29098 long result;
29099 void *argp1 = 0 ;
29100 int res1 = 0 ;
29101 long val2 ;
29102 int ecode2 = 0 ;
29103 int val3 ;
29104 int ecode3 = 0 ;
29105 bool temp4 = false ;
29106 int val5 ;
29107 int ecode5 = 0 ;
29108 PyObject * obj0 = 0 ;
29109 PyObject * obj1 = 0 ;
29110 PyObject * obj2 = 0 ;
29111 PyObject * obj3 = 0 ;
29112 PyObject * obj4 = 0 ;
29113 char * kwnames[] = {
29114 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29115 };
29116
29117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29119 if (!SWIG_IsOK(res1)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29121 }
29122 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29123 ecode2 = SWIG_AsVal_long(obj1, &val2);
29124 if (!SWIG_IsOK(ecode2)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29126 }
29127 arg2 = static_cast< long >(val2);
29128 ecode3 = SWIG_AsVal_int(obj2, &val3);
29129 if (!SWIG_IsOK(ecode3)) {
29130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29131 }
29132 arg3 = static_cast< int >(val3);
29133 {
29134 arg4 = wxString_in_helper(obj3);
29135 if (arg4 == NULL) SWIG_fail;
29136 temp4 = true;
29137 }
29138 if (obj4) {
29139 ecode5 = SWIG_AsVal_int(obj4, &val5);
29140 if (!SWIG_IsOK(ecode5)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29142 }
29143 arg5 = static_cast< int >(val5);
29144 }
29145 {
29146 PyThreadState* __tstate = wxPyBeginAllowThreads();
29147 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 resultobj = SWIG_From_long(static_cast< long >(result));
29152 {
29153 if (temp4)
29154 delete arg4;
29155 }
29156 return resultobj;
29157fail:
29158 {
29159 if (temp4)
29160 delete arg4;
29161 }
29162 return NULL;
29163}
29164
29165
29166SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29167 PyObject *resultobj = 0;
29168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29169 long arg2 ;
29170 long arg3 ;
29171 int result;
29172 void *argp1 = 0 ;
29173 int res1 = 0 ;
29174 long val2 ;
29175 int ecode2 = 0 ;
29176 long val3 ;
29177 int ecode3 = 0 ;
29178 PyObject * obj0 = 0 ;
29179 PyObject * obj1 = 0 ;
29180 PyObject * obj2 = 0 ;
29181 char * kwnames[] = {
29182 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29183 };
29184
29185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29187 if (!SWIG_IsOK(res1)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29189 }
29190 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29191 ecode2 = SWIG_AsVal_long(obj1, &val2);
29192 if (!SWIG_IsOK(ecode2)) {
29193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29194 }
29195 arg2 = static_cast< long >(val2);
29196 ecode3 = SWIG_AsVal_long(obj2, &val3);
29197 if (!SWIG_IsOK(ecode3)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29199 }
29200 arg3 = static_cast< long >(val3);
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29204 wxPyEndAllowThreads(__tstate);
29205 if (PyErr_Occurred()) SWIG_fail;
29206 }
29207 resultobj = SWIG_From_int(static_cast< int >(result));
29208 return resultobj;
29209fail:
29210 return NULL;
29211}
29212
29213
29214SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29215 PyObject *resultobj = 0;
29216 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29217 long arg2 ;
29218 long arg3 ;
29219 long arg4 ;
29220 bool result;
29221 void *argp1 = 0 ;
29222 int res1 = 0 ;
29223 long val2 ;
29224 int ecode2 = 0 ;
29225 long val3 ;
29226 int ecode3 = 0 ;
29227 long val4 ;
29228 int ecode4 = 0 ;
29229 PyObject * obj0 = 0 ;
29230 PyObject * obj1 = 0 ;
29231 PyObject * obj2 = 0 ;
29232 PyObject * obj3 = 0 ;
29233 char * kwnames[] = {
29234 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29235 };
29236
29237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29239 if (!SWIG_IsOK(res1)) {
29240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29241 }
29242 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29243 ecode2 = SWIG_AsVal_long(obj1, &val2);
29244 if (!SWIG_IsOK(ecode2)) {
29245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29246 }
29247 arg2 = static_cast< long >(val2);
29248 ecode3 = SWIG_AsVal_long(obj2, &val3);
29249 if (!SWIG_IsOK(ecode3)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29251 }
29252 arg3 = static_cast< long >(val3);
29253 ecode4 = SWIG_AsVal_long(obj3, &val4);
29254 if (!SWIG_IsOK(ecode4)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29256 }
29257 arg4 = static_cast< long >(val4);
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
29260 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 {
29265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29266 }
29267 return resultobj;
29268fail:
29269 return NULL;
29270}
29271
29272
29273SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29274 PyObject *resultobj = 0;
29275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29276 long arg2 ;
29277 int arg3 ;
29278 int arg4 = (int) -1 ;
29279 bool result;
29280 void *argp1 = 0 ;
29281 int res1 = 0 ;
29282 long val2 ;
29283 int ecode2 = 0 ;
29284 int val3 ;
29285 int ecode3 = 0 ;
29286 int val4 ;
29287 int ecode4 = 0 ;
29288 PyObject * obj0 = 0 ;
29289 PyObject * obj1 = 0 ;
29290 PyObject * obj2 = 0 ;
29291 PyObject * obj3 = 0 ;
29292 char * kwnames[] = {
29293 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29294 };
29295
29296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29298 if (!SWIG_IsOK(res1)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29300 }
29301 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29302 ecode2 = SWIG_AsVal_long(obj1, &val2);
29303 if (!SWIG_IsOK(ecode2)) {
29304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29305 }
29306 arg2 = static_cast< long >(val2);
29307 ecode3 = SWIG_AsVal_int(obj2, &val3);
29308 if (!SWIG_IsOK(ecode3)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29310 }
29311 arg3 = static_cast< int >(val3);
29312 if (obj3) {
29313 ecode4 = SWIG_AsVal_int(obj3, &val4);
29314 if (!SWIG_IsOK(ecode4)) {
29315 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29316 }
29317 arg4 = static_cast< int >(val4);
29318 }
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29322 wxPyEndAllowThreads(__tstate);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
29325 {
29326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29327 }
29328 return resultobj;
29329fail:
29330 return NULL;
29331}
29332
29333
29334SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29335 PyObject *resultobj = 0;
29336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29337 long arg2 ;
29338 long arg3 ;
29339 int arg4 ;
29340 bool result;
29341 void *argp1 = 0 ;
29342 int res1 = 0 ;
29343 long val2 ;
29344 int ecode2 = 0 ;
29345 long val3 ;
29346 int ecode3 = 0 ;
29347 int val4 ;
29348 int ecode4 = 0 ;
29349 PyObject * obj0 = 0 ;
29350 PyObject * obj1 = 0 ;
29351 PyObject * obj2 = 0 ;
29352 PyObject * obj3 = 0 ;
29353 char * kwnames[] = {
29354 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29355 };
29356
29357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29359 if (!SWIG_IsOK(res1)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29361 }
29362 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29363 ecode2 = SWIG_AsVal_long(obj1, &val2);
29364 if (!SWIG_IsOK(ecode2)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29366 }
29367 arg2 = static_cast< long >(val2);
29368 ecode3 = SWIG_AsVal_long(obj2, &val3);
29369 if (!SWIG_IsOK(ecode3)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29371 }
29372 arg3 = static_cast< long >(val3);
29373 ecode4 = SWIG_AsVal_int(obj3, &val4);
29374 if (!SWIG_IsOK(ecode4)) {
29375 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29376 }
29377 arg4 = static_cast< int >(val4);
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29381 wxPyEndAllowThreads(__tstate);
29382 if (PyErr_Occurred()) SWIG_fail;
29383 }
29384 {
29385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29386 }
29387 return resultobj;
29388fail:
29389 return NULL;
29390}
29391
29392
29393SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29394 PyObject *resultobj = 0;
29395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29396 long arg2 ;
29397 wxString result;
29398 void *argp1 = 0 ;
29399 int res1 = 0 ;
29400 long val2 ;
29401 int ecode2 = 0 ;
29402 PyObject * obj0 = 0 ;
29403 PyObject * obj1 = 0 ;
29404 char * kwnames[] = {
29405 (char *) "self",(char *) "item", NULL
29406 };
29407
29408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29410 if (!SWIG_IsOK(res1)) {
29411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29412 }
29413 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29414 ecode2 = SWIG_AsVal_long(obj1, &val2);
29415 if (!SWIG_IsOK(ecode2)) {
29416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29417 }
29418 arg2 = static_cast< long >(val2);
29419 {
29420 PyThreadState* __tstate = wxPyBeginAllowThreads();
29421 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29422 wxPyEndAllowThreads(__tstate);
29423 if (PyErr_Occurred()) SWIG_fail;
29424 }
29425 {
29426#if wxUSE_UNICODE
29427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29428#else
29429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29430#endif
29431 }
29432 return resultobj;
29433fail:
29434 return NULL;
29435}
29436
29437
29438SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29439 PyObject *resultobj = 0;
29440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29441 long arg2 ;
29442 wxString *arg3 = 0 ;
29443 void *argp1 = 0 ;
29444 int res1 = 0 ;
29445 long val2 ;
29446 int ecode2 = 0 ;
29447 bool temp3 = false ;
29448 PyObject * obj0 = 0 ;
29449 PyObject * obj1 = 0 ;
29450 PyObject * obj2 = 0 ;
29451 char * kwnames[] = {
29452 (char *) "self",(char *) "item",(char *) "str", NULL
29453 };
29454
29455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29457 if (!SWIG_IsOK(res1)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29459 }
29460 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29461 ecode2 = SWIG_AsVal_long(obj1, &val2);
29462 if (!SWIG_IsOK(ecode2)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29464 }
29465 arg2 = static_cast< long >(val2);
29466 {
29467 arg3 = wxString_in_helper(obj2);
29468 if (arg3 == NULL) SWIG_fail;
29469 temp3 = true;
29470 }
29471 {
29472 PyThreadState* __tstate = wxPyBeginAllowThreads();
29473 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29474 wxPyEndAllowThreads(__tstate);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 resultobj = SWIG_Py_Void();
29478 {
29479 if (temp3)
29480 delete arg3;
29481 }
29482 return resultobj;
29483fail:
29484 {
29485 if (temp3)
29486 delete arg3;
29487 }
29488 return NULL;
29489}
29490
29491
29492SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29493 PyObject *resultobj = 0;
29494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29495 long arg2 ;
29496 long result;
29497 void *argp1 = 0 ;
29498 int res1 = 0 ;
29499 long val2 ;
29500 int ecode2 = 0 ;
29501 PyObject * obj0 = 0 ;
29502 PyObject * obj1 = 0 ;
29503 char * kwnames[] = {
29504 (char *) "self",(char *) "item", NULL
29505 };
29506
29507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29509 if (!SWIG_IsOK(res1)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29511 }
29512 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29513 ecode2 = SWIG_AsVal_long(obj1, &val2);
29514 if (!SWIG_IsOK(ecode2)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29516 }
29517 arg2 = static_cast< long >(val2);
29518 {
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29521 wxPyEndAllowThreads(__tstate);
29522 if (PyErr_Occurred()) SWIG_fail;
29523 }
29524 resultobj = SWIG_From_long(static_cast< long >(result));
29525 return resultobj;
29526fail:
29527 return NULL;
29528}
29529
29530
29531SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29532 PyObject *resultobj = 0;
29533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29534 long arg2 ;
29535 long arg3 ;
29536 bool result;
29537 void *argp1 = 0 ;
29538 int res1 = 0 ;
29539 long val2 ;
29540 int ecode2 = 0 ;
29541 long val3 ;
29542 int ecode3 = 0 ;
29543 PyObject * obj0 = 0 ;
29544 PyObject * obj1 = 0 ;
29545 PyObject * obj2 = 0 ;
29546 char * kwnames[] = {
29547 (char *) "self",(char *) "item",(char *) "data", NULL
29548 };
29549
29550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29552 if (!SWIG_IsOK(res1)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29554 }
29555 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29556 ecode2 = SWIG_AsVal_long(obj1, &val2);
29557 if (!SWIG_IsOK(ecode2)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29559 }
29560 arg2 = static_cast< long >(val2);
29561 ecode3 = SWIG_AsVal_long(obj2, &val3);
29562 if (!SWIG_IsOK(ecode3)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29564 }
29565 arg3 = static_cast< long >(val3);
29566 {
29567 PyThreadState* __tstate = wxPyBeginAllowThreads();
29568 result = (bool)(arg1)->SetItemData(arg2,arg3);
29569 wxPyEndAllowThreads(__tstate);
29570 if (PyErr_Occurred()) SWIG_fail;
29571 }
29572 {
29573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29574 }
29575 return resultobj;
29576fail:
29577 return NULL;
29578}
29579
29580
29581SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29582 PyObject *resultobj = 0;
29583 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29584 long arg2 ;
29585 wxPoint result;
29586 void *argp1 = 0 ;
29587 int res1 = 0 ;
29588 long val2 ;
29589 int ecode2 = 0 ;
29590 PyObject * obj0 = 0 ;
29591 PyObject * obj1 = 0 ;
29592 char * kwnames[] = {
29593 (char *) "self",(char *) "item", NULL
29594 };
29595
29596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29598 if (!SWIG_IsOK(res1)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29600 }
29601 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29602 ecode2 = SWIG_AsVal_long(obj1, &val2);
29603 if (!SWIG_IsOK(ecode2)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29605 }
29606 arg2 = static_cast< long >(val2);
29607 {
29608 PyThreadState* __tstate = wxPyBeginAllowThreads();
29609 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29614 return resultobj;
29615fail:
29616 return NULL;
29617}
29618
29619
29620SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29621 PyObject *resultobj = 0;
29622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29623 long arg2 ;
29624 int arg3 = (int) wxLIST_RECT_BOUNDS ;
29625 wxRect result;
29626 void *argp1 = 0 ;
29627 int res1 = 0 ;
29628 long val2 ;
29629 int ecode2 = 0 ;
29630 int val3 ;
29631 int ecode3 = 0 ;
29632 PyObject * obj0 = 0 ;
29633 PyObject * obj1 = 0 ;
29634 PyObject * obj2 = 0 ;
29635 char * kwnames[] = {
29636 (char *) "self",(char *) "item",(char *) "code", NULL
29637 };
29638
29639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29641 if (!SWIG_IsOK(res1)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29643 }
29644 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29645 ecode2 = SWIG_AsVal_long(obj1, &val2);
29646 if (!SWIG_IsOK(ecode2)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29648 }
29649 arg2 = static_cast< long >(val2);
29650 if (obj2) {
29651 ecode3 = SWIG_AsVal_int(obj2, &val3);
29652 if (!SWIG_IsOK(ecode3)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29654 }
29655 arg3 = static_cast< int >(val3);
29656 }
29657 {
29658 PyThreadState* __tstate = wxPyBeginAllowThreads();
29659 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29664 return resultobj;
29665fail:
29666 return NULL;
29667}
29668
29669
29670SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29671 PyObject *resultobj = 0;
29672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29673 long arg2 ;
29674 wxPoint *arg3 = 0 ;
29675 bool result;
29676 void *argp1 = 0 ;
29677 int res1 = 0 ;
29678 long val2 ;
29679 int ecode2 = 0 ;
29680 wxPoint temp3 ;
29681 PyObject * obj0 = 0 ;
29682 PyObject * obj1 = 0 ;
29683 PyObject * obj2 = 0 ;
29684 char * kwnames[] = {
29685 (char *) "self",(char *) "item",(char *) "pos", NULL
29686 };
29687
29688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29690 if (!SWIG_IsOK(res1)) {
29691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29692 }
29693 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29694 ecode2 = SWIG_AsVal_long(obj1, &val2);
29695 if (!SWIG_IsOK(ecode2)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29697 }
29698 arg2 = static_cast< long >(val2);
29699 {
29700 arg3 = &temp3;
29701 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29702 }
29703 {
29704 PyThreadState* __tstate = wxPyBeginAllowThreads();
29705 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
29706 wxPyEndAllowThreads(__tstate);
29707 if (PyErr_Occurred()) SWIG_fail;
29708 }
29709 {
29710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29711 }
29712 return resultobj;
29713fail:
29714 return NULL;
7e08d4ef
RD
29715}
29716
29717
1bd55598
RD
29718SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29719 PyObject *resultobj = 0;
29720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29721 int result;
29722 void *argp1 = 0 ;
29723 int res1 = 0 ;
29724 PyObject *swig_obj[1] ;
29725
29726 if (!args) SWIG_fail;
29727 swig_obj[0] = args;
29728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29729 if (!SWIG_IsOK(res1)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29731 }
29732 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
29735 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
29736 wxPyEndAllowThreads(__tstate);
29737 if (PyErr_Occurred()) SWIG_fail;
29738 }
29739 resultobj = SWIG_From_int(static_cast< int >(result));
29740 return resultobj;
29741fail:
29742 return NULL;
7e08d4ef
RD
29743}
29744
29745
1bd55598
RD
29746SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29747 PyObject *resultobj = 0;
29748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29749 int result;
29750 void *argp1 = 0 ;
29751 int res1 = 0 ;
29752 PyObject *swig_obj[1] ;
29753
29754 if (!args) SWIG_fail;
29755 swig_obj[0] = args;
29756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29757 if (!SWIG_IsOK(res1)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29759 }
29760 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29761 {
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
29764 wxPyEndAllowThreads(__tstate);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 resultobj = SWIG_From_int(static_cast< int >(result));
29768 return resultobj;
29769fail:
29770 return NULL;
7e08d4ef
RD
29771}
29772
29773
1bd55598
RD
29774SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29775 PyObject *resultobj = 0;
29776 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29777 wxSize result;
29778 void *argp1 = 0 ;
29779 int res1 = 0 ;
29780 PyObject *swig_obj[1] ;
29781
29782 if (!args) SWIG_fail;
29783 swig_obj[0] = args;
29784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29785 if (!SWIG_IsOK(res1)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29787 }
29788 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29789 {
29790 PyThreadState* __tstate = wxPyBeginAllowThreads();
29791 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
29792 wxPyEndAllowThreads(__tstate);
29793 if (PyErr_Occurred()) SWIG_fail;
29794 }
29795 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
29796 return resultobj;
29797fail:
29798 return NULL;
29799}
29800
29801
29802SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29803 PyObject *resultobj = 0;
29804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29805 int arg2 ;
29806 bool arg3 = (bool) false ;
29807 void *argp1 = 0 ;
29808 int res1 = 0 ;
29809 int val2 ;
29810 int ecode2 = 0 ;
29811 bool val3 ;
29812 int ecode3 = 0 ;
29813 PyObject * obj0 = 0 ;
29814 PyObject * obj1 = 0 ;
29815 PyObject * obj2 = 0 ;
29816 char * kwnames[] = {
29817 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29818 };
29819
29820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29822 if (!SWIG_IsOK(res1)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29824 }
29825 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29826 ecode2 = SWIG_AsVal_int(obj1, &val2);
29827 if (!SWIG_IsOK(ecode2)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29829 }
29830 arg2 = static_cast< int >(val2);
29831 if (obj2) {
29832 ecode3 = SWIG_AsVal_bool(obj2, &val3);
29833 if (!SWIG_IsOK(ecode3)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29835 }
29836 arg3 = static_cast< bool >(val3);
29837 }
29838 {
29839 PyThreadState* __tstate = wxPyBeginAllowThreads();
29840 (arg1)->SetItemSpacing(arg2,arg3);
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
29844 resultobj = SWIG_Py_Void();
29845 return resultobj;
29846fail:
29847 return NULL;
7e08d4ef
RD
29848}
29849
29850
1bd55598
RD
29851SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29852 PyObject *resultobj = 0;
29853 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29854 int result;
29855 void *argp1 = 0 ;
29856 int res1 = 0 ;
29857 PyObject *swig_obj[1] ;
29858
29859 if (!args) SWIG_fail;
29860 swig_obj[0] = args;
29861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29862 if (!SWIG_IsOK(res1)) {
29863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29864 }
29865 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29866 {
29867 PyThreadState* __tstate = wxPyBeginAllowThreads();
29868 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
29869 wxPyEndAllowThreads(__tstate);
29870 if (PyErr_Occurred()) SWIG_fail;
29871 }
29872 resultobj = SWIG_From_int(static_cast< int >(result));
29873 return resultobj;
29874fail:
29875 return NULL;
7e08d4ef
RD
29876}
29877
29878
1bd55598
RD
29879SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29880 PyObject *resultobj = 0;
29881 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29882 wxColour result;
29883 void *argp1 = 0 ;
29884 int res1 = 0 ;
29885 PyObject *swig_obj[1] ;
29886
29887 if (!args) SWIG_fail;
29888 swig_obj[0] = args;
29889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29890 if (!SWIG_IsOK(res1)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29892 }
29893 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29894 {
29895 PyThreadState* __tstate = wxPyBeginAllowThreads();
29896 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
29897 wxPyEndAllowThreads(__tstate);
29898 if (PyErr_Occurred()) SWIG_fail;
29899 }
29900 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
29901 return resultobj;
29902fail:
29903 return NULL;
29904}
29905
29906
29907SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29908 PyObject *resultobj = 0;
29909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29910 wxColour *arg2 = 0 ;
29911 void *argp1 = 0 ;
29912 int res1 = 0 ;
29913 wxColour temp2 ;
29914 PyObject * obj0 = 0 ;
29915 PyObject * obj1 = 0 ;
29916 char * kwnames[] = {
29917 (char *) "self",(char *) "col", NULL
29918 };
29919
29920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
29921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29922 if (!SWIG_IsOK(res1)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29924 }
29925 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29926 {
29927 arg2 = &temp2;
29928 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29929 }
29930 {
29931 PyThreadState* __tstate = wxPyBeginAllowThreads();
29932 (arg1)->SetTextColour((wxColour const &)*arg2);
29933 wxPyEndAllowThreads(__tstate);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 }
29936 resultobj = SWIG_Py_Void();
29937 return resultobj;
29938fail:
29939 return NULL;
7e08d4ef
RD
29940}
29941
29942
1bd55598
RD
29943SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29944 PyObject *resultobj = 0;
29945 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29946 long result;
29947 void *argp1 = 0 ;
29948 int res1 = 0 ;
29949 PyObject *swig_obj[1] ;
29950
29951 if (!args) SWIG_fail;
29952 swig_obj[0] = args;
29953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29954 if (!SWIG_IsOK(res1)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29956 }
29957 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
29964 resultobj = SWIG_From_long(static_cast< long >(result));
29965 return resultobj;
29966fail:
29967 return NULL;
29968}
29969
29970
29971SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj = 0;
29973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29974 long arg2 ;
29975 bool arg3 = (bool) true ;
29976 void *argp1 = 0 ;
29977 int res1 = 0 ;
29978 long val2 ;
29979 int ecode2 = 0 ;
29980 bool val3 ;
29981 int ecode3 = 0 ;
29982 PyObject * obj0 = 0 ;
29983 PyObject * obj1 = 0 ;
29984 PyObject * obj2 = 0 ;
29985 char * kwnames[] = {
29986 (char *) "self",(char *) "style",(char *) "add", NULL
29987 };
29988
29989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29991 if (!SWIG_IsOK(res1)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29993 }
29994 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29995 ecode2 = SWIG_AsVal_long(obj1, &val2);
29996 if (!SWIG_IsOK(ecode2)) {
29997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29998 }
29999 arg2 = static_cast< long >(val2);
30000 if (obj2) {
30001 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30002 if (!SWIG_IsOK(ecode3)) {
30003 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30004 }
30005 arg3 = static_cast< bool >(val3);
30006 }
30007 {
30008 PyThreadState* __tstate = wxPyBeginAllowThreads();
30009 (arg1)->SetSingleStyle(arg2,arg3);
30010 wxPyEndAllowThreads(__tstate);
30011 if (PyErr_Occurred()) SWIG_fail;
30012 }
30013 resultobj = SWIG_Py_Void();
30014 return resultobj;
30015fail:
30016 return NULL;
30017}
30018
30019
30020SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30021 PyObject *resultobj = 0;
30022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30023 long arg2 ;
30024 int arg3 = (int) wxLIST_NEXT_ALL ;
30025 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30026 long result;
30027 void *argp1 = 0 ;
30028 int res1 = 0 ;
30029 long val2 ;
30030 int ecode2 = 0 ;
30031 int val3 ;
30032 int ecode3 = 0 ;
30033 int val4 ;
30034 int ecode4 = 0 ;
30035 PyObject * obj0 = 0 ;
30036 PyObject * obj1 = 0 ;
30037 PyObject * obj2 = 0 ;
30038 PyObject * obj3 = 0 ;
30039 char * kwnames[] = {
30040 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30041 };
30042
30043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30045 if (!SWIG_IsOK(res1)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30047 }
30048 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30049 ecode2 = SWIG_AsVal_long(obj1, &val2);
30050 if (!SWIG_IsOK(ecode2)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30052 }
30053 arg2 = static_cast< long >(val2);
30054 if (obj2) {
30055 ecode3 = SWIG_AsVal_int(obj2, &val3);
30056 if (!SWIG_IsOK(ecode3)) {
30057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30058 }
30059 arg3 = static_cast< int >(val3);
30060 }
30061 if (obj3) {
30062 ecode4 = SWIG_AsVal_int(obj3, &val4);
30063 if (!SWIG_IsOK(ecode4)) {
30064 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30065 }
30066 arg4 = static_cast< int >(val4);
30067 }
30068 {
30069 PyThreadState* __tstate = wxPyBeginAllowThreads();
30070 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30071 wxPyEndAllowThreads(__tstate);
30072 if (PyErr_Occurred()) SWIG_fail;
30073 }
30074 resultobj = SWIG_From_long(static_cast< long >(result));
30075 return resultobj;
30076fail:
30077 return NULL;
30078}
30079
30080
30081SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30082 PyObject *resultobj = 0;
30083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30084 int arg2 ;
30085 wxImageList *result = 0 ;
30086 void *argp1 = 0 ;
30087 int res1 = 0 ;
30088 int val2 ;
30089 int ecode2 = 0 ;
30090 PyObject * obj0 = 0 ;
30091 PyObject * obj1 = 0 ;
30092 char * kwnames[] = {
30093 (char *) "self",(char *) "which", NULL
30094 };
30095
30096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30098 if (!SWIG_IsOK(res1)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30100 }
30101 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30102 ecode2 = SWIG_AsVal_int(obj1, &val2);
30103 if (!SWIG_IsOK(ecode2)) {
30104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30105 }
30106 arg2 = static_cast< int >(val2);
30107 {
30108 PyThreadState* __tstate = wxPyBeginAllowThreads();
30109 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30110 wxPyEndAllowThreads(__tstate);
30111 if (PyErr_Occurred()) SWIG_fail;
30112 }
30113 {
30114 resultobj = wxPyMake_wxObject(result, (bool)0);
30115 }
30116 return resultobj;
30117fail:
30118 return NULL;
30119}
30120
30121
30122SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30123 PyObject *resultobj = 0;
30124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30125 wxImageList *arg2 = (wxImageList *) 0 ;
30126 int arg3 ;
30127 void *argp1 = 0 ;
30128 int res1 = 0 ;
30129 void *argp2 = 0 ;
30130 int res2 = 0 ;
30131 int val3 ;
30132 int ecode3 = 0 ;
30133 PyObject * obj0 = 0 ;
30134 PyObject * obj1 = 0 ;
30135 PyObject * obj2 = 0 ;
30136 char * kwnames[] = {
30137 (char *) "self",(char *) "imageList",(char *) "which", NULL
30138 };
30139
30140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30142 if (!SWIG_IsOK(res1)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30144 }
30145 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30146 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30147 if (!SWIG_IsOK(res2)) {
30148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30149 }
30150 arg2 = reinterpret_cast< wxImageList * >(argp2);
30151 ecode3 = SWIG_AsVal_int(obj2, &val3);
30152 if (!SWIG_IsOK(ecode3)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30154 }
30155 arg3 = static_cast< int >(val3);
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 (arg1)->SetImageList(arg2,arg3);
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 resultobj = SWIG_Py_Void();
30163 return resultobj;
30164fail:
30165 return NULL;
30166}
30167
30168
30169SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30170 PyObject *resultobj = 0;
30171 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30172 wxImageList *arg2 = (wxImageList *) 0 ;
30173 int arg3 ;
30174 void *argp1 = 0 ;
30175 int res1 = 0 ;
30176 int res2 = 0 ;
30177 int val3 ;
30178 int ecode3 = 0 ;
30179 PyObject * obj0 = 0 ;
30180 PyObject * obj1 = 0 ;
30181 PyObject * obj2 = 0 ;
30182 char * kwnames[] = {
30183 (char *) "self",(char *) "imageList",(char *) "which", NULL
30184 };
30185
30186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30188 if (!SWIG_IsOK(res1)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30190 }
30191 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30192 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30193 if (!SWIG_IsOK(res2)) {
30194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30195 }
30196 ecode3 = SWIG_AsVal_int(obj2, &val3);
30197 if (!SWIG_IsOK(ecode3)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30199 }
30200 arg3 = static_cast< int >(val3);
30201 {
30202 PyThreadState* __tstate = wxPyBeginAllowThreads();
30203 (arg1)->AssignImageList(arg2,arg3);
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 resultobj = SWIG_Py_Void();
30208 return resultobj;
30209fail:
30210 return NULL;
7e08d4ef
RD
30211}
30212
30213
1bd55598
RD
30214SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30215 PyObject *resultobj = 0;
30216 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30217 bool result;
30218 void *argp1 = 0 ;
30219 int res1 = 0 ;
30220 PyObject *swig_obj[1] ;
30221
30222 if (!args) SWIG_fail;
30223 swig_obj[0] = args;
30224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30225 if (!SWIG_IsOK(res1)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30227 }
30228 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30229 {
30230 PyThreadState* __tstate = wxPyBeginAllowThreads();
30231 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30232 wxPyEndAllowThreads(__tstate);
30233 if (PyErr_Occurred()) SWIG_fail;
30234 }
30235 {
30236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30237 }
30238 return resultobj;
30239fail:
30240 return NULL;
44bf767a
RD
30241}
30242
30243
1bd55598
RD
30244SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30245 PyObject *resultobj = 0;
30246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30247 bool result;
30248 void *argp1 = 0 ;
30249 int res1 = 0 ;
30250 PyObject *swig_obj[1] ;
30251
30252 if (!args) SWIG_fail;
30253 swig_obj[0] = args;
30254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30255 if (!SWIG_IsOK(res1)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30257 }
30258 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30262 wxPyEndAllowThreads(__tstate);
30263 if (PyErr_Occurred()) SWIG_fail;
30264 }
30265 {
30266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30267 }
30268 return resultobj;
30269fail:
30270 return NULL;
30271}
30272
30273
30274SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30275 PyObject *resultobj = 0;
30276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30277 long arg2 ;
30278 void *argp1 = 0 ;
30279 int res1 = 0 ;
30280 long val2 ;
30281 int ecode2 = 0 ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 char * kwnames[] = {
30285 (char *) "self",(char *) "item", NULL
30286 };
30287
30288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30290 if (!SWIG_IsOK(res1)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30292 }
30293 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30294 ecode2 = SWIG_AsVal_long(obj1, &val2);
30295 if (!SWIG_IsOK(ecode2)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30297 }
30298 arg2 = static_cast< long >(val2);
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->RefreshItem(arg2);
30302 wxPyEndAllowThreads(__tstate);
30303 if (PyErr_Occurred()) SWIG_fail;
30304 }
30305 resultobj = SWIG_Py_Void();
30306 return resultobj;
30307fail:
30308 return NULL;
30309}
30310
30311
30312SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30313 PyObject *resultobj = 0;
30314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30315 long arg2 ;
30316 long arg3 ;
30317 void *argp1 = 0 ;
30318 int res1 = 0 ;
30319 long val2 ;
30320 int ecode2 = 0 ;
30321 long val3 ;
30322 int ecode3 = 0 ;
30323 PyObject * obj0 = 0 ;
30324 PyObject * obj1 = 0 ;
30325 PyObject * obj2 = 0 ;
30326 char * kwnames[] = {
30327 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30328 };
30329
30330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30332 if (!SWIG_IsOK(res1)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30334 }
30335 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30336 ecode2 = SWIG_AsVal_long(obj1, &val2);
30337 if (!SWIG_IsOK(ecode2)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30339 }
30340 arg2 = static_cast< long >(val2);
30341 ecode3 = SWIG_AsVal_long(obj2, &val3);
30342 if (!SWIG_IsOK(ecode3)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30344 }
30345 arg3 = static_cast< long >(val3);
30346 {
30347 PyThreadState* __tstate = wxPyBeginAllowThreads();
30348 (arg1)->RefreshItems(arg2,arg3);
30349 wxPyEndAllowThreads(__tstate);
30350 if (PyErr_Occurred()) SWIG_fail;
30351 }
30352 resultobj = SWIG_Py_Void();
30353 return resultobj;
30354fail:
30355 return NULL;
30356}
30357
30358
30359SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30360 PyObject *resultobj = 0;
30361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30362 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30363 bool result;
30364 void *argp1 = 0 ;
30365 int res1 = 0 ;
30366 int val2 ;
30367 int ecode2 = 0 ;
30368 PyObject * obj0 = 0 ;
30369 PyObject * obj1 = 0 ;
30370 char * kwnames[] = {
30371 (char *) "self",(char *) "flag", NULL
30372 };
30373
30374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30376 if (!SWIG_IsOK(res1)) {
30377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30378 }
30379 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30380 if (obj1) {
30381 ecode2 = SWIG_AsVal_int(obj1, &val2);
30382 if (!SWIG_IsOK(ecode2)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30384 }
30385 arg2 = static_cast< int >(val2);
30386 }
30387 {
30388 PyThreadState* __tstate = wxPyBeginAllowThreads();
30389 result = (bool)(arg1)->Arrange(arg2);
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 {
30394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30395 }
30396 return resultobj;
30397fail:
30398 return NULL;
30399}
30400
30401
30402SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30403 PyObject *resultobj = 0;
30404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30405 long arg2 ;
30406 bool result;
30407 void *argp1 = 0 ;
30408 int res1 = 0 ;
30409 long val2 ;
30410 int ecode2 = 0 ;
30411 PyObject * obj0 = 0 ;
30412 PyObject * obj1 = 0 ;
30413 char * kwnames[] = {
30414 (char *) "self",(char *) "item", NULL
30415 };
30416
30417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30419 if (!SWIG_IsOK(res1)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30421 }
30422 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30423 ecode2 = SWIG_AsVal_long(obj1, &val2);
30424 if (!SWIG_IsOK(ecode2)) {
30425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30426 }
30427 arg2 = static_cast< long >(val2);
30428 {
30429 PyThreadState* __tstate = wxPyBeginAllowThreads();
30430 result = (bool)(arg1)->DeleteItem(arg2);
30431 wxPyEndAllowThreads(__tstate);
30432 if (PyErr_Occurred()) SWIG_fail;
30433 }
30434 {
30435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30436 }
30437 return resultobj;
30438fail:
30439 return NULL;
d55e5bfc
RD
30440}
30441
30442
1bd55598
RD
30443SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30444 PyObject *resultobj = 0;
30445 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30446 bool result;
30447 void *argp1 = 0 ;
30448 int res1 = 0 ;
30449 PyObject *swig_obj[1] ;
30450
30451 if (!args) SWIG_fail;
30452 swig_obj[0] = args;
30453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30454 if (!SWIG_IsOK(res1)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30456 }
30457 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30458 {
30459 PyThreadState* __tstate = wxPyBeginAllowThreads();
30460 result = (bool)(arg1)->DeleteAllItems();
30461 wxPyEndAllowThreads(__tstate);
30462 if (PyErr_Occurred()) SWIG_fail;
30463 }
30464 {
30465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30466 }
30467 return resultobj;
30468fail:
30469 return NULL;
30470}
30471
30472
30473SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj = 0;
30475 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30476 int arg2 ;
30477 bool result;
30478 void *argp1 = 0 ;
30479 int res1 = 0 ;
30480 int val2 ;
30481 int ecode2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char * kwnames[] = {
30485 (char *) "self",(char *) "col", NULL
30486 };
30487
30488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30490 if (!SWIG_IsOK(res1)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30492 }
30493 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30494 ecode2 = SWIG_AsVal_int(obj1, &val2);
30495 if (!SWIG_IsOK(ecode2)) {
30496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30497 }
30498 arg2 = static_cast< int >(val2);
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 result = (bool)(arg1)->DeleteColumn(arg2);
30502 wxPyEndAllowThreads(__tstate);
30503 if (PyErr_Occurred()) SWIG_fail;
30504 }
30505 {
30506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30507 }
30508 return resultobj;
30509fail:
30510 return NULL;
b411df4a
RD
30511}
30512
30513
1bd55598
RD
30514SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30515 PyObject *resultobj = 0;
30516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30517 bool result;
30518 void *argp1 = 0 ;
30519 int res1 = 0 ;
30520 PyObject *swig_obj[1] ;
30521
30522 if (!args) SWIG_fail;
30523 swig_obj[0] = args;
30524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30525 if (!SWIG_IsOK(res1)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30527 }
30528 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30529 {
30530 PyThreadState* __tstate = wxPyBeginAllowThreads();
30531 result = (bool)(arg1)->DeleteAllColumns();
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 {
30536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30537 }
30538 return resultobj;
30539fail:
30540 return NULL;
b411df4a
RD
30541}
30542
30543
1bd55598
RD
30544SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30545 PyObject *resultobj = 0;
30546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30547 void *argp1 = 0 ;
30548 int res1 = 0 ;
30549 PyObject *swig_obj[1] ;
30550
30551 if (!args) SWIG_fail;
30552 swig_obj[0] = args;
30553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30554 if (!SWIG_IsOK(res1)) {
30555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30556 }
30557 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30558 {
30559 PyThreadState* __tstate = wxPyBeginAllowThreads();
30560 (arg1)->ClearAll();
30561 wxPyEndAllowThreads(__tstate);
30562 if (PyErr_Occurred()) SWIG_fail;
30563 }
30564 resultobj = SWIG_Py_Void();
30565 return resultobj;
30566fail:
30567 return NULL;
30568}
30569
30570
30571SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30572 PyObject *resultobj = 0;
30573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30574 long arg2 ;
30575 void *argp1 = 0 ;
30576 int res1 = 0 ;
30577 long val2 ;
30578 int ecode2 = 0 ;
30579 PyObject * obj0 = 0 ;
30580 PyObject * obj1 = 0 ;
30581 char * kwnames[] = {
30582 (char *) "self",(char *) "item", NULL
30583 };
30584
30585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30587 if (!SWIG_IsOK(res1)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30589 }
30590 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30591 ecode2 = SWIG_AsVal_long(obj1, &val2);
30592 if (!SWIG_IsOK(ecode2)) {
30593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30594 }
30595 arg2 = static_cast< long >(val2);
30596 {
30597 PyThreadState* __tstate = wxPyBeginAllowThreads();
30598 (arg1)->EditLabel(arg2);
30599 wxPyEndAllowThreads(__tstate);
30600 if (PyErr_Occurred()) SWIG_fail;
30601 }
30602 resultobj = SWIG_Py_Void();
30603 return resultobj;
30604fail:
30605 return NULL;
30606}
30607
30608
30609SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30610 PyObject *resultobj = 0;
30611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30612 long arg2 ;
30613 bool result;
30614 void *argp1 = 0 ;
30615 int res1 = 0 ;
30616 long val2 ;
30617 int ecode2 = 0 ;
30618 PyObject * obj0 = 0 ;
30619 PyObject * obj1 = 0 ;
30620 char * kwnames[] = {
30621 (char *) "self",(char *) "item", NULL
30622 };
30623
30624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
30625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30626 if (!SWIG_IsOK(res1)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30628 }
30629 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30630 ecode2 = SWIG_AsVal_long(obj1, &val2);
30631 if (!SWIG_IsOK(ecode2)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30633 }
30634 arg2 = static_cast< long >(val2);
30635 {
30636 PyThreadState* __tstate = wxPyBeginAllowThreads();
30637 result = (bool)(arg1)->EnsureVisible(arg2);
30638 wxPyEndAllowThreads(__tstate);
30639 if (PyErr_Occurred()) SWIG_fail;
30640 }
30641 {
30642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30643 }
30644 return resultobj;
30645fail:
30646 return NULL;
30647}
30648
30649
30650SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30651 PyObject *resultobj = 0;
30652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30653 long arg2 ;
30654 wxString *arg3 = 0 ;
30655 bool arg4 = (bool) false ;
30656 long result;
30657 void *argp1 = 0 ;
30658 int res1 = 0 ;
30659 long val2 ;
30660 int ecode2 = 0 ;
30661 bool temp3 = false ;
30662 bool val4 ;
30663 int ecode4 = 0 ;
30664 PyObject * obj0 = 0 ;
30665 PyObject * obj1 = 0 ;
30666 PyObject * obj2 = 0 ;
30667 PyObject * obj3 = 0 ;
30668 char * kwnames[] = {
30669 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30670 };
30671
30672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30674 if (!SWIG_IsOK(res1)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30676 }
30677 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30678 ecode2 = SWIG_AsVal_long(obj1, &val2);
30679 if (!SWIG_IsOK(ecode2)) {
30680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30681 }
30682 arg2 = static_cast< long >(val2);
30683 {
30684 arg3 = wxString_in_helper(obj2);
30685 if (arg3 == NULL) SWIG_fail;
30686 temp3 = true;
30687 }
30688 if (obj3) {
30689 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30690 if (!SWIG_IsOK(ecode4)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30692 }
30693 arg4 = static_cast< bool >(val4);
30694 }
30695 {
30696 PyThreadState* __tstate = wxPyBeginAllowThreads();
30697 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
30698 wxPyEndAllowThreads(__tstate);
30699 if (PyErr_Occurred()) SWIG_fail;
30700 }
30701 resultobj = SWIG_From_long(static_cast< long >(result));
30702 {
30703 if (temp3)
30704 delete arg3;
30705 }
30706 return resultobj;
30707fail:
30708 {
30709 if (temp3)
30710 delete arg3;
30711 }
30712 return NULL;
30713}
30714
30715
30716SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30717 PyObject *resultobj = 0;
30718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30719 long arg2 ;
30720 long arg3 ;
30721 long result;
30722 void *argp1 = 0 ;
30723 int res1 = 0 ;
30724 long val2 ;
30725 int ecode2 = 0 ;
30726 long val3 ;
30727 int ecode3 = 0 ;
30728 PyObject * obj0 = 0 ;
30729 PyObject * obj1 = 0 ;
30730 PyObject * obj2 = 0 ;
30731 char * kwnames[] = {
30732 (char *) "self",(char *) "start",(char *) "data", NULL
30733 };
30734
30735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30737 if (!SWIG_IsOK(res1)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30739 }
30740 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30741 ecode2 = SWIG_AsVal_long(obj1, &val2);
30742 if (!SWIG_IsOK(ecode2)) {
30743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30744 }
30745 arg2 = static_cast< long >(val2);
30746 ecode3 = SWIG_AsVal_long(obj2, &val3);
30747 if (!SWIG_IsOK(ecode3)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30749 }
30750 arg3 = static_cast< long >(val3);
30751 {
30752 PyThreadState* __tstate = wxPyBeginAllowThreads();
30753 result = (long)(arg1)->FindItem(arg2,arg3);
30754 wxPyEndAllowThreads(__tstate);
30755 if (PyErr_Occurred()) SWIG_fail;
30756 }
30757 resultobj = SWIG_From_long(static_cast< long >(result));
30758 return resultobj;
30759fail:
30760 return NULL;
30761}
30762
30763
30764SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30765 PyObject *resultobj = 0;
30766 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30767 long arg2 ;
30768 wxPoint *arg3 = 0 ;
30769 int arg4 ;
30770 long result;
30771 void *argp1 = 0 ;
30772 int res1 = 0 ;
30773 long val2 ;
30774 int ecode2 = 0 ;
30775 wxPoint temp3 ;
30776 int val4 ;
30777 int ecode4 = 0 ;
30778 PyObject * obj0 = 0 ;
30779 PyObject * obj1 = 0 ;
30780 PyObject * obj2 = 0 ;
30781 PyObject * obj3 = 0 ;
30782 char * kwnames[] = {
30783 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30784 };
30785
30786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30788 if (!SWIG_IsOK(res1)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30790 }
30791 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30792 ecode2 = SWIG_AsVal_long(obj1, &val2);
30793 if (!SWIG_IsOK(ecode2)) {
30794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30795 }
30796 arg2 = static_cast< long >(val2);
30797 {
30798 arg3 = &temp3;
30799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30800 }
30801 ecode4 = SWIG_AsVal_int(obj3, &val4);
30802 if (!SWIG_IsOK(ecode4)) {
30803 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30804 }
30805 arg4 = static_cast< int >(val4);
30806 {
30807 PyThreadState* __tstate = wxPyBeginAllowThreads();
30808 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
30809 wxPyEndAllowThreads(__tstate);
30810 if (PyErr_Occurred()) SWIG_fail;
30811 }
30812 resultobj = SWIG_From_long(static_cast< long >(result));
30813 return resultobj;
30814fail:
30815 return NULL;
30816}
30817
30818
30819SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30820 PyObject *resultobj = 0;
30821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30822 wxPoint *arg2 = 0 ;
30823 int *arg3 = 0 ;
30824 long result;
30825 void *argp1 = 0 ;
30826 int res1 = 0 ;
30827 wxPoint temp2 ;
30828 int temp3 ;
30829 int res3 = SWIG_TMPOBJ ;
30830 PyObject * obj0 = 0 ;
30831 PyObject * obj1 = 0 ;
30832 char * kwnames[] = {
30833 (char *) "self",(char *) "point", NULL
30834 };
30835
30836 arg3 = &temp3;
30837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
30838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30839 if (!SWIG_IsOK(res1)) {
30840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30841 }
30842 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30843 {
30844 arg2 = &temp2;
30845 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30846 }
30847 {
30848 PyThreadState* __tstate = wxPyBeginAllowThreads();
30849 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30850 wxPyEndAllowThreads(__tstate);
30851 if (PyErr_Occurred()) SWIG_fail;
30852 }
30853 resultobj = SWIG_From_long(static_cast< long >(result));
30854 if (SWIG_IsTmpObj(res3)) {
30855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30856 } else {
30857 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30859 }
30860 return resultobj;
30861fail:
30862 return NULL;
30863}
30864
30865
704eda0c
RD
30866SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30867 PyObject *resultobj = 0;
30868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30869 wxPoint *arg2 = 0 ;
30870 int *arg3 = 0 ;
30871 long *arg4 = (long *) 0 ;
30872 long result;
30873 void *argp1 = 0 ;
30874 int res1 = 0 ;
30875 wxPoint temp2 ;
30876 int temp3 ;
30877 int res3 = SWIG_TMPOBJ ;
30878 long temp4 ;
30879 int res4 = SWIG_TMPOBJ ;
30880 PyObject * obj0 = 0 ;
30881 PyObject * obj1 = 0 ;
30882 char * kwnames[] = {
30883 (char *) "self",(char *) "point", NULL
30884 };
30885
30886 arg3 = &temp3;
30887 arg4 = &temp4;
30888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
30889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30890 if (!SWIG_IsOK(res1)) {
30891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30892 }
30893 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30894 {
30895 arg2 = &temp2;
30896 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30897 }
30898 {
30899 PyThreadState* __tstate = wxPyBeginAllowThreads();
30900 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
30901 wxPyEndAllowThreads(__tstate);
30902 if (PyErr_Occurred()) SWIG_fail;
30903 }
30904 resultobj = SWIG_From_long(static_cast< long >(result));
30905 if (SWIG_IsTmpObj(res3)) {
30906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30907 } else {
30908 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30910 }
30911 if (SWIG_IsTmpObj(res4)) {
30912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
30913 } else {
30914 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
30916 }
30917 return resultobj;
30918fail:
30919 return NULL;
30920}
30921
30922
1bd55598
RD
30923SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30924 PyObject *resultobj = 0;
30925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30926 wxListItem *arg2 = 0 ;
30927 long result;
30928 void *argp1 = 0 ;
30929 int res1 = 0 ;
30930 void *argp2 = 0 ;
30931 int res2 = 0 ;
30932 PyObject * obj0 = 0 ;
30933 PyObject * obj1 = 0 ;
30934 char * kwnames[] = {
30935 (char *) "self",(char *) "info", NULL
30936 };
30937
30938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
30939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30940 if (!SWIG_IsOK(res1)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30942 }
30943 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30944 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
30945 if (!SWIG_IsOK(res2)) {
30946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30947 }
30948 if (!argp2) {
30949 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30950 }
30951 arg2 = reinterpret_cast< wxListItem * >(argp2);
30952 {
30953 PyThreadState* __tstate = wxPyBeginAllowThreads();
30954 result = (long)(arg1)->InsertItem(*arg2);
30955 wxPyEndAllowThreads(__tstate);
30956 if (PyErr_Occurred()) SWIG_fail;
30957 }
30958 resultobj = SWIG_From_long(static_cast< long >(result));
30959 return resultobj;
30960fail:
30961 return NULL;
30962}
30963
30964
30965SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj = 0;
30967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30968 long arg2 ;
30969 wxString *arg3 = 0 ;
30970 int arg4 = (int) -1 ;
30971 long result;
30972 void *argp1 = 0 ;
30973 int res1 = 0 ;
30974 long val2 ;
30975 int ecode2 = 0 ;
30976 bool temp3 = false ;
30977 int val4 ;
30978 int ecode4 = 0 ;
30979 PyObject * obj0 = 0 ;
30980 PyObject * obj1 = 0 ;
30981 PyObject * obj2 = 0 ;
30982 PyObject * obj3 = 0 ;
30983 char * kwnames[] = {
30984 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30985 };
30986
30987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30989 if (!SWIG_IsOK(res1)) {
30990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30991 }
30992 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30993 ecode2 = SWIG_AsVal_long(obj1, &val2);
30994 if (!SWIG_IsOK(ecode2)) {
30995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30996 }
30997 arg2 = static_cast< long >(val2);
30998 {
30999 arg3 = wxString_in_helper(obj2);
31000 if (arg3 == NULL) SWIG_fail;
31001 temp3 = true;
31002 }
31003 if (obj3) {
31004 ecode4 = SWIG_AsVal_int(obj3, &val4);
31005 if (!SWIG_IsOK(ecode4)) {
31006 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31007 }
31008 arg4 = static_cast< int >(val4);
31009 }
31010 {
31011 PyThreadState* __tstate = wxPyBeginAllowThreads();
31012 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31013 wxPyEndAllowThreads(__tstate);
31014 if (PyErr_Occurred()) SWIG_fail;
31015 }
31016 resultobj = SWIG_From_long(static_cast< long >(result));
31017 {
31018 if (temp3)
31019 delete arg3;
31020 }
31021 return resultobj;
31022fail:
31023 {
31024 if (temp3)
31025 delete arg3;
31026 }
31027 return NULL;
31028}
31029
31030
31031SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31032 PyObject *resultobj = 0;
31033 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31034 long arg2 ;
31035 int arg3 ;
31036 long result;
31037 void *argp1 = 0 ;
31038 int res1 = 0 ;
31039 long val2 ;
31040 int ecode2 = 0 ;
31041 int val3 ;
31042 int ecode3 = 0 ;
31043 PyObject * obj0 = 0 ;
31044 PyObject * obj1 = 0 ;
31045 PyObject * obj2 = 0 ;
31046 char * kwnames[] = {
31047 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31048 };
31049
31050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31052 if (!SWIG_IsOK(res1)) {
31053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31054 }
31055 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31056 ecode2 = SWIG_AsVal_long(obj1, &val2);
31057 if (!SWIG_IsOK(ecode2)) {
31058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31059 }
31060 arg2 = static_cast< long >(val2);
31061 ecode3 = SWIG_AsVal_int(obj2, &val3);
31062 if (!SWIG_IsOK(ecode3)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31064 }
31065 arg3 = static_cast< int >(val3);
31066 {
31067 PyThreadState* __tstate = wxPyBeginAllowThreads();
31068 result = (long)(arg1)->InsertItem(arg2,arg3);
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 resultobj = SWIG_From_long(static_cast< long >(result));
31073 return resultobj;
31074fail:
31075 return NULL;
31076}
31077
31078
31079SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31080 PyObject *resultobj = 0;
31081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31082 long arg2 ;
31083 wxString *arg3 = 0 ;
31084 int arg4 ;
31085 long result;
31086 void *argp1 = 0 ;
31087 int res1 = 0 ;
31088 long val2 ;
31089 int ecode2 = 0 ;
31090 bool temp3 = false ;
31091 int val4 ;
31092 int ecode4 = 0 ;
31093 PyObject * obj0 = 0 ;
31094 PyObject * obj1 = 0 ;
31095 PyObject * obj2 = 0 ;
31096 PyObject * obj3 = 0 ;
31097 char * kwnames[] = {
31098 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31099 };
31100
31101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31103 if (!SWIG_IsOK(res1)) {
31104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31105 }
31106 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31107 ecode2 = SWIG_AsVal_long(obj1, &val2);
31108 if (!SWIG_IsOK(ecode2)) {
31109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31110 }
31111 arg2 = static_cast< long >(val2);
31112 {
31113 arg3 = wxString_in_helper(obj2);
31114 if (arg3 == NULL) SWIG_fail;
31115 temp3 = true;
31116 }
31117 ecode4 = SWIG_AsVal_int(obj3, &val4);
31118 if (!SWIG_IsOK(ecode4)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31120 }
31121 arg4 = static_cast< int >(val4);
31122 {
31123 PyThreadState* __tstate = wxPyBeginAllowThreads();
31124 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31125 wxPyEndAllowThreads(__tstate);
31126 if (PyErr_Occurred()) SWIG_fail;
31127 }
31128 resultobj = SWIG_From_long(static_cast< long >(result));
31129 {
31130 if (temp3)
31131 delete arg3;
31132 }
31133 return resultobj;
31134fail:
31135 {
31136 if (temp3)
31137 delete arg3;
31138 }
31139 return NULL;
31140}
31141
31142
31143SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31144 PyObject *resultobj = 0;
31145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31146 long arg2 ;
31147 wxListItem *arg3 = 0 ;
31148 long result;
31149 void *argp1 = 0 ;
31150 int res1 = 0 ;
31151 long val2 ;
31152 int ecode2 = 0 ;
31153 void *argp3 = 0 ;
31154 int res3 = 0 ;
31155 PyObject * obj0 = 0 ;
31156 PyObject * obj1 = 0 ;
31157 PyObject * obj2 = 0 ;
31158 char * kwnames[] = {
31159 (char *) "self",(char *) "col",(char *) "info", NULL
31160 };
31161
31162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31164 if (!SWIG_IsOK(res1)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31166 }
31167 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31168 ecode2 = SWIG_AsVal_long(obj1, &val2);
31169 if (!SWIG_IsOK(ecode2)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31171 }
31172 arg2 = static_cast< long >(val2);
31173 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31174 if (!SWIG_IsOK(res3)) {
31175 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31176 }
31177 if (!argp3) {
31178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31179 }
31180 arg3 = reinterpret_cast< wxListItem * >(argp3);
31181 {
31182 PyThreadState* __tstate = wxPyBeginAllowThreads();
31183 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31184 wxPyEndAllowThreads(__tstate);
31185 if (PyErr_Occurred()) SWIG_fail;
31186 }
31187 resultobj = SWIG_From_long(static_cast< long >(result));
31188 return resultobj;
31189fail:
31190 return NULL;
31191}
31192
31193
31194SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31195 PyObject *resultobj = 0;
31196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31197 long arg2 ;
31198 wxString *arg3 = 0 ;
31199 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31200 int arg5 = (int) -1 ;
31201 long result;
31202 void *argp1 = 0 ;
31203 int res1 = 0 ;
31204 long val2 ;
31205 int ecode2 = 0 ;
31206 bool temp3 = false ;
31207 int val4 ;
31208 int ecode4 = 0 ;
31209 int val5 ;
31210 int ecode5 = 0 ;
31211 PyObject * obj0 = 0 ;
31212 PyObject * obj1 = 0 ;
31213 PyObject * obj2 = 0 ;
31214 PyObject * obj3 = 0 ;
31215 PyObject * obj4 = 0 ;
31216 char * kwnames[] = {
31217 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31218 };
31219
31220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31222 if (!SWIG_IsOK(res1)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31224 }
31225 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31226 ecode2 = SWIG_AsVal_long(obj1, &val2);
31227 if (!SWIG_IsOK(ecode2)) {
31228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31229 }
31230 arg2 = static_cast< long >(val2);
31231 {
31232 arg3 = wxString_in_helper(obj2);
31233 if (arg3 == NULL) SWIG_fail;
31234 temp3 = true;
31235 }
31236 if (obj3) {
31237 ecode4 = SWIG_AsVal_int(obj3, &val4);
31238 if (!SWIG_IsOK(ecode4)) {
31239 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31240 }
31241 arg4 = static_cast< int >(val4);
31242 }
31243 if (obj4) {
31244 ecode5 = SWIG_AsVal_int(obj4, &val5);
31245 if (!SWIG_IsOK(ecode5)) {
31246 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31247 }
31248 arg5 = static_cast< int >(val5);
31249 }
31250 {
31251 PyThreadState* __tstate = wxPyBeginAllowThreads();
31252 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31253 wxPyEndAllowThreads(__tstate);
31254 if (PyErr_Occurred()) SWIG_fail;
31255 }
31256 resultobj = SWIG_From_long(static_cast< long >(result));
31257 {
31258 if (temp3)
31259 delete arg3;
31260 }
31261 return resultobj;
31262fail:
31263 {
31264 if (temp3)
31265 delete arg3;
31266 }
31267 return NULL;
31268}
31269
31270
31271SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31272 PyObject *resultobj = 0;
31273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31274 long arg2 ;
31275 void *argp1 = 0 ;
31276 int res1 = 0 ;
31277 long val2 ;
31278 int ecode2 = 0 ;
31279 PyObject * obj0 = 0 ;
31280 PyObject * obj1 = 0 ;
31281 char * kwnames[] = {
31282 (char *) "self",(char *) "count", NULL
31283 };
31284
31285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31287 if (!SWIG_IsOK(res1)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31289 }
31290 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31291 ecode2 = SWIG_AsVal_long(obj1, &val2);
31292 if (!SWIG_IsOK(ecode2)) {
31293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31294 }
31295 arg2 = static_cast< long >(val2);
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 (arg1)->SetItemCount(arg2);
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 resultobj = SWIG_Py_Void();
31303 return resultobj;
31304fail:
31305 return NULL;
31306}
31307
31308
31309SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31310 PyObject *resultobj = 0;
31311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31312 int arg2 ;
31313 int arg3 ;
31314 bool result;
31315 void *argp1 = 0 ;
31316 int res1 = 0 ;
31317 int val2 ;
31318 int ecode2 = 0 ;
31319 int val3 ;
31320 int ecode3 = 0 ;
31321 PyObject * obj0 = 0 ;
31322 PyObject * obj1 = 0 ;
31323 PyObject * obj2 = 0 ;
31324 char * kwnames[] = {
31325 (char *) "self",(char *) "dx",(char *) "dy", NULL
31326 };
31327
31328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31330 if (!SWIG_IsOK(res1)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31332 }
31333 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31334 ecode2 = SWIG_AsVal_int(obj1, &val2);
31335 if (!SWIG_IsOK(ecode2)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31337 }
31338 arg2 = static_cast< int >(val2);
31339 ecode3 = SWIG_AsVal_int(obj2, &val3);
31340 if (!SWIG_IsOK(ecode3)) {
31341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31342 }
31343 arg3 = static_cast< int >(val3);
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 result = (bool)(arg1)->ScrollList(arg2,arg3);
31347 wxPyEndAllowThreads(__tstate);
31348 if (PyErr_Occurred()) SWIG_fail;
31349 }
31350 {
31351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31352 }
31353 return resultobj;
31354fail:
31355 return NULL;
31356}
31357
31358
31359SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31360 PyObject *resultobj = 0;
31361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31362 long arg2 ;
31363 wxColour *arg3 = 0 ;
31364 void *argp1 = 0 ;
31365 int res1 = 0 ;
31366 long val2 ;
31367 int ecode2 = 0 ;
31368 wxColour temp3 ;
31369 PyObject * obj0 = 0 ;
31370 PyObject * obj1 = 0 ;
31371 PyObject * obj2 = 0 ;
31372 char * kwnames[] = {
31373 (char *) "self",(char *) "item",(char *) "col", NULL
31374 };
31375
31376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31378 if (!SWIG_IsOK(res1)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31380 }
31381 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31382 ecode2 = SWIG_AsVal_long(obj1, &val2);
31383 if (!SWIG_IsOK(ecode2)) {
31384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31385 }
31386 arg2 = static_cast< long >(val2);
31387 {
31388 arg3 = &temp3;
31389 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31390 }
31391 {
31392 PyThreadState* __tstate = wxPyBeginAllowThreads();
31393 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31394 wxPyEndAllowThreads(__tstate);
31395 if (PyErr_Occurred()) SWIG_fail;
31396 }
31397 resultobj = SWIG_Py_Void();
31398 return resultobj;
31399fail:
31400 return NULL;
31401}
31402
31403
31404SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31405 PyObject *resultobj = 0;
31406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31407 long arg2 ;
31408 wxColour result;
31409 void *argp1 = 0 ;
31410 int res1 = 0 ;
31411 long val2 ;
31412 int ecode2 = 0 ;
31413 PyObject * obj0 = 0 ;
31414 PyObject * obj1 = 0 ;
31415 char * kwnames[] = {
31416 (char *) "self",(char *) "item", NULL
31417 };
31418
31419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31421 if (!SWIG_IsOK(res1)) {
31422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31423 }
31424 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31425 ecode2 = SWIG_AsVal_long(obj1, &val2);
31426 if (!SWIG_IsOK(ecode2)) {
31427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31428 }
31429 arg2 = static_cast< long >(val2);
31430 {
31431 PyThreadState* __tstate = wxPyBeginAllowThreads();
31432 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31433 wxPyEndAllowThreads(__tstate);
31434 if (PyErr_Occurred()) SWIG_fail;
31435 }
31436 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31437 return resultobj;
31438fail:
31439 return NULL;
31440}
31441
31442
31443SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31444 PyObject *resultobj = 0;
31445 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31446 long arg2 ;
31447 wxColour *arg3 = 0 ;
31448 void *argp1 = 0 ;
31449 int res1 = 0 ;
31450 long val2 ;
31451 int ecode2 = 0 ;
31452 wxColour temp3 ;
31453 PyObject * obj0 = 0 ;
31454 PyObject * obj1 = 0 ;
31455 PyObject * obj2 = 0 ;
31456 char * kwnames[] = {
31457 (char *) "self",(char *) "item",(char *) "col", NULL
31458 };
31459
31460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31462 if (!SWIG_IsOK(res1)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31464 }
31465 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31466 ecode2 = SWIG_AsVal_long(obj1, &val2);
31467 if (!SWIG_IsOK(ecode2)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31469 }
31470 arg2 = static_cast< long >(val2);
31471 {
31472 arg3 = &temp3;
31473 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31474 }
31475 {
31476 PyThreadState* __tstate = wxPyBeginAllowThreads();
31477 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31478 wxPyEndAllowThreads(__tstate);
31479 if (PyErr_Occurred()) SWIG_fail;
31480 }
31481 resultobj = SWIG_Py_Void();
31482 return resultobj;
31483fail:
31484 return NULL;
31485}
31486
31487
31488SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31489 PyObject *resultobj = 0;
31490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31491 long arg2 ;
31492 wxColour result;
31493 void *argp1 = 0 ;
31494 int res1 = 0 ;
31495 long val2 ;
31496 int ecode2 = 0 ;
31497 PyObject * obj0 = 0 ;
31498 PyObject * obj1 = 0 ;
31499 char * kwnames[] = {
31500 (char *) "self",(char *) "item", NULL
31501 };
31502
31503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31505 if (!SWIG_IsOK(res1)) {
31506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31507 }
31508 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31509 ecode2 = SWIG_AsVal_long(obj1, &val2);
31510 if (!SWIG_IsOK(ecode2)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31512 }
31513 arg2 = static_cast< long >(val2);
31514 {
31515 PyThreadState* __tstate = wxPyBeginAllowThreads();
31516 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31517 wxPyEndAllowThreads(__tstate);
31518 if (PyErr_Occurred()) SWIG_fail;
31519 }
31520 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31521 return resultobj;
31522fail:
31523 return NULL;
31524}
31525
31526
31527SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31528 PyObject *resultobj = 0;
31529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31530 long arg2 ;
31531 wxFont *arg3 = 0 ;
31532 void *argp1 = 0 ;
31533 int res1 = 0 ;
31534 long val2 ;
31535 int ecode2 = 0 ;
31536 void *argp3 = 0 ;
31537 int res3 = 0 ;
31538 PyObject * obj0 = 0 ;
31539 PyObject * obj1 = 0 ;
31540 PyObject * obj2 = 0 ;
31541 char * kwnames[] = {
31542 (char *) "self",(char *) "item",(char *) "f", NULL
31543 };
31544
31545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31547 if (!SWIG_IsOK(res1)) {
31548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31549 }
31550 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31551 ecode2 = SWIG_AsVal_long(obj1, &val2);
31552 if (!SWIG_IsOK(ecode2)) {
31553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31554 }
31555 arg2 = static_cast< long >(val2);
31556 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31557 if (!SWIG_IsOK(res3)) {
31558 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31559 }
31560 if (!argp3) {
31561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31562 }
31563 arg3 = reinterpret_cast< wxFont * >(argp3);
31564 {
31565 PyThreadState* __tstate = wxPyBeginAllowThreads();
31566 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31567 wxPyEndAllowThreads(__tstate);
31568 if (PyErr_Occurred()) SWIG_fail;
31569 }
31570 resultobj = SWIG_Py_Void();
31571 return resultobj;
31572fail:
31573 return NULL;
31574}
31575
31576
31577SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31578 PyObject *resultobj = 0;
31579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31580 long arg2 ;
31581 wxFont result;
31582 void *argp1 = 0 ;
31583 int res1 = 0 ;
31584 long val2 ;
31585 int ecode2 = 0 ;
31586 PyObject * obj0 = 0 ;
31587 PyObject * obj1 = 0 ;
31588 char * kwnames[] = {
31589 (char *) "self",(char *) "item", NULL
31590 };
31591
31592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31594 if (!SWIG_IsOK(res1)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31596 }
31597 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31598 ecode2 = SWIG_AsVal_long(obj1, &val2);
31599 if (!SWIG_IsOK(ecode2)) {
31600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31601 }
31602 arg2 = static_cast< long >(val2);
31603 {
31604 PyThreadState* __tstate = wxPyBeginAllowThreads();
31605 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31606 wxPyEndAllowThreads(__tstate);
31607 if (PyErr_Occurred()) SWIG_fail;
31608 }
31609 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31610 return resultobj;
31611fail:
31612 return NULL;
31613}
31614
31615
31616SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31617 PyObject *resultobj = 0;
31618 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31619 PyObject *arg2 = (PyObject *) 0 ;
31620 bool result;
31621 void *argp1 = 0 ;
31622 int res1 = 0 ;
31623 PyObject * obj0 = 0 ;
31624 PyObject * obj1 = 0 ;
31625 char * kwnames[] = {
31626 (char *) "self",(char *) "func", NULL
31627 };
31628
31629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
31630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31631 if (!SWIG_IsOK(res1)) {
31632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31633 }
31634 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31635 arg2 = obj1;
31636 {
31637 PyThreadState* __tstate = wxPyBeginAllowThreads();
31638 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
31639 wxPyEndAllowThreads(__tstate);
31640 if (PyErr_Occurred()) SWIG_fail;
31641 }
31642 {
31643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31644 }
31645 return resultobj;
31646fail:
31647 return NULL;
b411df4a
RD
31648}
31649
31650
1bd55598
RD
31651SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31652 PyObject *resultobj = 0;
31653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31654 wxWindow *result = 0 ;
31655 void *argp1 = 0 ;
31656 int res1 = 0 ;
31657 PyObject *swig_obj[1] ;
31658
31659 if (!args) SWIG_fail;
31660 swig_obj[0] = args;
31661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31662 if (!SWIG_IsOK(res1)) {
31663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31664 }
31665 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31666 {
31667 PyThreadState* __tstate = wxPyBeginAllowThreads();
31668 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
31669 wxPyEndAllowThreads(__tstate);
31670 if (PyErr_Occurred()) SWIG_fail;
31671 }
31672 {
31673 resultobj = wxPyMake_wxObject(result, 0);
31674 }
31675 return resultobj;
31676fail:
31677 return NULL;
7993762b
RD
31678}
31679
31680
1bd55598
RD
31681SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31682 PyObject *resultobj = 0;
31683 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31684 SwigValueWrapper<wxVisualAttributes > result;
31685 int val1 ;
31686 int ecode1 = 0 ;
31687 PyObject * obj0 = 0 ;
31688 char * kwnames[] = {
31689 (char *) "variant", NULL
31690 };
31691
31692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
31693 if (obj0) {
31694 ecode1 = SWIG_AsVal_int(obj0, &val1);
31695 if (!SWIG_IsOK(ecode1)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31697 }
31698 arg1 = static_cast< wxWindowVariant >(val1);
31699 }
31700 {
31701 if (!wxPyCheckForApp()) SWIG_fail;
31702 PyThreadState* __tstate = wxPyBeginAllowThreads();
31703 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
31708 return resultobj;
31709fail:
31710 return NULL;
31711}
31712
31713
31714SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31715 PyObject *obj;
31716 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31717 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
31718 return SWIG_Py_Void();
31719}
31720
31721SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31722 return SWIG_Python_InitShadowInstance(args);
31723}
31724
31725SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31726 PyObject *resultobj = 0;
31727 wxWindow *arg1 = (wxWindow *) 0 ;
31728 int arg2 = (int) -1 ;
31729 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31730 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31731 wxSize const &arg4_defvalue = wxDefaultSize ;
31732 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31733 long arg5 = (long) wxLC_REPORT ;
31734 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31735 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31736 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
31737 wxString *arg7 = (wxString *) &arg7_defvalue ;
31738 wxListView *result = 0 ;
31739 void *argp1 = 0 ;
31740 int res1 = 0 ;
31741 int val2 ;
31742 int ecode2 = 0 ;
31743 wxPoint temp3 ;
31744 wxSize temp4 ;
31745 long val5 ;
31746 int ecode5 = 0 ;
31747 void *argp6 = 0 ;
31748 int res6 = 0 ;
31749 bool temp7 = false ;
31750 PyObject * obj0 = 0 ;
31751 PyObject * obj1 = 0 ;
31752 PyObject * obj2 = 0 ;
31753 PyObject * obj3 = 0 ;
31754 PyObject * obj4 = 0 ;
31755 PyObject * obj5 = 0 ;
31756 PyObject * obj6 = 0 ;
31757 char * kwnames[] = {
31758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31759 };
31760
31761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
31763 if (!SWIG_IsOK(res1)) {
31764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31765 }
31766 arg1 = reinterpret_cast< wxWindow * >(argp1);
31767 if (obj1) {
31768 ecode2 = SWIG_AsVal_int(obj1, &val2);
31769 if (!SWIG_IsOK(ecode2)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31771 }
31772 arg2 = static_cast< int >(val2);
31773 }
31774 if (obj2) {
b411df4a 31775 {
1bd55598
RD
31776 arg3 = &temp3;
31777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
b411df4a 31778 }
1bd55598
RD
31779 }
31780 if (obj3) {
31781 {
31782 arg4 = &temp4;
31783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
b411df4a 31784 }
1bd55598
RD
31785 }
31786 if (obj4) {
31787 ecode5 = SWIG_AsVal_long(obj4, &val5);
31788 if (!SWIG_IsOK(ecode5)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31790 }
31791 arg5 = static_cast< long >(val5);
31792 }
31793 if (obj5) {
31794 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
31795 if (!SWIG_IsOK(res6)) {
31796 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
b411df4a 31797 }
1bd55598
RD
31798 if (!argp6) {
31799 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
b411df4a 31800 }
1bd55598
RD
31801 arg6 = reinterpret_cast< wxValidator * >(argp6);
31802 }
31803 if (obj6) {
b411df4a 31804 {
1bd55598
RD
31805 arg7 = wxString_in_helper(obj6);
31806 if (arg7 == NULL) SWIG_fail;
31807 temp7 = true;
b411df4a 31808 }
1bd55598
RD
31809 }
31810 {
31811 if (!wxPyCheckForApp()) SWIG_fail;
31812 PyThreadState* __tstate = wxPyBeginAllowThreads();
31813 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31814 wxPyEndAllowThreads(__tstate);
31815 if (PyErr_Occurred()) SWIG_fail;
31816 }
31817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
31818 {
31819 if (temp7)
31820 delete arg7;
31821 }
31822 return resultobj;
31823fail:
31824 {
31825 if (temp7)
31826 delete arg7;
31827 }
31828 return NULL;
b411df4a
RD
31829}
31830
31831
1bd55598
RD
31832SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31833 PyObject *resultobj = 0;
31834 wxListView *result = 0 ;
31835
31836 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
31837 {
31838 if (!wxPyCheckForApp()) SWIG_fail;
31839 PyThreadState* __tstate = wxPyBeginAllowThreads();
31840 result = (wxListView *)new wxListView();
31841 wxPyEndAllowThreads(__tstate);
31842 if (PyErr_Occurred()) SWIG_fail;
31843 }
31844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
31845 return resultobj;
31846fail:
31847 return NULL;
31848}
31849
31850
31851SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31852 PyObject *resultobj = 0;
31853 wxListView *arg1 = (wxListView *) 0 ;
31854 wxWindow *arg2 = (wxWindow *) 0 ;
31855 int arg3 = (int) -1 ;
31856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31858 wxSize const &arg5_defvalue = wxDefaultSize ;
31859 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31860 long arg6 = (long) wxLC_REPORT ;
31861 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31862 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31863 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
31864 wxString *arg8 = (wxString *) &arg8_defvalue ;
31865 bool result;
31866 void *argp1 = 0 ;
31867 int res1 = 0 ;
31868 void *argp2 = 0 ;
31869 int res2 = 0 ;
31870 int val3 ;
31871 int ecode3 = 0 ;
31872 wxPoint temp4 ;
31873 wxSize temp5 ;
31874 long val6 ;
31875 int ecode6 = 0 ;
31876 void *argp7 = 0 ;
31877 int res7 = 0 ;
31878 bool temp8 = false ;
31879 PyObject * obj0 = 0 ;
31880 PyObject * obj1 = 0 ;
31881 PyObject * obj2 = 0 ;
31882 PyObject * obj3 = 0 ;
31883 PyObject * obj4 = 0 ;
31884 PyObject * obj5 = 0 ;
31885 PyObject * obj6 = 0 ;
31886 PyObject * obj7 = 0 ;
31887 char * kwnames[] = {
31888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31889 };
31890
31891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
31892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
31893 if (!SWIG_IsOK(res1)) {
31894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31895 }
31896 arg1 = reinterpret_cast< wxListView * >(argp1);
31897 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31898 if (!SWIG_IsOK(res2)) {
31899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31900 }
31901 arg2 = reinterpret_cast< wxWindow * >(argp2);
31902 if (obj2) {
31903 ecode3 = SWIG_AsVal_int(obj2, &val3);
31904 if (!SWIG_IsOK(ecode3)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31906 }
31907 arg3 = static_cast< int >(val3);
31908 }
31909 if (obj3) {
d55e5bfc 31910 {
1bd55598
RD
31911 arg4 = &temp4;
31912 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31913 }
1bd55598
RD
31914 }
31915 if (obj4) {
36ed4f51 31916 {
1bd55598
RD
31917 arg5 = &temp5;
31918 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 31919 }
1bd55598
RD
31920 }
31921 if (obj5) {
31922 ecode6 = SWIG_AsVal_long(obj5, &val6);
31923 if (!SWIG_IsOK(ecode6)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31925 }
31926 arg6 = static_cast< long >(val6);
31927 }
31928 if (obj6) {
31929 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
31930 if (!SWIG_IsOK(res7)) {
31931 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 31932 }
1bd55598
RD
31933 if (!argp7) {
31934 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31935 }
31936 arg7 = reinterpret_cast< wxValidator * >(argp7);
31937 }
31938 if (obj7) {
d55e5bfc 31939 {
1bd55598
RD
31940 arg8 = wxString_in_helper(obj7);
31941 if (arg8 == NULL) SWIG_fail;
31942 temp8 = true;
d55e5bfc 31943 }
1bd55598
RD
31944 }
31945 {
31946 PyThreadState* __tstate = wxPyBeginAllowThreads();
31947 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31948 wxPyEndAllowThreads(__tstate);
31949 if (PyErr_Occurred()) SWIG_fail;
31950 }
31951 {
31952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31953 }
31954 {
31955 if (temp8)
31956 delete arg8;
31957 }
31958 return resultobj;
31959fail:
31960 {
31961 if (temp8)
31962 delete arg8;
31963 }
31964 return NULL;
31965}
31966
31967
31968SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31969 PyObject *resultobj = 0;
31970 wxListView *arg1 = (wxListView *) 0 ;
31971 long arg2 ;
31972 bool arg3 = (bool) true ;
31973 void *argp1 = 0 ;
31974 int res1 = 0 ;
31975 long val2 ;
31976 int ecode2 = 0 ;
31977 bool val3 ;
31978 int ecode3 = 0 ;
31979 PyObject * obj0 = 0 ;
31980 PyObject * obj1 = 0 ;
31981 PyObject * obj2 = 0 ;
31982 char * kwnames[] = {
31983 (char *) "self",(char *) "n",(char *) "on", NULL
31984 };
31985
31986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
31988 if (!SWIG_IsOK(res1)) {
31989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31990 }
31991 arg1 = reinterpret_cast< wxListView * >(argp1);
31992 ecode2 = SWIG_AsVal_long(obj1, &val2);
31993 if (!SWIG_IsOK(ecode2)) {
31994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31995 }
31996 arg2 = static_cast< long >(val2);
31997 if (obj2) {
31998 ecode3 = SWIG_AsVal_bool(obj2, &val3);
31999 if (!SWIG_IsOK(ecode3)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32001 }
32002 arg3 = static_cast< bool >(val3);
32003 }
32004 {
32005 PyThreadState* __tstate = wxPyBeginAllowThreads();
32006 (arg1)->Select(arg2,arg3);
32007 wxPyEndAllowThreads(__tstate);
32008 if (PyErr_Occurred()) SWIG_fail;
32009 }
32010 resultobj = SWIG_Py_Void();
32011 return resultobj;
32012fail:
32013 return NULL;
32014}
32015
32016
32017SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32018 PyObject *resultobj = 0;
32019 wxListView *arg1 = (wxListView *) 0 ;
32020 long arg2 ;
32021 void *argp1 = 0 ;
32022 int res1 = 0 ;
32023 long val2 ;
32024 int ecode2 = 0 ;
32025 PyObject * obj0 = 0 ;
32026 PyObject * obj1 = 0 ;
32027 char * kwnames[] = {
32028 (char *) "self",(char *) "index", NULL
32029 };
32030
32031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32033 if (!SWIG_IsOK(res1)) {
32034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32035 }
32036 arg1 = reinterpret_cast< wxListView * >(argp1);
32037 ecode2 = SWIG_AsVal_long(obj1, &val2);
32038 if (!SWIG_IsOK(ecode2)) {
32039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32040 }
32041 arg2 = static_cast< long >(val2);
32042 {
32043 PyThreadState* __tstate = wxPyBeginAllowThreads();
32044 (arg1)->Focus(arg2);
32045 wxPyEndAllowThreads(__tstate);
32046 if (PyErr_Occurred()) SWIG_fail;
32047 }
32048 resultobj = SWIG_Py_Void();
32049 return resultobj;
32050fail:
32051 return NULL;
d55e5bfc
RD
32052}
32053
32054
1bd55598
RD
32055SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32056 PyObject *resultobj = 0;
32057 wxListView *arg1 = (wxListView *) 0 ;
32058 long result;
32059 void *argp1 = 0 ;
32060 int res1 = 0 ;
32061 PyObject *swig_obj[1] ;
32062
32063 if (!args) SWIG_fail;
32064 swig_obj[0] = args;
32065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32066 if (!SWIG_IsOK(res1)) {
32067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32068 }
32069 arg1 = reinterpret_cast< wxListView * >(argp1);
32070 {
32071 PyThreadState* __tstate = wxPyBeginAllowThreads();
32072 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32073 wxPyEndAllowThreads(__tstate);
32074 if (PyErr_Occurred()) SWIG_fail;
32075 }
32076 resultobj = SWIG_From_long(static_cast< long >(result));
32077 return resultobj;
32078fail:
32079 return NULL;
32080}
32081
32082
32083SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32084 PyObject *resultobj = 0;
32085 wxListView *arg1 = (wxListView *) 0 ;
32086 long arg2 ;
32087 long result;
32088 void *argp1 = 0 ;
32089 int res1 = 0 ;
32090 long val2 ;
32091 int ecode2 = 0 ;
32092 PyObject * obj0 = 0 ;
32093 PyObject * obj1 = 0 ;
32094 char * kwnames[] = {
32095 (char *) "self",(char *) "item", NULL
32096 };
32097
32098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32100 if (!SWIG_IsOK(res1)) {
32101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32102 }
32103 arg1 = reinterpret_cast< wxListView * >(argp1);
32104 ecode2 = SWIG_AsVal_long(obj1, &val2);
32105 if (!SWIG_IsOK(ecode2)) {
32106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32107 }
32108 arg2 = static_cast< long >(val2);
32109 {
32110 PyThreadState* __tstate = wxPyBeginAllowThreads();
32111 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 resultobj = SWIG_From_long(static_cast< long >(result));
32116 return resultobj;
32117fail:
32118 return NULL;
d55e5bfc
RD
32119}
32120
32121
1bd55598
RD
32122SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32123 PyObject *resultobj = 0;
32124 wxListView *arg1 = (wxListView *) 0 ;
32125 long result;
32126 void *argp1 = 0 ;
32127 int res1 = 0 ;
32128 PyObject *swig_obj[1] ;
32129
32130 if (!args) SWIG_fail;
32131 swig_obj[0] = args;
32132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32133 if (!SWIG_IsOK(res1)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32135 }
32136 arg1 = reinterpret_cast< wxListView * >(argp1);
32137 {
32138 PyThreadState* __tstate = wxPyBeginAllowThreads();
32139 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32140 wxPyEndAllowThreads(__tstate);
32141 if (PyErr_Occurred()) SWIG_fail;
32142 }
32143 resultobj = SWIG_From_long(static_cast< long >(result));
32144 return resultobj;
32145fail:
32146 return NULL;
32147}
32148
32149
32150SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32151 PyObject *resultobj = 0;
32152 wxListView *arg1 = (wxListView *) 0 ;
32153 long arg2 ;
32154 bool result;
32155 void *argp1 = 0 ;
32156 int res1 = 0 ;
32157 long val2 ;
32158 int ecode2 = 0 ;
32159 PyObject * obj0 = 0 ;
32160 PyObject * obj1 = 0 ;
32161 char * kwnames[] = {
32162 (char *) "self",(char *) "index", NULL
32163 };
32164
32165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32167 if (!SWIG_IsOK(res1)) {
32168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32169 }
32170 arg1 = reinterpret_cast< wxListView * >(argp1);
32171 ecode2 = SWIG_AsVal_long(obj1, &val2);
32172 if (!SWIG_IsOK(ecode2)) {
32173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32174 }
32175 arg2 = static_cast< long >(val2);
32176 {
32177 PyThreadState* __tstate = wxPyBeginAllowThreads();
32178 result = (bool)(arg1)->IsSelected(arg2);
32179 wxPyEndAllowThreads(__tstate);
32180 if (PyErr_Occurred()) SWIG_fail;
32181 }
32182 {
32183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32184 }
32185 return resultobj;
32186fail:
32187 return NULL;
32188}
32189
32190
32191SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32192 PyObject *resultobj = 0;
32193 wxListView *arg1 = (wxListView *) 0 ;
32194 int arg2 ;
32195 int arg3 ;
32196 void *argp1 = 0 ;
32197 int res1 = 0 ;
32198 int val2 ;
32199 int ecode2 = 0 ;
32200 int val3 ;
32201 int ecode3 = 0 ;
32202 PyObject * obj0 = 0 ;
32203 PyObject * obj1 = 0 ;
32204 PyObject * obj2 = 0 ;
32205 char * kwnames[] = {
32206 (char *) "self",(char *) "col",(char *) "image", NULL
32207 };
32208
32209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32211 if (!SWIG_IsOK(res1)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32213 }
32214 arg1 = reinterpret_cast< wxListView * >(argp1);
32215 ecode2 = SWIG_AsVal_int(obj1, &val2);
32216 if (!SWIG_IsOK(ecode2)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32218 }
32219 arg2 = static_cast< int >(val2);
32220 ecode3 = SWIG_AsVal_int(obj2, &val3);
32221 if (!SWIG_IsOK(ecode3)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32223 }
32224 arg3 = static_cast< int >(val3);
32225 {
32226 PyThreadState* __tstate = wxPyBeginAllowThreads();
32227 (arg1)->SetColumnImage(arg2,arg3);
32228 wxPyEndAllowThreads(__tstate);
32229 if (PyErr_Occurred()) SWIG_fail;
32230 }
32231 resultobj = SWIG_Py_Void();
32232 return resultobj;
32233fail:
32234 return NULL;
32235}
32236
32237
32238SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32239 PyObject *resultobj = 0;
32240 wxListView *arg1 = (wxListView *) 0 ;
32241 int arg2 ;
32242 void *argp1 = 0 ;
32243 int res1 = 0 ;
32244 int val2 ;
32245 int ecode2 = 0 ;
32246 PyObject * obj0 = 0 ;
32247 PyObject * obj1 = 0 ;
32248 char * kwnames[] = {
32249 (char *) "self",(char *) "col", NULL
32250 };
32251
32252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32254 if (!SWIG_IsOK(res1)) {
32255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32256 }
32257 arg1 = reinterpret_cast< wxListView * >(argp1);
32258 ecode2 = SWIG_AsVal_int(obj1, &val2);
32259 if (!SWIG_IsOK(ecode2)) {
32260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32261 }
32262 arg2 = static_cast< int >(val2);
32263 {
32264 PyThreadState* __tstate = wxPyBeginAllowThreads();
32265 (arg1)->ClearColumnImage(arg2);
32266 wxPyEndAllowThreads(__tstate);
32267 if (PyErr_Occurred()) SWIG_fail;
32268 }
32269 resultobj = SWIG_Py_Void();
32270 return resultobj;
32271fail:
32272 return NULL;
d55e5bfc
RD
32273}
32274
32275
1bd55598
RD
32276SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32277 PyObject *obj;
32278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32279 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32280 return SWIG_Py_Void();
d55e5bfc
RD
32281}
32282
1bd55598
RD
32283SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32284 return SWIG_Python_InitShadowInstance(args);
32285}
d55e5bfc 32286
1bd55598
RD
32287SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32288 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32289 return 1;
d55e5bfc
RD
32290}
32291
32292
1bd55598
RD
32293SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32294 PyObject *pyobj = 0;
32295
32296 {
32297#if wxUSE_UNICODE
32298 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32299#else
32300 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32301#endif
32302 }
32303 return pyobj;
d55e5bfc
RD
32304}
32305
32306
1bd55598
RD
32307SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32308 PyObject *resultobj = 0;
32309 wxTreeItemId *result = 0 ;
32310
32311 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32312 {
32313 PyThreadState* __tstate = wxPyBeginAllowThreads();
32314 result = (wxTreeItemId *)new wxTreeItemId();
32315 wxPyEndAllowThreads(__tstate);
32316 if (PyErr_Occurred()) SWIG_fail;
32317 }
32318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32319 return resultobj;
32320fail:
32321 return NULL;
d55e5bfc
RD
32322}
32323
32324
1bd55598
RD
32325SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32326 PyObject *resultobj = 0;
32327 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32328 void *argp1 = 0 ;
32329 int res1 = 0 ;
32330 PyObject *swig_obj[1] ;
32331
32332 if (!args) SWIG_fail;
32333 swig_obj[0] = args;
32334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32335 if (!SWIG_IsOK(res1)) {
32336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32337 }
32338 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32339 {
32340 PyThreadState* __tstate = wxPyBeginAllowThreads();
32341 delete arg1;
d55e5bfc 32342
1bd55598
RD
32343 wxPyEndAllowThreads(__tstate);
32344 if (PyErr_Occurred()) SWIG_fail;
32345 }
32346 resultobj = SWIG_Py_Void();
32347 return resultobj;
32348fail:
32349 return NULL;
d55e5bfc
RD
32350}
32351
32352
1bd55598
RD
32353SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32354 PyObject *resultobj = 0;
32355 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32356 bool result;
32357 void *argp1 = 0 ;
32358 int res1 = 0 ;
32359 PyObject *swig_obj[1] ;
32360
32361 if (!args) SWIG_fail;
32362 swig_obj[0] = args;
32363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32364 if (!SWIG_IsOK(res1)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32366 }
32367 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32368 {
32369 PyThreadState* __tstate = wxPyBeginAllowThreads();
32370 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32371 wxPyEndAllowThreads(__tstate);
32372 if (PyErr_Occurred()) SWIG_fail;
32373 }
32374 {
32375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32376 }
32377 return resultobj;
32378fail:
32379 return NULL;
32380}
32381
32382
32383SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32384 PyObject *resultobj = 0;
32385 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32386 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32387 bool result;
32388 void *argp1 = 0 ;
32389 int res1 = 0 ;
32390 void *argp2 = 0 ;
32391 int res2 = 0 ;
32392 PyObject * obj0 = 0 ;
32393 PyObject * obj1 = 0 ;
32394 char * kwnames[] = {
32395 (char *) "self",(char *) "other", NULL
32396 };
32397
32398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32400 if (!SWIG_IsOK(res1)) {
32401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32402 }
32403 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32405 if (!SWIG_IsOK(res2)) {
32406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32407 }
32408 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32409 {
32410 PyThreadState* __tstate = wxPyBeginAllowThreads();
32411 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32412 wxPyEndAllowThreads(__tstate);
32413 if (PyErr_Occurred()) SWIG_fail;
32414 }
32415 {
32416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32417 }
32418 return resultobj;
32419fail:
32420 return NULL;
32421}
32422
32423
32424SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32425 PyObject *resultobj = 0;
32426 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32427 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32428 bool result;
32429 void *argp1 = 0 ;
32430 int res1 = 0 ;
32431 void *argp2 = 0 ;
32432 int res2 = 0 ;
32433 PyObject * obj0 = 0 ;
32434 PyObject * obj1 = 0 ;
32435 char * kwnames[] = {
32436 (char *) "self",(char *) "other", NULL
32437 };
32438
32439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32441 if (!SWIG_IsOK(res1)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32443 }
32444 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32446 if (!SWIG_IsOK(res2)) {
32447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32448 }
32449 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32450 {
32451 PyThreadState* __tstate = wxPyBeginAllowThreads();
32452 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32453 wxPyEndAllowThreads(__tstate);
32454 if (PyErr_Occurred()) SWIG_fail;
32455 }
32456 {
32457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32458 }
32459 return resultobj;
32460fail:
32461 return NULL;
d55e5bfc
RD
32462}
32463
32464
1bd55598
RD
32465SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32466 PyObject *resultobj = 0;
32467 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32468 void *arg2 = (void *) 0 ;
32469 void *argp1 = 0 ;
32470 int res1 = 0 ;
32471 int res2 ;
32472 PyObject *swig_obj[2] ;
32473
32474 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32476 if (!SWIG_IsOK(res1)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32478 }
32479 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32480 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32481 if (!SWIG_IsOK(res2)) {
32482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32483 }
32484 if (arg1) (arg1)->m_pItem = arg2;
32485
32486 resultobj = SWIG_Py_Void();
32487 return resultobj;
32488fail:
32489 return NULL;
d55e5bfc
RD
32490}
32491
32492
1bd55598
RD
32493SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32494 PyObject *resultobj = 0;
32495 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32496 void *result = 0 ;
32497 void *argp1 = 0 ;
32498 int res1 = 0 ;
32499 PyObject *swig_obj[1] ;
32500
32501 if (!args) SWIG_fail;
32502 swig_obj[0] = args;
32503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32504 if (!SWIG_IsOK(res1)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32506 }
32507 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32508 result = (void *) ((arg1)->m_pItem);
32509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32510 return resultobj;
32511fail:
32512 return NULL;
d55e5bfc
RD
32513}
32514
32515
1bd55598
RD
32516SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32517 PyObject *obj;
32518 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32519 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32520 return SWIG_Py_Void();
d55e5bfc
RD
32521}
32522
1bd55598
RD
32523SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32524 return SWIG_Python_InitShadowInstance(args);
32525}
d55e5bfc 32526
1bd55598
RD
32527SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32528 PyObject *resultobj = 0;
32529 PyObject *arg1 = (PyObject *) NULL ;
32530 wxPyTreeItemData *result = 0 ;
32531 PyObject * obj0 = 0 ;
32532 char * kwnames[] = {
32533 (char *) "obj", NULL
32534 };
32535
32536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32537 if (obj0) {
32538 arg1 = obj0;
32539 }
32540 {
32541 PyThreadState* __tstate = wxPyBeginAllowThreads();
32542 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32543 wxPyEndAllowThreads(__tstate);
32544 if (PyErr_Occurred()) SWIG_fail;
32545 }
32546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32547 return resultobj;
32548fail:
32549 return NULL;
d55e5bfc
RD
32550}
32551
32552
1bd55598
RD
32553SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32554 PyObject *resultobj = 0;
32555 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32556 void *argp1 = 0 ;
32557 int res1 = 0 ;
32558 PyObject *swig_obj[1] ;
32559
32560 if (!args) SWIG_fail;
32561 swig_obj[0] = args;
32562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32563 if (!SWIG_IsOK(res1)) {
32564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32565 }
32566 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32567 {
32568 PyThreadState* __tstate = wxPyBeginAllowThreads();
32569 delete arg1;
d55e5bfc 32570
1bd55598
RD
32571 wxPyEndAllowThreads(__tstate);
32572 if (PyErr_Occurred()) SWIG_fail;
32573 }
32574 resultobj = SWIG_Py_Void();
32575 return resultobj;
32576fail:
32577 return NULL;
d55e5bfc
RD
32578}
32579
32580
1bd55598
RD
32581SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32582 PyObject *resultobj = 0;
32583 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32584 PyObject *result = 0 ;
32585 void *argp1 = 0 ;
32586 int res1 = 0 ;
32587 PyObject *swig_obj[1] ;
32588
32589 if (!args) SWIG_fail;
32590 swig_obj[0] = args;
32591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32592 if (!SWIG_IsOK(res1)) {
32593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32594 }
32595 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32596 {
32597 PyThreadState* __tstate = wxPyBeginAllowThreads();
32598 result = (PyObject *)(arg1)->GetData();
32599 wxPyEndAllowThreads(__tstate);
32600 if (PyErr_Occurred()) SWIG_fail;
32601 }
32602 resultobj = result;
32603 return resultobj;
32604fail:
32605 return NULL;
32606}
32607
32608
32609SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32610 PyObject *resultobj = 0;
32611 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32612 PyObject *arg2 = (PyObject *) 0 ;
32613 void *argp1 = 0 ;
32614 int res1 = 0 ;
32615 PyObject * obj0 = 0 ;
32616 PyObject * obj1 = 0 ;
32617 char * kwnames[] = {
32618 (char *) "self",(char *) "obj", NULL
32619 };
32620
32621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32623 if (!SWIG_IsOK(res1)) {
32624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32625 }
32626 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32627 arg2 = obj1;
32628 {
32629 PyThreadState* __tstate = wxPyBeginAllowThreads();
32630 (arg1)->SetData(arg2);
32631 wxPyEndAllowThreads(__tstate);
32632 if (PyErr_Occurred()) SWIG_fail;
32633 }
32634 resultobj = SWIG_Py_Void();
32635 return resultobj;
32636fail:
32637 return NULL;
d55e5bfc
RD
32638}
32639
32640
1bd55598
RD
32641SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32642 PyObject *resultobj = 0;
32643 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32644 wxTreeItemId *result = 0 ;
32645 void *argp1 = 0 ;
32646 int res1 = 0 ;
32647 PyObject *swig_obj[1] ;
32648
32649 if (!args) SWIG_fail;
32650 swig_obj[0] = args;
32651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32652 if (!SWIG_IsOK(res1)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32654 }
32655 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32656 {
32657 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 32658 {
1bd55598
RD
32659 wxTreeItemId const &_result_ref = (arg1)->GetId();
32660 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 32661 }
1bd55598
RD
32662 wxPyEndAllowThreads(__tstate);
32663 if (PyErr_Occurred()) SWIG_fail;
32664 }
32665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32666 return resultobj;
32667fail:
32668 return NULL;
32669}
32670
32671
32672SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32673 PyObject *resultobj = 0;
32674 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32675 wxTreeItemId *arg2 = 0 ;
32676 void *argp1 = 0 ;
32677 int res1 = 0 ;
32678 void *argp2 = 0 ;
32679 int res2 = 0 ;
32680 PyObject * obj0 = 0 ;
32681 PyObject * obj1 = 0 ;
32682 char * kwnames[] = {
32683 (char *) "self",(char *) "id", NULL
32684 };
32685
32686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
32687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32688 if (!SWIG_IsOK(res1)) {
32689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32690 }
32691 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32692 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32693 if (!SWIG_IsOK(res2)) {
32694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32695 }
32696 if (!argp2) {
32697 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32698 }
32699 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32700 {
32701 PyThreadState* __tstate = wxPyBeginAllowThreads();
32702 (arg1)->SetId((wxTreeItemId const &)*arg2);
32703 wxPyEndAllowThreads(__tstate);
32704 if (PyErr_Occurred()) SWIG_fail;
32705 }
32706 resultobj = SWIG_Py_Void();
32707 return resultobj;
32708fail:
32709 return NULL;
d55e5bfc
RD
32710}
32711
32712
1bd55598
RD
32713SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32714 PyObject *resultobj = 0;
32715 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32716 void *argp1 = 0 ;
32717 int res1 = 0 ;
32718 PyObject *swig_obj[1] ;
32719
32720 if (!args) SWIG_fail;
32721 swig_obj[0] = args;
32722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32723 if (!SWIG_IsOK(res1)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32725 }
32726 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32727 {
32728 PyThreadState* __tstate = wxPyBeginAllowThreads();
32729 wxPyTreeItemData_Destroy(arg1);
32730 wxPyEndAllowThreads(__tstate);
32731 if (PyErr_Occurred()) SWIG_fail;
32732 }
32733 resultobj = SWIG_Py_Void();
32734 return resultobj;
32735fail:
32736 return NULL;
d55e5bfc
RD
32737}
32738
32739
1bd55598
RD
32740SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32741 PyObject *obj;
32742 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
32744 return SWIG_Py_Void();
d55e5bfc
RD
32745}
32746
1bd55598
RD
32747SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32748 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
32749}
32750
1bd55598
RD
32751SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32752 PyObject *resultobj = 0;
32753 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32754 int arg2 = (int) 0 ;
32755 wxTreeEvent *result = 0 ;
32756 int val1 ;
32757 int ecode1 = 0 ;
32758 int val2 ;
32759 int ecode2 = 0 ;
32760 PyObject * obj0 = 0 ;
32761 PyObject * obj1 = 0 ;
32762 char * kwnames[] = {
32763 (char *) "commandType",(char *) "id", NULL
32764 };
32765
32766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) SWIG_fail;
32767 if (obj0) {
32768 ecode1 = SWIG_AsVal_int(obj0, &val1);
32769 if (!SWIG_IsOK(ecode1)) {
32770 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32771 }
32772 arg1 = static_cast< wxEventType >(val1);
32773 }
32774 if (obj1) {
32775 ecode2 = SWIG_AsVal_int(obj1, &val2);
32776 if (!SWIG_IsOK(ecode2)) {
32777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32778 }
32779 arg2 = static_cast< int >(val2);
32780 }
32781 {
32782 PyThreadState* __tstate = wxPyBeginAllowThreads();
32783 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
32784 wxPyEndAllowThreads(__tstate);
32785 if (PyErr_Occurred()) SWIG_fail;
32786 }
32787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
32788 return resultobj;
32789fail:
32790 return NULL;
d55e5bfc
RD
32791}
32792
32793
1bd55598
RD
32794SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32795 PyObject *resultobj = 0;
32796 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32797 wxTreeItemId result;
32798 void *argp1 = 0 ;
32799 int res1 = 0 ;
32800 PyObject *swig_obj[1] ;
32801
32802 if (!args) SWIG_fail;
32803 swig_obj[0] = args;
32804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32805 if (!SWIG_IsOK(res1)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32807 }
32808 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32809 {
32810 PyThreadState* __tstate = wxPyBeginAllowThreads();
32811 result = ((wxTreeEvent const *)arg1)->GetItem();
32812 wxPyEndAllowThreads(__tstate);
32813 if (PyErr_Occurred()) SWIG_fail;
32814 }
32815 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32816 return resultobj;
32817fail:
32818 return NULL;
32819}
32820
32821
32822SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32823 PyObject *resultobj = 0;
32824 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32825 wxTreeItemId *arg2 = 0 ;
32826 void *argp1 = 0 ;
32827 int res1 = 0 ;
32828 void *argp2 = 0 ;
32829 int res2 = 0 ;
32830 PyObject * obj0 = 0 ;
32831 PyObject * obj1 = 0 ;
32832 char * kwnames[] = {
32833 (char *) "self",(char *) "item", NULL
32834 };
32835
32836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
32837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32838 if (!SWIG_IsOK(res1)) {
32839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32840 }
32841 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32842 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32843 if (!SWIG_IsOK(res2)) {
32844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32845 }
32846 if (!argp2) {
32847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32848 }
32849 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32850 {
32851 PyThreadState* __tstate = wxPyBeginAllowThreads();
32852 (arg1)->SetItem((wxTreeItemId const &)*arg2);
32853 wxPyEndAllowThreads(__tstate);
32854 if (PyErr_Occurred()) SWIG_fail;
32855 }
32856 resultobj = SWIG_Py_Void();
32857 return resultobj;
32858fail:
32859 return NULL;
d55e5bfc
RD
32860}
32861
32862
1bd55598
RD
32863SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32864 PyObject *resultobj = 0;
32865 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32866 wxTreeItemId result;
32867 void *argp1 = 0 ;
32868 int res1 = 0 ;
32869 PyObject *swig_obj[1] ;
32870
32871 if (!args) SWIG_fail;
32872 swig_obj[0] = args;
32873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32874 if (!SWIG_IsOK(res1)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32876 }
32877 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32878 {
32879 PyThreadState* __tstate = wxPyBeginAllowThreads();
32880 result = ((wxTreeEvent const *)arg1)->GetOldItem();
32881 wxPyEndAllowThreads(__tstate);
32882 if (PyErr_Occurred()) SWIG_fail;
32883 }
32884 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32885 return resultobj;
32886fail:
32887 return NULL;
32888}
32889
32890
32891SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32892 PyObject *resultobj = 0;
32893 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32894 wxTreeItemId *arg2 = 0 ;
32895 void *argp1 = 0 ;
32896 int res1 = 0 ;
32897 void *argp2 = 0 ;
32898 int res2 = 0 ;
32899 PyObject * obj0 = 0 ;
32900 PyObject * obj1 = 0 ;
32901 char * kwnames[] = {
32902 (char *) "self",(char *) "item", NULL
32903 };
32904
32905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
32906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32907 if (!SWIG_IsOK(res1)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32909 }
32910 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32911 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32912 if (!SWIG_IsOK(res2)) {
32913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32914 }
32915 if (!argp2) {
32916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32917 }
32918 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32919 {
32920 PyThreadState* __tstate = wxPyBeginAllowThreads();
32921 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
32922 wxPyEndAllowThreads(__tstate);
32923 if (PyErr_Occurred()) SWIG_fail;
32924 }
32925 resultobj = SWIG_Py_Void();
32926 return resultobj;
32927fail:
32928 return NULL;
d55e5bfc
RD
32929}
32930
32931
1bd55598
RD
32932SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32933 PyObject *resultobj = 0;
32934 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32935 wxPoint result;
32936 void *argp1 = 0 ;
32937 int res1 = 0 ;
32938 PyObject *swig_obj[1] ;
32939
32940 if (!args) SWIG_fail;
32941 swig_obj[0] = args;
32942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32943 if (!SWIG_IsOK(res1)) {
32944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32945 }
32946 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32947 {
32948 PyThreadState* __tstate = wxPyBeginAllowThreads();
32949 result = ((wxTreeEvent const *)arg1)->GetPoint();
32950 wxPyEndAllowThreads(__tstate);
32951 if (PyErr_Occurred()) SWIG_fail;
32952 }
32953 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
32954 return resultobj;
32955fail:
32956 return NULL;
32957}
32958
32959
32960SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32961 PyObject *resultobj = 0;
32962 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32963 wxPoint *arg2 = 0 ;
32964 void *argp1 = 0 ;
32965 int res1 = 0 ;
32966 wxPoint temp2 ;
32967 PyObject * obj0 = 0 ;
32968 PyObject * obj1 = 0 ;
32969 char * kwnames[] = {
32970 (char *) "self",(char *) "pt", NULL
32971 };
32972
32973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
32974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32975 if (!SWIG_IsOK(res1)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32977 }
32978 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32979 {
32980 arg2 = &temp2;
32981 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32982 }
32983 {
32984 PyThreadState* __tstate = wxPyBeginAllowThreads();
32985 (arg1)->SetPoint((wxPoint const &)*arg2);
32986 wxPyEndAllowThreads(__tstate);
32987 if (PyErr_Occurred()) SWIG_fail;
32988 }
32989 resultobj = SWIG_Py_Void();
32990 return resultobj;
32991fail:
32992 return NULL;
d55e5bfc
RD
32993}
32994
32995
1bd55598
RD
32996SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32997 PyObject *resultobj = 0;
32998 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32999 wxKeyEvent *result = 0 ;
33000 void *argp1 = 0 ;
33001 int res1 = 0 ;
33002 PyObject *swig_obj[1] ;
33003
33004 if (!args) SWIG_fail;
33005 swig_obj[0] = args;
33006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33007 if (!SWIG_IsOK(res1)) {
33008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33009 }
33010 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33011 {
33012 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33013 {
1bd55598
RD
33014 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33015 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33016 }
1bd55598
RD
33017 wxPyEndAllowThreads(__tstate);
33018 if (PyErr_Occurred()) SWIG_fail;
33019 }
33020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33021 return resultobj;
33022fail:
33023 return NULL;
d55e5bfc
RD
33024}
33025
33026
1bd55598
RD
33027SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33028 PyObject *resultobj = 0;
33029 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33030 int result;
33031 void *argp1 = 0 ;
33032 int res1 = 0 ;
33033 PyObject *swig_obj[1] ;
33034
33035 if (!args) SWIG_fail;
33036 swig_obj[0] = args;
33037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33038 if (!SWIG_IsOK(res1)) {
33039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33040 }
33041 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33042 {
33043 PyThreadState* __tstate = wxPyBeginAllowThreads();
33044 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33045 wxPyEndAllowThreads(__tstate);
33046 if (PyErr_Occurred()) SWIG_fail;
33047 }
33048 resultobj = SWIG_From_int(static_cast< int >(result));
33049 return resultobj;
33050fail:
33051 return NULL;
33052}
33053
33054
33055SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33056 PyObject *resultobj = 0;
33057 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33058 wxKeyEvent *arg2 = 0 ;
33059 void *argp1 = 0 ;
33060 int res1 = 0 ;
33061 void *argp2 = 0 ;
33062 int res2 = 0 ;
33063 PyObject * obj0 = 0 ;
33064 PyObject * obj1 = 0 ;
33065 char * kwnames[] = {
33066 (char *) "self",(char *) "evt", NULL
33067 };
33068
33069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33071 if (!SWIG_IsOK(res1)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33073 }
33074 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33076 if (!SWIG_IsOK(res2)) {
33077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33078 }
33079 if (!argp2) {
33080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33081 }
33082 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33083 {
33084 PyThreadState* __tstate = wxPyBeginAllowThreads();
33085 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33086 wxPyEndAllowThreads(__tstate);
33087 if (PyErr_Occurred()) SWIG_fail;
33088 }
33089 resultobj = SWIG_Py_Void();
33090 return resultobj;
33091fail:
33092 return NULL;
d55e5bfc
RD
33093}
33094
33095
1bd55598
RD
33096SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33097 PyObject *resultobj = 0;
33098 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33099 wxString *result = 0 ;
33100 void *argp1 = 0 ;
33101 int res1 = 0 ;
33102 PyObject *swig_obj[1] ;
33103
33104 if (!args) SWIG_fail;
33105 swig_obj[0] = args;
33106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33107 if (!SWIG_IsOK(res1)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33109 }
33110 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33111 {
33112 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33113 {
1bd55598
RD
33114 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33115 result = (wxString *) &_result_ref;
d55e5bfc 33116 }
1bd55598
RD
33117 wxPyEndAllowThreads(__tstate);
33118 if (PyErr_Occurred()) SWIG_fail;
33119 }
33120 {
33121#if wxUSE_UNICODE
33122 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33123#else
33124 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33125#endif
33126 }
33127 return resultobj;
33128fail:
33129 return NULL;
33130}
33131
33132
33133SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33134 PyObject *resultobj = 0;
33135 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33136 wxString *arg2 = 0 ;
33137 void *argp1 = 0 ;
33138 int res1 = 0 ;
33139 bool temp2 = false ;
33140 PyObject * obj0 = 0 ;
33141 PyObject * obj1 = 0 ;
33142 char * kwnames[] = {
33143 (char *) "self",(char *) "label", NULL
33144 };
33145
33146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33148 if (!SWIG_IsOK(res1)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33150 }
33151 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33152 {
33153 arg2 = wxString_in_helper(obj1);
33154 if (arg2 == NULL) SWIG_fail;
33155 temp2 = true;
33156 }
33157 {
33158 PyThreadState* __tstate = wxPyBeginAllowThreads();
33159 (arg1)->SetLabel((wxString const &)*arg2);
33160 wxPyEndAllowThreads(__tstate);
33161 if (PyErr_Occurred()) SWIG_fail;
33162 }
33163 resultobj = SWIG_Py_Void();
33164 {
33165 if (temp2)
33166 delete arg2;
33167 }
33168 return resultobj;
33169fail:
33170 {
33171 if (temp2)
33172 delete arg2;
33173 }
33174 return NULL;
d55e5bfc
RD
33175}
33176
33177
1bd55598
RD
33178SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33179 PyObject *resultobj = 0;
33180 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33181 bool result;
33182 void *argp1 = 0 ;
33183 int res1 = 0 ;
33184 PyObject *swig_obj[1] ;
33185
33186 if (!args) SWIG_fail;
33187 swig_obj[0] = args;
33188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33189 if (!SWIG_IsOK(res1)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33191 }
33192 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33193 {
33194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33195 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33196 wxPyEndAllowThreads(__tstate);
33197 if (PyErr_Occurred()) SWIG_fail;
33198 }
33199 {
33200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33201 }
33202 return resultobj;
33203fail:
33204 return NULL;
33205}
33206
33207
33208SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33209 PyObject *resultobj = 0;
33210 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33211 bool arg2 ;
33212 void *argp1 = 0 ;
33213 int res1 = 0 ;
33214 bool val2 ;
33215 int ecode2 = 0 ;
33216 PyObject * obj0 = 0 ;
33217 PyObject * obj1 = 0 ;
33218 char * kwnames[] = {
33219 (char *) "self",(char *) "editCancelled", NULL
33220 };
33221
33222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33224 if (!SWIG_IsOK(res1)) {
33225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33226 }
33227 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33228 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33229 if (!SWIG_IsOK(ecode2)) {
33230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33231 }
33232 arg2 = static_cast< bool >(val2);
33233 {
33234 PyThreadState* __tstate = wxPyBeginAllowThreads();
33235 (arg1)->SetEditCanceled(arg2);
33236 wxPyEndAllowThreads(__tstate);
33237 if (PyErr_Occurred()) SWIG_fail;
33238 }
33239 resultobj = SWIG_Py_Void();
33240 return resultobj;
33241fail:
33242 return NULL;
33243}
33244
33245
33246SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33247 PyObject *resultobj = 0;
33248 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33249 wxString *arg2 = 0 ;
33250 void *argp1 = 0 ;
33251 int res1 = 0 ;
33252 bool temp2 = false ;
33253 PyObject * obj0 = 0 ;
33254 PyObject * obj1 = 0 ;
33255 char * kwnames[] = {
33256 (char *) "self",(char *) "toolTip", NULL
33257 };
33258
33259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33261 if (!SWIG_IsOK(res1)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33263 }
33264 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33265 {
33266 arg2 = wxString_in_helper(obj1);
33267 if (arg2 == NULL) SWIG_fail;
33268 temp2 = true;
33269 }
33270 {
33271 PyThreadState* __tstate = wxPyBeginAllowThreads();
33272 (arg1)->SetToolTip((wxString const &)*arg2);
33273 wxPyEndAllowThreads(__tstate);
33274 if (PyErr_Occurred()) SWIG_fail;
33275 }
33276 resultobj = SWIG_Py_Void();
33277 {
33278 if (temp2)
33279 delete arg2;
33280 }
33281 return resultobj;
33282fail:
33283 {
33284 if (temp2)
33285 delete arg2;
33286 }
33287 return NULL;
d55e5bfc
RD
33288}
33289
33290
1bd55598
RD
33291SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33292 PyObject *resultobj = 0;
33293 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33294 wxString result;
33295 void *argp1 = 0 ;
33296 int res1 = 0 ;
33297 PyObject *swig_obj[1] ;
33298
33299 if (!args) SWIG_fail;
33300 swig_obj[0] = args;
33301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33302 if (!SWIG_IsOK(res1)) {
33303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33304 }
33305 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33306 {
33307 PyThreadState* __tstate = wxPyBeginAllowThreads();
33308 result = (arg1)->GetToolTip();
33309 wxPyEndAllowThreads(__tstate);
33310 if (PyErr_Occurred()) SWIG_fail;
33311 }
33312 {
33313#if wxUSE_UNICODE
33314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33315#else
33316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33317#endif
33318 }
33319 return resultobj;
33320fail:
33321 return NULL;
33322}
33323
33324
33325SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33326 PyObject *obj;
33327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33328 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33329 return SWIG_Py_Void();
33330}
33331
33332SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33333 return SWIG_Python_InitShadowInstance(args);
33334}
33335
33336SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33337 PyObject *resultobj = 0;
33338 wxWindow *arg1 = (wxWindow *) 0 ;
33339 int arg2 = (int) -1 ;
33340 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33341 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33342 wxSize const &arg4_defvalue = wxDefaultSize ;
33343 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33344 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33345 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33346 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33347 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33348 wxString *arg7 = (wxString *) &arg7_defvalue ;
33349 wxPyTreeCtrl *result = 0 ;
33350 void *argp1 = 0 ;
33351 int res1 = 0 ;
33352 int val2 ;
33353 int ecode2 = 0 ;
33354 wxPoint temp3 ;
33355 wxSize temp4 ;
33356 long val5 ;
33357 int ecode5 = 0 ;
33358 void *argp6 = 0 ;
33359 int res6 = 0 ;
33360 bool temp7 = false ;
33361 PyObject * obj0 = 0 ;
33362 PyObject * obj1 = 0 ;
33363 PyObject * obj2 = 0 ;
33364 PyObject * obj3 = 0 ;
33365 PyObject * obj4 = 0 ;
33366 PyObject * obj5 = 0 ;
33367 PyObject * obj6 = 0 ;
33368 char * kwnames[] = {
33369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33370 };
33371
33372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33374 if (!SWIG_IsOK(res1)) {
33375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33376 }
33377 arg1 = reinterpret_cast< wxWindow * >(argp1);
33378 if (obj1) {
33379 ecode2 = SWIG_AsVal_int(obj1, &val2);
33380 if (!SWIG_IsOK(ecode2)) {
33381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33382 }
33383 arg2 = static_cast< int >(val2);
33384 }
33385 if (obj2) {
d55e5bfc 33386 {
1bd55598
RD
33387 arg3 = &temp3;
33388 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33389 }
1bd55598
RD
33390 }
33391 if (obj3) {
36ed4f51 33392 {
1bd55598
RD
33393 arg4 = &temp4;
33394 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33395 }
1bd55598
RD
33396 }
33397 if (obj4) {
33398 ecode5 = SWIG_AsVal_long(obj4, &val5);
33399 if (!SWIG_IsOK(ecode5)) {
33400 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33401 }
33402 arg5 = static_cast< long >(val5);
33403 }
33404 if (obj5) {
33405 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33406 if (!SWIG_IsOK(res6)) {
33407 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33408 }
1bd55598
RD
33409 if (!argp6) {
33410 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33411 }
1bd55598
RD
33412 arg6 = reinterpret_cast< wxValidator * >(argp6);
33413 }
33414 if (obj6) {
d55e5bfc 33415 {
1bd55598
RD
33416 arg7 = wxString_in_helper(obj6);
33417 if (arg7 == NULL) SWIG_fail;
33418 temp7 = true;
d55e5bfc 33419 }
1bd55598
RD
33420 }
33421 {
33422 if (!wxPyCheckForApp()) SWIG_fail;
33423 PyThreadState* __tstate = wxPyBeginAllowThreads();
33424 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33425 wxPyEndAllowThreads(__tstate);
33426 if (PyErr_Occurred()) SWIG_fail;
33427 }
33428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33429 {
33430 if (temp7)
33431 delete arg7;
33432 }
33433 return resultobj;
33434fail:
33435 {
33436 if (temp7)
33437 delete arg7;
33438 }
33439 return NULL;
33440}
33441
33442
33443SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33444 PyObject *resultobj = 0;
33445 wxPyTreeCtrl *result = 0 ;
33446
33447 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33448 {
33449 if (!wxPyCheckForApp()) SWIG_fail;
33450 PyThreadState* __tstate = wxPyBeginAllowThreads();
33451 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33452 wxPyEndAllowThreads(__tstate);
33453 if (PyErr_Occurred()) SWIG_fail;
33454 }
33455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33456 return resultobj;
33457fail:
33458 return NULL;
33459}
33460
33461
33462SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33463 PyObject *resultobj = 0;
33464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33465 wxWindow *arg2 = (wxWindow *) 0 ;
33466 int arg3 = (int) -1 ;
33467 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33468 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33469 wxSize const &arg5_defvalue = wxDefaultSize ;
33470 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33471 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33472 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33473 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33474 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33475 wxString *arg8 = (wxString *) &arg8_defvalue ;
33476 bool result;
33477 void *argp1 = 0 ;
33478 int res1 = 0 ;
33479 void *argp2 = 0 ;
33480 int res2 = 0 ;
33481 int val3 ;
33482 int ecode3 = 0 ;
33483 wxPoint temp4 ;
33484 wxSize temp5 ;
33485 long val6 ;
33486 int ecode6 = 0 ;
33487 void *argp7 = 0 ;
33488 int res7 = 0 ;
33489 bool temp8 = false ;
33490 PyObject * obj0 = 0 ;
33491 PyObject * obj1 = 0 ;
33492 PyObject * obj2 = 0 ;
33493 PyObject * obj3 = 0 ;
33494 PyObject * obj4 = 0 ;
33495 PyObject * obj5 = 0 ;
33496 PyObject * obj6 = 0 ;
33497 PyObject * obj7 = 0 ;
33498 char * kwnames[] = {
33499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33500 };
33501
33502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33504 if (!SWIG_IsOK(res1)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33506 }
33507 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33508 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33509 if (!SWIG_IsOK(res2)) {
33510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33511 }
33512 arg2 = reinterpret_cast< wxWindow * >(argp2);
33513 if (obj2) {
33514 ecode3 = SWIG_AsVal_int(obj2, &val3);
33515 if (!SWIG_IsOK(ecode3)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33517 }
33518 arg3 = static_cast< int >(val3);
33519 }
33520 if (obj3) {
d55e5bfc 33521 {
1bd55598
RD
33522 arg4 = &temp4;
33523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33524 }
1bd55598
RD
33525 }
33526 if (obj4) {
d55e5bfc 33527 {
1bd55598
RD
33528 arg5 = &temp5;
33529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 33530 }
1bd55598
RD
33531 }
33532 if (obj5) {
33533 ecode6 = SWIG_AsVal_long(obj5, &val6);
33534 if (!SWIG_IsOK(ecode6)) {
33535 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33536 }
33537 arg6 = static_cast< long >(val6);
33538 }
33539 if (obj6) {
33540 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
33541 if (!SWIG_IsOK(res7)) {
33542 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33543 }
1bd55598
RD
33544 if (!argp7) {
33545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33546 }
1bd55598
RD
33547 arg7 = reinterpret_cast< wxValidator * >(argp7);
33548 }
33549 if (obj7) {
d55e5bfc 33550 {
1bd55598
RD
33551 arg8 = wxString_in_helper(obj7);
33552 if (arg8 == NULL) SWIG_fail;
33553 temp8 = true;
d55e5bfc 33554 }
1bd55598
RD
33555 }
33556 {
33557 PyThreadState* __tstate = wxPyBeginAllowThreads();
33558 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33559 wxPyEndAllowThreads(__tstate);
33560 if (PyErr_Occurred()) SWIG_fail;
33561 }
33562 {
33563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33564 }
33565 {
33566 if (temp8)
33567 delete arg8;
33568 }
33569 return resultobj;
33570fail:
33571 {
33572 if (temp8)
33573 delete arg8;
33574 }
33575 return NULL;
33576}
33577
33578
33579SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33580 PyObject *resultobj = 0;
33581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33582 PyObject *arg2 = (PyObject *) 0 ;
33583 PyObject *arg3 = (PyObject *) 0 ;
33584 void *argp1 = 0 ;
33585 int res1 = 0 ;
33586 PyObject * obj0 = 0 ;
33587 PyObject * obj1 = 0 ;
33588 PyObject * obj2 = 0 ;
33589 char * kwnames[] = {
33590 (char *) "self",(char *) "self",(char *) "_class", NULL
33591 };
33592
33593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33595 if (!SWIG_IsOK(res1)) {
33596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33597 }
33598 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33599 arg2 = obj1;
33600 arg3 = obj2;
33601 {
33602 PyThreadState* __tstate = wxPyBeginAllowThreads();
33603 (arg1)->_setCallbackInfo(arg2,arg3);
33604 wxPyEndAllowThreads(__tstate);
33605 if (PyErr_Occurred()) SWIG_fail;
33606 }
33607 resultobj = SWIG_Py_Void();
33608 return resultobj;
33609fail:
33610 return NULL;
d55e5bfc
RD
33611}
33612
33613
1bd55598
RD
33614SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33615 PyObject *resultobj = 0;
33616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 33617 unsigned int result;
1bd55598
RD
33618 void *argp1 = 0 ;
33619 int res1 = 0 ;
33620 PyObject *swig_obj[1] ;
33621
33622 if (!args) SWIG_fail;
33623 swig_obj[0] = args;
33624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33625 if (!SWIG_IsOK(res1)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33627 }
33628 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33629 {
33630 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 33631 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
1bd55598
RD
33632 wxPyEndAllowThreads(__tstate);
33633 if (PyErr_Occurred()) SWIG_fail;
33634 }
e9d6f3a4 33635 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
33636 return resultobj;
33637fail:
33638 return NULL;
d55e5bfc
RD
33639}
33640
33641
1bd55598
RD
33642SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33643 PyObject *resultobj = 0;
33644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33645 unsigned int result;
33646 void *argp1 = 0 ;
33647 int res1 = 0 ;
33648 PyObject *swig_obj[1] ;
33649
33650 if (!args) SWIG_fail;
33651 swig_obj[0] = args;
33652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33653 if (!SWIG_IsOK(res1)) {
33654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33655 }
33656 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33657 {
33658 PyThreadState* __tstate = wxPyBeginAllowThreads();
33659 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
33660 wxPyEndAllowThreads(__tstate);
33661 if (PyErr_Occurred()) SWIG_fail;
33662 }
33663 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33664 return resultobj;
33665fail:
33666 return NULL;
33667}
33668
33669
33670SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33671 PyObject *resultobj = 0;
33672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33673 unsigned int arg2 ;
33674 void *argp1 = 0 ;
33675 int res1 = 0 ;
33676 unsigned int val2 ;
33677 int ecode2 = 0 ;
33678 PyObject * obj0 = 0 ;
33679 PyObject * obj1 = 0 ;
33680 char * kwnames[] = {
33681 (char *) "self",(char *) "indent", NULL
33682 };
33683
33684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
33685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33686 if (!SWIG_IsOK(res1)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33688 }
33689 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33690 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33691 if (!SWIG_IsOK(ecode2)) {
33692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33693 }
33694 arg2 = static_cast< unsigned int >(val2);
33695 {
33696 PyThreadState* __tstate = wxPyBeginAllowThreads();
33697 (arg1)->SetIndent(arg2);
33698 wxPyEndAllowThreads(__tstate);
33699 if (PyErr_Occurred()) SWIG_fail;
33700 }
33701 resultobj = SWIG_Py_Void();
33702 return resultobj;
33703fail:
33704 return NULL;
d55e5bfc
RD
33705}
33706
33707
1bd55598
RD
33708SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33709 PyObject *resultobj = 0;
33710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33711 unsigned int result;
33712 void *argp1 = 0 ;
33713 int res1 = 0 ;
33714 PyObject *swig_obj[1] ;
33715
33716 if (!args) SWIG_fail;
33717 swig_obj[0] = args;
33718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33719 if (!SWIG_IsOK(res1)) {
33720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33721 }
33722 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33723 {
33724 PyThreadState* __tstate = wxPyBeginAllowThreads();
33725 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
33726 wxPyEndAllowThreads(__tstate);
33727 if (PyErr_Occurred()) SWIG_fail;
33728 }
33729 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33730 return resultobj;
33731fail:
33732 return NULL;
33733}
33734
33735
33736SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33737 PyObject *resultobj = 0;
33738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33739 unsigned int arg2 ;
33740 void *argp1 = 0 ;
33741 int res1 = 0 ;
33742 unsigned int val2 ;
33743 int ecode2 = 0 ;
33744 PyObject * obj0 = 0 ;
33745 PyObject * obj1 = 0 ;
33746 char * kwnames[] = {
33747 (char *) "self",(char *) "spacing", NULL
33748 };
33749
33750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
33751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33752 if (!SWIG_IsOK(res1)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33754 }
33755 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33756 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33757 if (!SWIG_IsOK(ecode2)) {
33758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33759 }
33760 arg2 = static_cast< unsigned int >(val2);
33761 {
33762 PyThreadState* __tstate = wxPyBeginAllowThreads();
33763 (arg1)->SetSpacing(arg2);
33764 wxPyEndAllowThreads(__tstate);
33765 if (PyErr_Occurred()) SWIG_fail;
33766 }
33767 resultobj = SWIG_Py_Void();
33768 return resultobj;
33769fail:
33770 return NULL;
d55e5bfc
RD
33771}
33772
33773
1bd55598
RD
33774SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33775 PyObject *resultobj = 0;
33776 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33777 wxImageList *result = 0 ;
33778 void *argp1 = 0 ;
33779 int res1 = 0 ;
33780 PyObject *swig_obj[1] ;
33781
33782 if (!args) SWIG_fail;
33783 swig_obj[0] = args;
33784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33785 if (!SWIG_IsOK(res1)) {
33786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33787 }
33788 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33789 {
33790 PyThreadState* __tstate = wxPyBeginAllowThreads();
33791 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
33792 wxPyEndAllowThreads(__tstate);
33793 if (PyErr_Occurred()) SWIG_fail;
33794 }
33795 {
33796 resultobj = wxPyMake_wxObject(result, (bool)0);
33797 }
33798 return resultobj;
33799fail:
33800 return NULL;
d55e5bfc
RD
33801}
33802
33803
1bd55598
RD
33804SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33805 PyObject *resultobj = 0;
33806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33807 wxImageList *result = 0 ;
33808 void *argp1 = 0 ;
33809 int res1 = 0 ;
33810 PyObject *swig_obj[1] ;
33811
33812 if (!args) SWIG_fail;
33813 swig_obj[0] = args;
33814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33815 if (!SWIG_IsOK(res1)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33817 }
33818 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33819 {
33820 PyThreadState* __tstate = wxPyBeginAllowThreads();
33821 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
33822 wxPyEndAllowThreads(__tstate);
33823 if (PyErr_Occurred()) SWIG_fail;
33824 }
33825 {
33826 resultobj = wxPyMake_wxObject(result, (bool)0);
33827 }
33828 return resultobj;
33829fail:
33830 return NULL;
33831}
33832
33833
33834SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33835 PyObject *resultobj = 0;
33836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33837 wxImageList *arg2 = (wxImageList *) 0 ;
33838 void *argp1 = 0 ;
33839 int res1 = 0 ;
33840 void *argp2 = 0 ;
33841 int res2 = 0 ;
33842 PyObject * obj0 = 0 ;
33843 PyObject * obj1 = 0 ;
33844 char * kwnames[] = {
33845 (char *) "self",(char *) "imageList", NULL
33846 };
33847
33848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33850 if (!SWIG_IsOK(res1)) {
33851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33852 }
33853 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33854 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33855 if (!SWIG_IsOK(res2)) {
33856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33857 }
33858 arg2 = reinterpret_cast< wxImageList * >(argp2);
33859 {
33860 PyThreadState* __tstate = wxPyBeginAllowThreads();
33861 (arg1)->SetImageList(arg2);
33862 wxPyEndAllowThreads(__tstate);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 }
33865 resultobj = SWIG_Py_Void();
33866 return resultobj;
33867fail:
33868 return NULL;
33869}
33870
33871
33872SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33873 PyObject *resultobj = 0;
33874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33875 wxImageList *arg2 = (wxImageList *) 0 ;
33876 void *argp1 = 0 ;
33877 int res1 = 0 ;
33878 void *argp2 = 0 ;
33879 int res2 = 0 ;
33880 PyObject * obj0 = 0 ;
33881 PyObject * obj1 = 0 ;
33882 char * kwnames[] = {
33883 (char *) "self",(char *) "imageList", NULL
33884 };
33885
33886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33888 if (!SWIG_IsOK(res1)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33890 }
33891 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33893 if (!SWIG_IsOK(res2)) {
33894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33895 }
33896 arg2 = reinterpret_cast< wxImageList * >(argp2);
33897 {
33898 PyThreadState* __tstate = wxPyBeginAllowThreads();
33899 (arg1)->SetStateImageList(arg2);
33900 wxPyEndAllowThreads(__tstate);
33901 if (PyErr_Occurred()) SWIG_fail;
33902 }
33903 resultobj = SWIG_Py_Void();
33904 return resultobj;
33905fail:
33906 return NULL;
33907}
33908
33909
33910SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33911 PyObject *resultobj = 0;
33912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33913 wxImageList *arg2 = (wxImageList *) 0 ;
33914 void *argp1 = 0 ;
33915 int res1 = 0 ;
33916 int res2 = 0 ;
33917 PyObject * obj0 = 0 ;
33918 PyObject * obj1 = 0 ;
33919 char * kwnames[] = {
33920 (char *) "self",(char *) "imageList", NULL
33921 };
33922
33923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33925 if (!SWIG_IsOK(res1)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33927 }
33928 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33929 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
33930 if (!SWIG_IsOK(res2)) {
33931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33932 }
33933 {
33934 PyThreadState* __tstate = wxPyBeginAllowThreads();
33935 (arg1)->AssignImageList(arg2);
33936 wxPyEndAllowThreads(__tstate);
33937 if (PyErr_Occurred()) SWIG_fail;
33938 }
33939 resultobj = SWIG_Py_Void();
33940 return resultobj;
33941fail:
33942 return NULL;
33943}
33944
33945
33946SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33947 PyObject *resultobj = 0;
33948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33949 wxImageList *arg2 = (wxImageList *) 0 ;
33950 void *argp1 = 0 ;
33951 int res1 = 0 ;
33952 int res2 = 0 ;
33953 PyObject * obj0 = 0 ;
33954 PyObject * obj1 = 0 ;
33955 char * kwnames[] = {
33956 (char *) "self",(char *) "imageList", NULL
33957 };
33958
33959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33961 if (!SWIG_IsOK(res1)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33963 }
33964 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33965 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
33966 if (!SWIG_IsOK(res2)) {
33967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33968 }
33969 {
33970 PyThreadState* __tstate = wxPyBeginAllowThreads();
33971 (arg1)->AssignStateImageList(arg2);
33972 wxPyEndAllowThreads(__tstate);
33973 if (PyErr_Occurred()) SWIG_fail;
33974 }
33975 resultobj = SWIG_Py_Void();
33976 return resultobj;
33977fail:
33978 return NULL;
33979}
33980
33981
33982SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33983 PyObject *resultobj = 0;
33984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33985 wxTreeItemId *arg2 = 0 ;
33986 wxString result;
33987 void *argp1 = 0 ;
33988 int res1 = 0 ;
33989 void *argp2 = 0 ;
33990 int res2 = 0 ;
33991 PyObject * obj0 = 0 ;
33992 PyObject * obj1 = 0 ;
33993 char * kwnames[] = {
33994 (char *) "self",(char *) "item", NULL
33995 };
33996
33997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
33998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33999 if (!SWIG_IsOK(res1)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34001 }
34002 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34003 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34004 if (!SWIG_IsOK(res2)) {
34005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34006 }
34007 if (!argp2) {
34008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34009 }
34010 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34011 {
34012 PyThreadState* __tstate = wxPyBeginAllowThreads();
34013 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34014 wxPyEndAllowThreads(__tstate);
34015 if (PyErr_Occurred()) SWIG_fail;
34016 }
34017 {
34018#if wxUSE_UNICODE
34019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34020#else
34021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34022#endif
34023 }
34024 return resultobj;
34025fail:
34026 return NULL;
34027}
34028
34029
34030SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34031 PyObject *resultobj = 0;
34032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34033 wxTreeItemId *arg2 = 0 ;
34034 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34035 int result;
34036 void *argp1 = 0 ;
34037 int res1 = 0 ;
34038 void *argp2 = 0 ;
34039 int res2 = 0 ;
34040 int val3 ;
34041 int ecode3 = 0 ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj1 = 0 ;
34044 PyObject * obj2 = 0 ;
34045 char * kwnames[] = {
34046 (char *) "self",(char *) "item",(char *) "which", NULL
34047 };
34048
34049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34051 if (!SWIG_IsOK(res1)) {
34052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34053 }
34054 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34055 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34056 if (!SWIG_IsOK(res2)) {
34057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34058 }
34059 if (!argp2) {
34060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34061 }
34062 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34063 if (obj2) {
34064 ecode3 = SWIG_AsVal_int(obj2, &val3);
34065 if (!SWIG_IsOK(ecode3)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34067 }
34068 arg3 = static_cast< wxTreeItemIcon >(val3);
34069 }
34070 {
34071 PyThreadState* __tstate = wxPyBeginAllowThreads();
34072 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34073 wxPyEndAllowThreads(__tstate);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 }
34076 resultobj = SWIG_From_int(static_cast< int >(result));
34077 return resultobj;
34078fail:
34079 return NULL;
34080}
34081
34082
34083SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34084 PyObject *resultobj = 0;
34085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34086 wxTreeItemId *arg2 = 0 ;
34087 wxPyTreeItemData *result = 0 ;
34088 void *argp1 = 0 ;
34089 int res1 = 0 ;
34090 void *argp2 = 0 ;
34091 int res2 = 0 ;
34092 PyObject * obj0 = 0 ;
34093 PyObject * obj1 = 0 ;
34094 char * kwnames[] = {
34095 (char *) "self",(char *) "item", NULL
34096 };
34097
34098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34100 if (!SWIG_IsOK(res1)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34102 }
34103 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34104 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34105 if (!SWIG_IsOK(res2)) {
34106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34107 }
34108 if (!argp2) {
34109 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34110 }
34111 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34112 {
34113 PyThreadState* __tstate = wxPyBeginAllowThreads();
34114 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34115 wxPyEndAllowThreads(__tstate);
34116 if (PyErr_Occurred()) SWIG_fail;
34117 }
34118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34119 return resultobj;
34120fail:
34121 return NULL;
34122}
34123
34124
34125SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34126 PyObject *resultobj = 0;
34127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34128 wxTreeItemId *arg2 = 0 ;
34129 PyObject *result = 0 ;
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_GetItemPyData",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_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34149 }
34150 if (!argp2) {
34151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34152 }
34153 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34154 {
34155 PyThreadState* __tstate = wxPyBeginAllowThreads();
34156 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34157 wxPyEndAllowThreads(__tstate);
34158 if (PyErr_Occurred()) SWIG_fail;
34159 }
34160 resultobj = result;
34161 return resultobj;
34162fail:
34163 return NULL;
34164}
34165
34166
34167SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34168 PyObject *resultobj = 0;
34169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34170 wxTreeItemId *arg2 = 0 ;
34171 wxColour result;
34172 void *argp1 = 0 ;
34173 int res1 = 0 ;
34174 void *argp2 = 0 ;
34175 int res2 = 0 ;
34176 PyObject * obj0 = 0 ;
34177 PyObject * obj1 = 0 ;
34178 char * kwnames[] = {
34179 (char *) "self",(char *) "item", NULL
34180 };
34181
34182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34184 if (!SWIG_IsOK(res1)) {
34185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34186 }
34187 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34188 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34189 if (!SWIG_IsOK(res2)) {
34190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34191 }
34192 if (!argp2) {
34193 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34194 }
34195 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34196 {
34197 PyThreadState* __tstate = wxPyBeginAllowThreads();
34198 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34199 wxPyEndAllowThreads(__tstate);
34200 if (PyErr_Occurred()) SWIG_fail;
34201 }
34202 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34203 return resultobj;
34204fail:
34205 return NULL;
34206}
34207
34208
34209SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34210 PyObject *resultobj = 0;
34211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34212 wxTreeItemId *arg2 = 0 ;
34213 wxColour result;
34214 void *argp1 = 0 ;
34215 int res1 = 0 ;
34216 void *argp2 = 0 ;
34217 int res2 = 0 ;
34218 PyObject * obj0 = 0 ;
34219 PyObject * obj1 = 0 ;
34220 char * kwnames[] = {
34221 (char *) "self",(char *) "item", NULL
34222 };
34223
34224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34226 if (!SWIG_IsOK(res1)) {
34227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34228 }
34229 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34231 if (!SWIG_IsOK(res2)) {
34232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34233 }
34234 if (!argp2) {
34235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34236 }
34237 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34238 {
34239 PyThreadState* __tstate = wxPyBeginAllowThreads();
34240 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34241 wxPyEndAllowThreads(__tstate);
34242 if (PyErr_Occurred()) SWIG_fail;
34243 }
34244 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34245 return resultobj;
34246fail:
34247 return NULL;
34248}
34249
34250
34251SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34252 PyObject *resultobj = 0;
34253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34254 wxTreeItemId *arg2 = 0 ;
34255 wxFont result;
34256 void *argp1 = 0 ;
34257 int res1 = 0 ;
34258 void *argp2 = 0 ;
34259 int res2 = 0 ;
34260 PyObject * obj0 = 0 ;
34261 PyObject * obj1 = 0 ;
34262 char * kwnames[] = {
34263 (char *) "self",(char *) "item", NULL
34264 };
34265
34266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34268 if (!SWIG_IsOK(res1)) {
34269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34270 }
34271 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34272 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34273 if (!SWIG_IsOK(res2)) {
34274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34275 }
34276 if (!argp2) {
34277 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34278 }
34279 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34280 {
34281 PyThreadState* __tstate = wxPyBeginAllowThreads();
34282 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34283 wxPyEndAllowThreads(__tstate);
34284 if (PyErr_Occurred()) SWIG_fail;
34285 }
34286 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34287 return resultobj;
34288fail:
34289 return NULL;
34290}
34291
34292
34293SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34294 PyObject *resultobj = 0;
34295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34296 wxTreeItemId *arg2 = 0 ;
34297 wxString *arg3 = 0 ;
34298 void *argp1 = 0 ;
34299 int res1 = 0 ;
34300 void *argp2 = 0 ;
34301 int res2 = 0 ;
34302 bool temp3 = false ;
34303 PyObject * obj0 = 0 ;
34304 PyObject * obj1 = 0 ;
34305 PyObject * obj2 = 0 ;
34306 char * kwnames[] = {
34307 (char *) "self",(char *) "item",(char *) "text", NULL
34308 };
34309
34310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34312 if (!SWIG_IsOK(res1)) {
34313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34314 }
34315 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34316 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34317 if (!SWIG_IsOK(res2)) {
34318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34319 }
34320 if (!argp2) {
34321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34322 }
34323 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34324 {
34325 arg3 = wxString_in_helper(obj2);
34326 if (arg3 == NULL) SWIG_fail;
34327 temp3 = true;
34328 }
34329 {
34330 PyThreadState* __tstate = wxPyBeginAllowThreads();
34331 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34332 wxPyEndAllowThreads(__tstate);
34333 if (PyErr_Occurred()) SWIG_fail;
34334 }
34335 resultobj = SWIG_Py_Void();
34336 {
34337 if (temp3)
34338 delete arg3;
34339 }
34340 return resultobj;
34341fail:
34342 {
34343 if (temp3)
34344 delete arg3;
34345 }
34346 return NULL;
34347}
34348
34349
34350SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34351 PyObject *resultobj = 0;
34352 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34353 wxTreeItemId *arg2 = 0 ;
34354 int arg3 ;
34355 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34356 void *argp1 = 0 ;
34357 int res1 = 0 ;
34358 void *argp2 = 0 ;
34359 int res2 = 0 ;
34360 int val3 ;
34361 int ecode3 = 0 ;
34362 int val4 ;
34363 int ecode4 = 0 ;
34364 PyObject * obj0 = 0 ;
34365 PyObject * obj1 = 0 ;
34366 PyObject * obj2 = 0 ;
34367 PyObject * obj3 = 0 ;
34368 char * kwnames[] = {
34369 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34370 };
34371
34372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34374 if (!SWIG_IsOK(res1)) {
34375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34376 }
34377 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34378 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34379 if (!SWIG_IsOK(res2)) {
34380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34381 }
34382 if (!argp2) {
34383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34384 }
34385 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34386 ecode3 = SWIG_AsVal_int(obj2, &val3);
34387 if (!SWIG_IsOK(ecode3)) {
34388 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34389 }
34390 arg3 = static_cast< int >(val3);
34391 if (obj3) {
34392 ecode4 = SWIG_AsVal_int(obj3, &val4);
34393 if (!SWIG_IsOK(ecode4)) {
34394 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34395 }
34396 arg4 = static_cast< wxTreeItemIcon >(val4);
34397 }
34398 {
34399 PyThreadState* __tstate = wxPyBeginAllowThreads();
34400 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34401 wxPyEndAllowThreads(__tstate);
34402 if (PyErr_Occurred()) SWIG_fail;
34403 }
34404 resultobj = SWIG_Py_Void();
34405 return resultobj;
34406fail:
34407 return NULL;
34408}
34409
34410
34411SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34412 PyObject *resultobj = 0;
34413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34414 wxTreeItemId *arg2 = 0 ;
34415 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34416 void *argp1 = 0 ;
34417 int res1 = 0 ;
34418 void *argp2 = 0 ;
34419 int res2 = 0 ;
34420 int res3 = 0 ;
34421 PyObject * obj0 = 0 ;
34422 PyObject * obj1 = 0 ;
34423 PyObject * obj2 = 0 ;
34424 char * kwnames[] = {
34425 (char *) "self",(char *) "item",(char *) "data", NULL
34426 };
34427
34428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34430 if (!SWIG_IsOK(res1)) {
34431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34432 }
34433 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34434 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34435 if (!SWIG_IsOK(res2)) {
34436 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34437 }
34438 if (!argp2) {
34439 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34440 }
34441 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34442 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34443 if (!SWIG_IsOK(res3)) {
34444 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34445 }
34446 {
34447 PyThreadState* __tstate = wxPyBeginAllowThreads();
34448 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34449 wxPyEndAllowThreads(__tstate);
34450 if (PyErr_Occurred()) SWIG_fail;
34451 }
34452 resultobj = SWIG_Py_Void();
34453 return resultobj;
34454fail:
34455 return NULL;
34456}
34457
34458
34459SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34460 PyObject *resultobj = 0;
34461 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34462 wxTreeItemId *arg2 = 0 ;
34463 PyObject *arg3 = (PyObject *) 0 ;
34464 void *argp1 = 0 ;
34465 int res1 = 0 ;
34466 void *argp2 = 0 ;
34467 int res2 = 0 ;
34468 PyObject * obj0 = 0 ;
34469 PyObject * obj1 = 0 ;
34470 PyObject * obj2 = 0 ;
34471 char * kwnames[] = {
34472 (char *) "self",(char *) "item",(char *) "obj", NULL
34473 };
34474
34475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34477 if (!SWIG_IsOK(res1)) {
34478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34479 }
34480 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34481 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34482 if (!SWIG_IsOK(res2)) {
34483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34484 }
34485 if (!argp2) {
34486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34487 }
34488 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34489 arg3 = obj2;
34490 {
34491 PyThreadState* __tstate = wxPyBeginAllowThreads();
34492 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34493 wxPyEndAllowThreads(__tstate);
34494 if (PyErr_Occurred()) SWIG_fail;
34495 }
34496 resultobj = SWIG_Py_Void();
34497 return resultobj;
34498fail:
34499 return NULL;
34500}
34501
34502
34503SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34504 PyObject *resultobj = 0;
34505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34506 wxTreeItemId *arg2 = 0 ;
34507 bool arg3 = (bool) true ;
34508 void *argp1 = 0 ;
34509 int res1 = 0 ;
34510 void *argp2 = 0 ;
34511 int res2 = 0 ;
34512 bool val3 ;
34513 int ecode3 = 0 ;
34514 PyObject * obj0 = 0 ;
34515 PyObject * obj1 = 0 ;
34516 PyObject * obj2 = 0 ;
34517 char * kwnames[] = {
34518 (char *) "self",(char *) "item",(char *) "has", NULL
34519 };
34520
34521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34523 if (!SWIG_IsOK(res1)) {
34524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34525 }
34526 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34528 if (!SWIG_IsOK(res2)) {
34529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34530 }
34531 if (!argp2) {
34532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34533 }
34534 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34535 if (obj2) {
34536 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34537 if (!SWIG_IsOK(ecode3)) {
34538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34539 }
34540 arg3 = static_cast< bool >(val3);
34541 }
34542 {
34543 PyThreadState* __tstate = wxPyBeginAllowThreads();
34544 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
34545 wxPyEndAllowThreads(__tstate);
34546 if (PyErr_Occurred()) SWIG_fail;
34547 }
34548 resultobj = SWIG_Py_Void();
34549 return resultobj;
34550fail:
34551 return NULL;
34552}
34553
34554
34555SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34556 PyObject *resultobj = 0;
34557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34558 wxTreeItemId *arg2 = 0 ;
34559 bool arg3 = (bool) true ;
34560 void *argp1 = 0 ;
34561 int res1 = 0 ;
34562 void *argp2 = 0 ;
34563 int res2 = 0 ;
34564 bool val3 ;
34565 int ecode3 = 0 ;
34566 PyObject * obj0 = 0 ;
34567 PyObject * obj1 = 0 ;
34568 PyObject * obj2 = 0 ;
34569 char * kwnames[] = {
34570 (char *) "self",(char *) "item",(char *) "bold", NULL
34571 };
34572
34573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34575 if (!SWIG_IsOK(res1)) {
34576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34577 }
34578 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34579 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34580 if (!SWIG_IsOK(res2)) {
34581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34582 }
34583 if (!argp2) {
34584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34585 }
34586 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34587 if (obj2) {
34588 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34589 if (!SWIG_IsOK(ecode3)) {
34590 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34591 }
34592 arg3 = static_cast< bool >(val3);
34593 }
34594 {
34595 PyThreadState* __tstate = wxPyBeginAllowThreads();
34596 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
34597 wxPyEndAllowThreads(__tstate);
34598 if (PyErr_Occurred()) SWIG_fail;
34599 }
34600 resultobj = SWIG_Py_Void();
34601 return resultobj;
34602fail:
34603 return NULL;
34604}
34605
34606
34607SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34608 PyObject *resultobj = 0;
34609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34610 wxTreeItemId *arg2 = 0 ;
34611 bool arg3 = (bool) true ;
34612 void *argp1 = 0 ;
34613 int res1 = 0 ;
34614 void *argp2 = 0 ;
34615 int res2 = 0 ;
34616 bool val3 ;
34617 int ecode3 = 0 ;
34618 PyObject * obj0 = 0 ;
34619 PyObject * obj1 = 0 ;
34620 PyObject * obj2 = 0 ;
34621 char * kwnames[] = {
34622 (char *) "self",(char *) "item",(char *) "highlight", NULL
34623 };
34624
34625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34627 if (!SWIG_IsOK(res1)) {
34628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34629 }
34630 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34631 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34632 if (!SWIG_IsOK(res2)) {
34633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34634 }
34635 if (!argp2) {
34636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34637 }
34638 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34639 if (obj2) {
34640 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34641 if (!SWIG_IsOK(ecode3)) {
34642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34643 }
34644 arg3 = static_cast< bool >(val3);
34645 }
34646 {
34647 PyThreadState* __tstate = wxPyBeginAllowThreads();
34648 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
34649 wxPyEndAllowThreads(__tstate);
34650 if (PyErr_Occurred()) SWIG_fail;
34651 }
34652 resultobj = SWIG_Py_Void();
34653 return resultobj;
34654fail:
34655 return NULL;
34656}
34657
34658
34659SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34660 PyObject *resultobj = 0;
34661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34662 wxTreeItemId *arg2 = 0 ;
34663 wxColour *arg3 = 0 ;
34664 void *argp1 = 0 ;
34665 int res1 = 0 ;
34666 void *argp2 = 0 ;
34667 int res2 = 0 ;
34668 wxColour temp3 ;
34669 PyObject * obj0 = 0 ;
34670 PyObject * obj1 = 0 ;
34671 PyObject * obj2 = 0 ;
34672 char * kwnames[] = {
34673 (char *) "self",(char *) "item",(char *) "col", NULL
34674 };
34675
34676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34678 if (!SWIG_IsOK(res1)) {
34679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34680 }
34681 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34683 if (!SWIG_IsOK(res2)) {
34684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34685 }
34686 if (!argp2) {
34687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34688 }
34689 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34690 {
34691 arg3 = &temp3;
34692 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34693 }
34694 {
34695 PyThreadState* __tstate = wxPyBeginAllowThreads();
34696 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34697 wxPyEndAllowThreads(__tstate);
34698 if (PyErr_Occurred()) SWIG_fail;
34699 }
34700 resultobj = SWIG_Py_Void();
34701 return resultobj;
34702fail:
34703 return NULL;
34704}
34705
34706
34707SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34708 PyObject *resultobj = 0;
34709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34710 wxTreeItemId *arg2 = 0 ;
34711 wxColour *arg3 = 0 ;
34712 void *argp1 = 0 ;
34713 int res1 = 0 ;
34714 void *argp2 = 0 ;
34715 int res2 = 0 ;
34716 wxColour temp3 ;
34717 PyObject * obj0 = 0 ;
34718 PyObject * obj1 = 0 ;
34719 PyObject * obj2 = 0 ;
34720 char * kwnames[] = {
34721 (char *) "self",(char *) "item",(char *) "col", NULL
34722 };
34723
34724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34726 if (!SWIG_IsOK(res1)) {
34727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34728 }
34729 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34730 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34731 if (!SWIG_IsOK(res2)) {
34732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34733 }
34734 if (!argp2) {
34735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34736 }
34737 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34738 {
34739 arg3 = &temp3;
34740 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34741 }
34742 {
34743 PyThreadState* __tstate = wxPyBeginAllowThreads();
34744 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34745 wxPyEndAllowThreads(__tstate);
34746 if (PyErr_Occurred()) SWIG_fail;
34747 }
34748 resultobj = SWIG_Py_Void();
34749 return resultobj;
34750fail:
34751 return NULL;
34752}
34753
34754
34755SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34756 PyObject *resultobj = 0;
34757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34758 wxTreeItemId *arg2 = 0 ;
34759 wxFont *arg3 = 0 ;
34760 void *argp1 = 0 ;
34761 int res1 = 0 ;
34762 void *argp2 = 0 ;
34763 int res2 = 0 ;
34764 void *argp3 = 0 ;
34765 int res3 = 0 ;
34766 PyObject * obj0 = 0 ;
34767 PyObject * obj1 = 0 ;
34768 PyObject * obj2 = 0 ;
34769 char * kwnames[] = {
34770 (char *) "self",(char *) "item",(char *) "font", NULL
34771 };
34772
34773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34775 if (!SWIG_IsOK(res1)) {
34776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34777 }
34778 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34779 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34780 if (!SWIG_IsOK(res2)) {
34781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34782 }
34783 if (!argp2) {
34784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34785 }
34786 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34787 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
34788 if (!SWIG_IsOK(res3)) {
34789 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34790 }
34791 if (!argp3) {
34792 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34793 }
34794 arg3 = reinterpret_cast< wxFont * >(argp3);
34795 {
34796 PyThreadState* __tstate = wxPyBeginAllowThreads();
34797 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
34798 wxPyEndAllowThreads(__tstate);
34799 if (PyErr_Occurred()) SWIG_fail;
34800 }
34801 resultobj = SWIG_Py_Void();
34802 return resultobj;
34803fail:
34804 return NULL;
34805}
34806
34807
34808SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34809 PyObject *resultobj = 0;
34810 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34811 wxTreeItemId *arg2 = 0 ;
34812 bool result;
34813 void *argp1 = 0 ;
34814 int res1 = 0 ;
34815 void *argp2 = 0 ;
34816 int res2 = 0 ;
34817 PyObject * obj0 = 0 ;
34818 PyObject * obj1 = 0 ;
34819 char * kwnames[] = {
34820 (char *) "self",(char *) "item", NULL
34821 };
34822
34823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
34824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34825 if (!SWIG_IsOK(res1)) {
34826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34827 }
34828 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34829 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34830 if (!SWIG_IsOK(res2)) {
34831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34832 }
34833 if (!argp2) {
34834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34835 }
34836 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34837 {
34838 PyThreadState* __tstate = wxPyBeginAllowThreads();
34839 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
34840 wxPyEndAllowThreads(__tstate);
34841 if (PyErr_Occurred()) SWIG_fail;
34842 }
34843 {
34844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34845 }
34846 return resultobj;
34847fail:
34848 return NULL;
34849}
34850
34851
34852SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34853 PyObject *resultobj = 0;
34854 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34855 wxTreeItemId *arg2 = 0 ;
34856 bool result;
34857 void *argp1 = 0 ;
34858 int res1 = 0 ;
34859 void *argp2 = 0 ;
34860 int res2 = 0 ;
34861 PyObject * obj0 = 0 ;
34862 PyObject * obj1 = 0 ;
34863 char * kwnames[] = {
34864 (char *) "self",(char *) "item", NULL
34865 };
34866
34867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) 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_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34876 }
34877 if (!argp2) {
34878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 }
34880 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34881 {
34882 PyThreadState* __tstate = wxPyBeginAllowThreads();
34883 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
34884 wxPyEndAllowThreads(__tstate);
34885 if (PyErr_Occurred()) SWIG_fail;
34886 }
34887 {
34888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34889 }
34890 return resultobj;
34891fail:
34892 return NULL;
34893}
34894
34895
34896SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34897 PyObject *resultobj = 0;
34898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34899 wxTreeItemId *arg2 = 0 ;
34900 bool result;
34901 void *argp1 = 0 ;
34902 int res1 = 0 ;
34903 void *argp2 = 0 ;
34904 int res2 = 0 ;
34905 PyObject * obj0 = 0 ;
34906 PyObject * obj1 = 0 ;
34907 char * kwnames[] = {
34908 (char *) "self",(char *) "item", NULL
34909 };
34910
34911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
34912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34913 if (!SWIG_IsOK(res1)) {
34914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34915 }
34916 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34917 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34918 if (!SWIG_IsOK(res2)) {
34919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34920 }
34921 if (!argp2) {
34922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34923 }
34924 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34925 {
34926 PyThreadState* __tstate = wxPyBeginAllowThreads();
34927 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
34928 wxPyEndAllowThreads(__tstate);
34929 if (PyErr_Occurred()) SWIG_fail;
34930 }
34931 {
34932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34933 }
34934 return resultobj;
34935fail:
34936 return NULL;
34937}
34938
34939
34940SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34941 PyObject *resultobj = 0;
34942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34943 wxTreeItemId *arg2 = 0 ;
34944 bool result;
34945 void *argp1 = 0 ;
34946 int res1 = 0 ;
34947 void *argp2 = 0 ;
34948 int res2 = 0 ;
34949 PyObject * obj0 = 0 ;
34950 PyObject * obj1 = 0 ;
34951 char * kwnames[] = {
34952 (char *) "self",(char *) "item", NULL
34953 };
34954
34955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
34956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34957 if (!SWIG_IsOK(res1)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34959 }
34960 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34961 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34962 if (!SWIG_IsOK(res2)) {
34963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34964 }
34965 if (!argp2) {
34966 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34967 }
34968 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34969 {
34970 PyThreadState* __tstate = wxPyBeginAllowThreads();
34971 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
34972 wxPyEndAllowThreads(__tstate);
34973 if (PyErr_Occurred()) SWIG_fail;
34974 }
34975 {
34976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34977 }
34978 return resultobj;
34979fail:
34980 return NULL;
34981}
34982
34983
34984SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34985 PyObject *resultobj = 0;
34986 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34987 wxTreeItemId *arg2 = 0 ;
34988 bool result;
34989 void *argp1 = 0 ;
34990 int res1 = 0 ;
34991 void *argp2 = 0 ;
34992 int res2 = 0 ;
34993 PyObject * obj0 = 0 ;
34994 PyObject * obj1 = 0 ;
34995 char * kwnames[] = {
34996 (char *) "self",(char *) "item", NULL
34997 };
34998
34999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35001 if (!SWIG_IsOK(res1)) {
35002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35003 }
35004 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35005 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35006 if (!SWIG_IsOK(res2)) {
35007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35008 }
35009 if (!argp2) {
35010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35011 }
35012 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35013 {
35014 PyThreadState* __tstate = wxPyBeginAllowThreads();
35015 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35016 wxPyEndAllowThreads(__tstate);
35017 if (PyErr_Occurred()) SWIG_fail;
35018 }
35019 {
35020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35021 }
35022 return resultobj;
35023fail:
35024 return NULL;
35025}
35026
35027
35028SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35029 PyObject *resultobj = 0;
35030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35031 wxTreeItemId *arg2 = 0 ;
35032 bool arg3 = (bool) true ;
35033 size_t result;
35034 void *argp1 = 0 ;
35035 int res1 = 0 ;
35036 void *argp2 = 0 ;
35037 int res2 = 0 ;
35038 bool val3 ;
35039 int ecode3 = 0 ;
35040 PyObject * obj0 = 0 ;
35041 PyObject * obj1 = 0 ;
35042 PyObject * obj2 = 0 ;
35043 char * kwnames[] = {
35044 (char *) "self",(char *) "item",(char *) "recursively", NULL
35045 };
35046
35047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35049 if (!SWIG_IsOK(res1)) {
35050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35051 }
35052 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35054 if (!SWIG_IsOK(res2)) {
35055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35056 }
35057 if (!argp2) {
35058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35059 }
35060 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35061 if (obj2) {
35062 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35063 if (!SWIG_IsOK(ecode3)) {
35064 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35065 }
35066 arg3 = static_cast< bool >(val3);
35067 }
35068 {
35069 PyThreadState* __tstate = wxPyBeginAllowThreads();
35070 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35071 wxPyEndAllowThreads(__tstate);
35072 if (PyErr_Occurred()) SWIG_fail;
35073 }
35074 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35075 return resultobj;
35076fail:
35077 return NULL;
d55e5bfc
RD
35078}
35079
35080
1bd55598
RD
35081SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35082 PyObject *resultobj = 0;
35083 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35084 wxTreeItemId result;
35085 void *argp1 = 0 ;
35086 int res1 = 0 ;
35087 PyObject *swig_obj[1] ;
35088
35089 if (!args) SWIG_fail;
35090 swig_obj[0] = args;
35091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35092 if (!SWIG_IsOK(res1)) {
35093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35094 }
35095 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35096 {
35097 PyThreadState* __tstate = wxPyBeginAllowThreads();
35098 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35099 wxPyEndAllowThreads(__tstate);
35100 if (PyErr_Occurred()) SWIG_fail;
35101 }
35102 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35103 return resultobj;
35104fail:
35105 return NULL;
d55e5bfc
RD
35106}
35107
35108
1bd55598
RD
35109SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35110 PyObject *resultobj = 0;
35111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35112 wxTreeItemId result;
35113 void *argp1 = 0 ;
35114 int res1 = 0 ;
35115 PyObject *swig_obj[1] ;
35116
35117 if (!args) SWIG_fail;
35118 swig_obj[0] = args;
35119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35120 if (!SWIG_IsOK(res1)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35122 }
35123 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35124 {
35125 PyThreadState* __tstate = wxPyBeginAllowThreads();
35126 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35127 wxPyEndAllowThreads(__tstate);
35128 if (PyErr_Occurred()) SWIG_fail;
35129 }
35130 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35131 return resultobj;
35132fail:
35133 return NULL;
d55e5bfc
RD
35134}
35135
35136
1bd55598
RD
35137SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35138 PyObject *resultobj = 0;
35139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35140 PyObject *result = 0 ;
35141 void *argp1 = 0 ;
35142 int res1 = 0 ;
35143 PyObject *swig_obj[1] ;
35144
35145 if (!args) SWIG_fail;
35146 swig_obj[0] = args;
35147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35148 if (!SWIG_IsOK(res1)) {
35149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35150 }
35151 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35152 {
35153 PyThreadState* __tstate = wxPyBeginAllowThreads();
35154 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35155 wxPyEndAllowThreads(__tstate);
35156 if (PyErr_Occurred()) SWIG_fail;
35157 }
35158 resultobj = result;
35159 return resultobj;
35160fail:
35161 return NULL;
35162}
35163
35164
35165SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35166 PyObject *resultobj = 0;
35167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35168 wxTreeItemId *arg2 = 0 ;
35169 wxTreeItemId result;
35170 void *argp1 = 0 ;
35171 int res1 = 0 ;
35172 void *argp2 = 0 ;
35173 int res2 = 0 ;
35174 PyObject * obj0 = 0 ;
35175 PyObject * obj1 = 0 ;
35176 char * kwnames[] = {
35177 (char *) "self",(char *) "item", NULL
35178 };
35179
35180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35182 if (!SWIG_IsOK(res1)) {
35183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35184 }
35185 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35186 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35187 if (!SWIG_IsOK(res2)) {
35188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35189 }
35190 if (!argp2) {
35191 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35192 }
35193 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35194 {
35195 PyThreadState* __tstate = wxPyBeginAllowThreads();
35196 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35197 wxPyEndAllowThreads(__tstate);
35198 if (PyErr_Occurred()) SWIG_fail;
35199 }
35200 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35201 return resultobj;
35202fail:
35203 return NULL;
35204}
35205
35206
35207SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35208 PyObject *resultobj = 0;
35209 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35210 wxTreeItemId *arg2 = 0 ;
35211 PyObject *result = 0 ;
35212 void *argp1 = 0 ;
35213 int res1 = 0 ;
35214 void *argp2 = 0 ;
35215 int res2 = 0 ;
35216 PyObject * obj0 = 0 ;
35217 PyObject * obj1 = 0 ;
35218 char * kwnames[] = {
35219 (char *) "self",(char *) "item", NULL
35220 };
35221
35222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35224 if (!SWIG_IsOK(res1)) {
35225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35226 }
35227 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35228 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35229 if (!SWIG_IsOK(res2)) {
35230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35231 }
35232 if (!argp2) {
35233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35234 }
35235 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35236 {
35237 PyThreadState* __tstate = wxPyBeginAllowThreads();
35238 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35239 wxPyEndAllowThreads(__tstate);
35240 if (PyErr_Occurred()) SWIG_fail;
35241 }
35242 resultobj = result;
35243 return resultobj;
35244fail:
35245 return NULL;
35246}
35247
35248
35249SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35250 PyObject *resultobj = 0;
35251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35252 wxTreeItemId *arg2 = 0 ;
35253 void *arg3 = (void *) 0 ;
35254 PyObject *result = 0 ;
35255 void *argp1 = 0 ;
35256 int res1 = 0 ;
35257 void *argp2 = 0 ;
35258 int res2 = 0 ;
35259 int res3 ;
35260 PyObject * obj0 = 0 ;
35261 PyObject * obj1 = 0 ;
35262 PyObject * obj2 = 0 ;
35263 char * kwnames[] = {
35264 (char *) "self",(char *) "item",(char *) "cookie", NULL
35265 };
35266
35267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35269 if (!SWIG_IsOK(res1)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35271 }
35272 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35273 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35274 if (!SWIG_IsOK(res2)) {
35275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35276 }
35277 if (!argp2) {
35278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35279 }
35280 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35281 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35282 if (!SWIG_IsOK(res3)) {
35283 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35284 }
35285 {
35286 PyThreadState* __tstate = wxPyBeginAllowThreads();
35287 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35288 wxPyEndAllowThreads(__tstate);
35289 if (PyErr_Occurred()) SWIG_fail;
35290 }
35291 resultobj = result;
35292 return resultobj;
35293fail:
35294 return NULL;
35295}
35296
35297
35298SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35299 PyObject *resultobj = 0;
35300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35301 wxTreeItemId *arg2 = 0 ;
35302 wxTreeItemId result;
35303 void *argp1 = 0 ;
35304 int res1 = 0 ;
35305 void *argp2 = 0 ;
35306 int res2 = 0 ;
35307 PyObject * obj0 = 0 ;
35308 PyObject * obj1 = 0 ;
35309 char * kwnames[] = {
35310 (char *) "self",(char *) "item", NULL
35311 };
35312
35313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35315 if (!SWIG_IsOK(res1)) {
35316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35317 }
35318 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35319 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35320 if (!SWIG_IsOK(res2)) {
35321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35322 }
35323 if (!argp2) {
35324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35325 }
35326 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35327 {
35328 PyThreadState* __tstate = wxPyBeginAllowThreads();
35329 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35330 wxPyEndAllowThreads(__tstate);
35331 if (PyErr_Occurred()) SWIG_fail;
35332 }
35333 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35334 return resultobj;
35335fail:
35336 return NULL;
35337}
35338
35339
35340SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35341 PyObject *resultobj = 0;
35342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35343 wxTreeItemId *arg2 = 0 ;
35344 wxTreeItemId result;
35345 void *argp1 = 0 ;
35346 int res1 = 0 ;
35347 void *argp2 = 0 ;
35348 int res2 = 0 ;
35349 PyObject * obj0 = 0 ;
35350 PyObject * obj1 = 0 ;
35351 char * kwnames[] = {
35352 (char *) "self",(char *) "item", NULL
35353 };
35354
35355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35357 if (!SWIG_IsOK(res1)) {
35358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35359 }
35360 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35361 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35362 if (!SWIG_IsOK(res2)) {
35363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35364 }
35365 if (!argp2) {
35366 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35367 }
35368 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35369 {
35370 PyThreadState* __tstate = wxPyBeginAllowThreads();
35371 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35372 wxPyEndAllowThreads(__tstate);
35373 if (PyErr_Occurred()) SWIG_fail;
35374 }
35375 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35376 return resultobj;
35377fail:
35378 return NULL;
35379}
35380
35381
35382SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35383 PyObject *resultobj = 0;
35384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35385 wxTreeItemId *arg2 = 0 ;
35386 wxTreeItemId result;
35387 void *argp1 = 0 ;
35388 int res1 = 0 ;
35389 void *argp2 = 0 ;
35390 int res2 = 0 ;
35391 PyObject * obj0 = 0 ;
35392 PyObject * obj1 = 0 ;
35393 char * kwnames[] = {
35394 (char *) "self",(char *) "item", NULL
35395 };
35396
35397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35399 if (!SWIG_IsOK(res1)) {
35400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35401 }
35402 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35403 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35404 if (!SWIG_IsOK(res2)) {
35405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35406 }
35407 if (!argp2) {
35408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35409 }
35410 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35411 {
35412 PyThreadState* __tstate = wxPyBeginAllowThreads();
35413 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35414 wxPyEndAllowThreads(__tstate);
35415 if (PyErr_Occurred()) SWIG_fail;
35416 }
35417 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35418 return resultobj;
35419fail:
35420 return NULL;
d55e5bfc
RD
35421}
35422
35423
1bd55598
RD
35424SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35425 PyObject *resultobj = 0;
35426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35427 wxTreeItemId result;
35428 void *argp1 = 0 ;
35429 int res1 = 0 ;
35430 PyObject *swig_obj[1] ;
35431
35432 if (!args) SWIG_fail;
35433 swig_obj[0] = args;
35434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35435 if (!SWIG_IsOK(res1)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35437 }
35438 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35439 {
35440 PyThreadState* __tstate = wxPyBeginAllowThreads();
35441 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35442 wxPyEndAllowThreads(__tstate);
35443 if (PyErr_Occurred()) SWIG_fail;
35444 }
35445 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35446 return resultobj;
35447fail:
35448 return NULL;
35449}
35450
35451
35452SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35453 PyObject *resultobj = 0;
35454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35455 wxTreeItemId *arg2 = 0 ;
35456 wxTreeItemId result;
35457 void *argp1 = 0 ;
35458 int res1 = 0 ;
35459 void *argp2 = 0 ;
35460 int res2 = 0 ;
35461 PyObject * obj0 = 0 ;
35462 PyObject * obj1 = 0 ;
35463 char * kwnames[] = {
35464 (char *) "self",(char *) "item", NULL
35465 };
35466
35467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35469 if (!SWIG_IsOK(res1)) {
35470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35471 }
35472 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35473 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35474 if (!SWIG_IsOK(res2)) {
35475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35476 }
35477 if (!argp2) {
35478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35479 }
35480 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35481 {
35482 PyThreadState* __tstate = wxPyBeginAllowThreads();
35483 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35484 wxPyEndAllowThreads(__tstate);
35485 if (PyErr_Occurred()) SWIG_fail;
35486 }
35487 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35488 return resultobj;
35489fail:
35490 return NULL;
35491}
35492
35493
35494SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35495 PyObject *resultobj = 0;
35496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35497 wxTreeItemId *arg2 = 0 ;
35498 wxTreeItemId result;
35499 void *argp1 = 0 ;
35500 int res1 = 0 ;
35501 void *argp2 = 0 ;
35502 int res2 = 0 ;
35503 PyObject * obj0 = 0 ;
35504 PyObject * obj1 = 0 ;
35505 char * kwnames[] = {
35506 (char *) "self",(char *) "item", NULL
35507 };
35508
35509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35511 if (!SWIG_IsOK(res1)) {
35512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35513 }
35514 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35515 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35516 if (!SWIG_IsOK(res2)) {
35517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35518 }
35519 if (!argp2) {
35520 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35521 }
35522 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35523 {
35524 PyThreadState* __tstate = wxPyBeginAllowThreads();
35525 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
35526 wxPyEndAllowThreads(__tstate);
35527 if (PyErr_Occurred()) SWIG_fail;
35528 }
35529 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35530 return resultobj;
35531fail:
35532 return NULL;
35533}
35534
35535
35536SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35537 PyObject *resultobj = 0;
35538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35539 wxString *arg2 = 0 ;
35540 int arg3 = (int) -1 ;
35541 int arg4 = (int) -1 ;
35542 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
35543 wxTreeItemId result;
35544 void *argp1 = 0 ;
35545 int res1 = 0 ;
35546 bool temp2 = false ;
35547 int val3 ;
35548 int ecode3 = 0 ;
35549 int val4 ;
35550 int ecode4 = 0 ;
35551 int res5 = 0 ;
35552 PyObject * obj0 = 0 ;
35553 PyObject * obj1 = 0 ;
35554 PyObject * obj2 = 0 ;
35555 PyObject * obj3 = 0 ;
35556 PyObject * obj4 = 0 ;
35557 char * kwnames[] = {
35558 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35559 };
35560
35561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
35562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35563 if (!SWIG_IsOK(res1)) {
35564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35565 }
35566 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35567 {
35568 arg2 = wxString_in_helper(obj1);
35569 if (arg2 == NULL) SWIG_fail;
35570 temp2 = true;
35571 }
35572 if (obj2) {
35573 ecode3 = SWIG_AsVal_int(obj2, &val3);
35574 if (!SWIG_IsOK(ecode3)) {
35575 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35576 }
35577 arg3 = static_cast< int >(val3);
35578 }
35579 if (obj3) {
35580 ecode4 = SWIG_AsVal_int(obj3, &val4);
35581 if (!SWIG_IsOK(ecode4)) {
35582 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35583 }
35584 arg4 = static_cast< int >(val4);
35585 }
35586 if (obj4) {
35587 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35588 if (!SWIG_IsOK(res5)) {
35589 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36ed4f51 35590 }
1bd55598
RD
35591 }
35592 {
35593 PyThreadState* __tstate = wxPyBeginAllowThreads();
35594 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
35595 wxPyEndAllowThreads(__tstate);
35596 if (PyErr_Occurred()) SWIG_fail;
35597 }
35598 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35599 {
35600 if (temp2)
35601 delete arg2;
35602 }
35603 return resultobj;
35604fail:
35605 {
35606 if (temp2)
35607 delete arg2;
35608 }
35609 return NULL;
35610}
35611
35612
35613SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35614 PyObject *resultobj = 0;
35615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35616 wxTreeItemId *arg2 = 0 ;
35617 wxString *arg3 = 0 ;
35618 int arg4 = (int) -1 ;
35619 int arg5 = (int) -1 ;
35620 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35621 wxTreeItemId result;
35622 void *argp1 = 0 ;
35623 int res1 = 0 ;
35624 void *argp2 = 0 ;
35625 int res2 = 0 ;
35626 bool temp3 = false ;
35627 int val4 ;
35628 int ecode4 = 0 ;
35629 int val5 ;
35630 int ecode5 = 0 ;
35631 int res6 = 0 ;
35632 PyObject * obj0 = 0 ;
35633 PyObject * obj1 = 0 ;
35634 PyObject * obj2 = 0 ;
35635 PyObject * obj3 = 0 ;
35636 PyObject * obj4 = 0 ;
35637 PyObject * obj5 = 0 ;
35638 char * kwnames[] = {
35639 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35640 };
35641
35642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35644 if (!SWIG_IsOK(res1)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35646 }
35647 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35649 if (!SWIG_IsOK(res2)) {
35650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35651 }
35652 if (!argp2) {
35653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35654 }
35655 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35656 {
35657 arg3 = wxString_in_helper(obj2);
35658 if (arg3 == NULL) SWIG_fail;
35659 temp3 = true;
35660 }
35661 if (obj3) {
35662 ecode4 = SWIG_AsVal_int(obj3, &val4);
35663 if (!SWIG_IsOK(ecode4)) {
35664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35665 }
35666 arg4 = static_cast< int >(val4);
35667 }
35668 if (obj4) {
35669 ecode5 = SWIG_AsVal_int(obj4, &val5);
35670 if (!SWIG_IsOK(ecode5)) {
35671 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35672 }
35673 arg5 = static_cast< int >(val5);
35674 }
35675 if (obj5) {
35676 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35677 if (!SWIG_IsOK(res6)) {
35678 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35679 }
1bd55598
RD
35680 }
35681 {
35682 PyThreadState* __tstate = wxPyBeginAllowThreads();
35683 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
35684 wxPyEndAllowThreads(__tstate);
35685 if (PyErr_Occurred()) SWIG_fail;
35686 }
35687 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35688 {
35689 if (temp3)
35690 delete arg3;
35691 }
35692 return resultobj;
35693fail:
35694 {
35695 if (temp3)
35696 delete arg3;
35697 }
35698 return NULL;
35699}
35700
35701
35702SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35703 PyObject *resultobj = 0;
35704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35705 wxTreeItemId *arg2 = 0 ;
35706 wxTreeItemId *arg3 = 0 ;
35707 wxString *arg4 = 0 ;
35708 int arg5 = (int) -1 ;
35709 int arg6 = (int) -1 ;
35710 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35711 wxTreeItemId result;
35712 void *argp1 = 0 ;
35713 int res1 = 0 ;
35714 void *argp2 = 0 ;
35715 int res2 = 0 ;
35716 void *argp3 = 0 ;
35717 int res3 = 0 ;
35718 bool temp4 = false ;
35719 int val5 ;
35720 int ecode5 = 0 ;
35721 int val6 ;
35722 int ecode6 = 0 ;
35723 int res7 = 0 ;
35724 PyObject * obj0 = 0 ;
35725 PyObject * obj1 = 0 ;
35726 PyObject * obj2 = 0 ;
35727 PyObject * obj3 = 0 ;
35728 PyObject * obj4 = 0 ;
35729 PyObject * obj5 = 0 ;
35730 PyObject * obj6 = 0 ;
35731 char * kwnames[] = {
35732 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35733 };
35734
35735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35737 if (!SWIG_IsOK(res1)) {
35738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35739 }
35740 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35742 if (!SWIG_IsOK(res2)) {
35743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35744 }
35745 if (!argp2) {
35746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35747 }
35748 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35749 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35750 if (!SWIG_IsOK(res3)) {
35751 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35752 }
35753 if (!argp3) {
35754 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35755 }
35756 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
35757 {
35758 arg4 = wxString_in_helper(obj3);
35759 if (arg4 == NULL) SWIG_fail;
35760 temp4 = true;
35761 }
35762 if (obj4) {
35763 ecode5 = SWIG_AsVal_int(obj4, &val5);
35764 if (!SWIG_IsOK(ecode5)) {
35765 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35766 }
35767 arg5 = static_cast< int >(val5);
35768 }
35769 if (obj5) {
35770 ecode6 = SWIG_AsVal_int(obj5, &val6);
35771 if (!SWIG_IsOK(ecode6)) {
35772 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35773 }
35774 arg6 = static_cast< int >(val6);
35775 }
35776 if (obj6) {
35777 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35778 if (!SWIG_IsOK(res7)) {
35779 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35780 }
1bd55598
RD
35781 }
35782 {
35783 PyThreadState* __tstate = wxPyBeginAllowThreads();
35784 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
35785 wxPyEndAllowThreads(__tstate);
35786 if (PyErr_Occurred()) SWIG_fail;
35787 }
35788 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35789 {
35790 if (temp4)
35791 delete arg4;
35792 }
35793 return resultobj;
35794fail:
35795 {
35796 if (temp4)
35797 delete arg4;
35798 }
35799 return NULL;
35800}
35801
35802
35803SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35804 PyObject *resultobj = 0;
35805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35806 wxTreeItemId *arg2 = 0 ;
35807 size_t arg3 ;
35808 wxString *arg4 = 0 ;
35809 int arg5 = (int) -1 ;
35810 int arg6 = (int) -1 ;
35811 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35812 wxTreeItemId result;
35813 void *argp1 = 0 ;
35814 int res1 = 0 ;
35815 void *argp2 = 0 ;
35816 int res2 = 0 ;
35817 size_t val3 ;
35818 int ecode3 = 0 ;
35819 bool temp4 = false ;
35820 int val5 ;
35821 int ecode5 = 0 ;
35822 int val6 ;
35823 int ecode6 = 0 ;
35824 int res7 = 0 ;
35825 PyObject * obj0 = 0 ;
35826 PyObject * obj1 = 0 ;
35827 PyObject * obj2 = 0 ;
35828 PyObject * obj3 = 0 ;
35829 PyObject * obj4 = 0 ;
35830 PyObject * obj5 = 0 ;
35831 PyObject * obj6 = 0 ;
35832 char * kwnames[] = {
35833 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35834 };
35835
35836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35838 if (!SWIG_IsOK(res1)) {
35839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35840 }
35841 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35842 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35843 if (!SWIG_IsOK(res2)) {
35844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35845 }
35846 if (!argp2) {
35847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35848 }
35849 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35850 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
35851 if (!SWIG_IsOK(ecode3)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35853 }
35854 arg3 = static_cast< size_t >(val3);
35855 {
35856 arg4 = wxString_in_helper(obj3);
35857 if (arg4 == NULL) SWIG_fail;
35858 temp4 = true;
35859 }
35860 if (obj4) {
35861 ecode5 = SWIG_AsVal_int(obj4, &val5);
35862 if (!SWIG_IsOK(ecode5)) {
35863 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35864 }
35865 arg5 = static_cast< int >(val5);
35866 }
35867 if (obj5) {
35868 ecode6 = SWIG_AsVal_int(obj5, &val6);
35869 if (!SWIG_IsOK(ecode6)) {
35870 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35871 }
35872 arg6 = static_cast< int >(val6);
35873 }
35874 if (obj6) {
35875 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35876 if (!SWIG_IsOK(res7)) {
35877 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35878 }
1bd55598
RD
35879 }
35880 {
35881 PyThreadState* __tstate = wxPyBeginAllowThreads();
35882 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
35883 wxPyEndAllowThreads(__tstate);
35884 if (PyErr_Occurred()) SWIG_fail;
35885 }
35886 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35887 {
35888 if (temp4)
35889 delete arg4;
35890 }
35891 return resultobj;
35892fail:
35893 {
35894 if (temp4)
35895 delete arg4;
35896 }
35897 return NULL;
35898}
35899
35900
35901SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35902 PyObject *resultobj = 0;
35903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35904 wxTreeItemId *arg2 = 0 ;
35905 wxString *arg3 = 0 ;
35906 int arg4 = (int) -1 ;
35907 int arg5 = (int) -1 ;
35908 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35909 wxTreeItemId result;
35910 void *argp1 = 0 ;
35911 int res1 = 0 ;
35912 void *argp2 = 0 ;
35913 int res2 = 0 ;
35914 bool temp3 = false ;
35915 int val4 ;
35916 int ecode4 = 0 ;
35917 int val5 ;
35918 int ecode5 = 0 ;
35919 int res6 = 0 ;
35920 PyObject * obj0 = 0 ;
35921 PyObject * obj1 = 0 ;
35922 PyObject * obj2 = 0 ;
35923 PyObject * obj3 = 0 ;
35924 PyObject * obj4 = 0 ;
35925 PyObject * obj5 = 0 ;
35926 char * kwnames[] = {
35927 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35928 };
35929
35930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35932 if (!SWIG_IsOK(res1)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35934 }
35935 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35937 if (!SWIG_IsOK(res2)) {
35938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35939 }
35940 if (!argp2) {
35941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35942 }
35943 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35944 {
35945 arg3 = wxString_in_helper(obj2);
35946 if (arg3 == NULL) SWIG_fail;
35947 temp3 = true;
35948 }
35949 if (obj3) {
35950 ecode4 = SWIG_AsVal_int(obj3, &val4);
35951 if (!SWIG_IsOK(ecode4)) {
35952 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35953 }
35954 arg4 = static_cast< int >(val4);
35955 }
35956 if (obj4) {
35957 ecode5 = SWIG_AsVal_int(obj4, &val5);
35958 if (!SWIG_IsOK(ecode5)) {
35959 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35960 }
35961 arg5 = static_cast< int >(val5);
35962 }
35963 if (obj5) {
35964 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35965 if (!SWIG_IsOK(res6)) {
35966 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35967 }
1bd55598
RD
35968 }
35969 {
35970 PyThreadState* __tstate = wxPyBeginAllowThreads();
35971 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
35972 wxPyEndAllowThreads(__tstate);
35973 if (PyErr_Occurred()) SWIG_fail;
35974 }
35975 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35976 {
35977 if (temp3)
35978 delete arg3;
35979 }
35980 return resultobj;
35981fail:
35982 {
35983 if (temp3)
35984 delete arg3;
35985 }
35986 return NULL;
35987}
35988
35989
35990SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35991 PyObject *resultobj = 0;
35992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35993 wxTreeItemId *arg2 = 0 ;
35994 void *argp1 = 0 ;
35995 int res1 = 0 ;
35996 void *argp2 = 0 ;
35997 int res2 = 0 ;
35998 PyObject * obj0 = 0 ;
35999 PyObject * obj1 = 0 ;
36000 char * kwnames[] = {
36001 (char *) "self",(char *) "item", NULL
36002 };
36003
36004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36006 if (!SWIG_IsOK(res1)) {
36007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36008 }
36009 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36010 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36011 if (!SWIG_IsOK(res2)) {
36012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36013 }
36014 if (!argp2) {
36015 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36016 }
36017 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36018 {
36019 PyThreadState* __tstate = wxPyBeginAllowThreads();
36020 (arg1)->Delete((wxTreeItemId const &)*arg2);
36021 wxPyEndAllowThreads(__tstate);
36022 if (PyErr_Occurred()) SWIG_fail;
36023 }
36024 resultobj = SWIG_Py_Void();
36025 return resultobj;
36026fail:
36027 return NULL;
36028}
36029
36030
36031SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36032 PyObject *resultobj = 0;
36033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36034 wxTreeItemId *arg2 = 0 ;
36035 void *argp1 = 0 ;
36036 int res1 = 0 ;
36037 void *argp2 = 0 ;
36038 int res2 = 0 ;
36039 PyObject * obj0 = 0 ;
36040 PyObject * obj1 = 0 ;
36041 char * kwnames[] = {
36042 (char *) "self",(char *) "item", NULL
36043 };
36044
36045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36047 if (!SWIG_IsOK(res1)) {
36048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36049 }
36050 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36052 if (!SWIG_IsOK(res2)) {
36053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36054 }
36055 if (!argp2) {
36056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36057 }
36058 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36059 {
36060 PyThreadState* __tstate = wxPyBeginAllowThreads();
36061 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36062 wxPyEndAllowThreads(__tstate);
36063 if (PyErr_Occurred()) SWIG_fail;
36064 }
36065 resultobj = SWIG_Py_Void();
36066 return resultobj;
36067fail:
36068 return NULL;
d55e5bfc
RD
36069}
36070
36071
1bd55598
RD
36072SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36073 PyObject *resultobj = 0;
36074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36075 void *argp1 = 0 ;
36076 int res1 = 0 ;
36077 PyObject *swig_obj[1] ;
36078
36079 if (!args) SWIG_fail;
36080 swig_obj[0] = args;
36081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36082 if (!SWIG_IsOK(res1)) {
36083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36084 }
36085 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36086 {
36087 PyThreadState* __tstate = wxPyBeginAllowThreads();
36088 (arg1)->DeleteAllItems();
36089 wxPyEndAllowThreads(__tstate);
36090 if (PyErr_Occurred()) SWIG_fail;
36091 }
36092 resultobj = SWIG_Py_Void();
36093 return resultobj;
36094fail:
36095 return NULL;
36096}
36097
36098
36099SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36100 PyObject *resultobj = 0;
36101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36102 wxTreeItemId *arg2 = 0 ;
36103 void *argp1 = 0 ;
36104 int res1 = 0 ;
36105 void *argp2 = 0 ;
36106 int res2 = 0 ;
36107 PyObject * obj0 = 0 ;
36108 PyObject * obj1 = 0 ;
36109 char * kwnames[] = {
36110 (char *) "self",(char *) "item", NULL
36111 };
36112
36113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36115 if (!SWIG_IsOK(res1)) {
36116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36117 }
36118 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36119 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36120 if (!SWIG_IsOK(res2)) {
36121 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36122 }
36123 if (!argp2) {
36124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36125 }
36126 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36127 {
36128 PyThreadState* __tstate = wxPyBeginAllowThreads();
36129 (arg1)->Expand((wxTreeItemId const &)*arg2);
36130 wxPyEndAllowThreads(__tstate);
36131 if (PyErr_Occurred()) SWIG_fail;
36132 }
36133 resultobj = SWIG_Py_Void();
36134 return resultobj;
36135fail:
36136 return NULL;
36137}
36138
36139
36140SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36141 PyObject *resultobj = 0;
36142 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36143 wxTreeItemId *arg2 = 0 ;
36144 void *argp1 = 0 ;
36145 int res1 = 0 ;
36146 void *argp2 = 0 ;
36147 int res2 = 0 ;
36148 PyObject * obj0 = 0 ;
36149 PyObject * obj1 = 0 ;
36150 char * kwnames[] = {
36151 (char *) "self",(char *) "item", NULL
36152 };
36153
36154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36156 if (!SWIG_IsOK(res1)) {
36157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36158 }
36159 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36160 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36161 if (!SWIG_IsOK(res2)) {
36162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36163 }
36164 if (!argp2) {
36165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36166 }
36167 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36168 {
36169 PyThreadState* __tstate = wxPyBeginAllowThreads();
36170 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36171 wxPyEndAllowThreads(__tstate);
36172 if (PyErr_Occurred()) SWIG_fail;
36173 }
36174 resultobj = SWIG_Py_Void();
36175 return resultobj;
36176fail:
36177 return NULL;
36178}
36179
36180
36181SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36182 PyObject *resultobj = 0;
36183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36184 wxTreeItemId *arg2 = 0 ;
36185 void *argp1 = 0 ;
36186 int res1 = 0 ;
36187 void *argp2 = 0 ;
36188 int res2 = 0 ;
36189 PyObject * obj0 = 0 ;
36190 PyObject * obj1 = 0 ;
36191 char * kwnames[] = {
36192 (char *) "self",(char *) "item", NULL
36193 };
36194
36195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36197 if (!SWIG_IsOK(res1)) {
36198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36199 }
36200 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36202 if (!SWIG_IsOK(res2)) {
36203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36204 }
36205 if (!argp2) {
36206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36207 }
36208 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36209 {
36210 PyThreadState* __tstate = wxPyBeginAllowThreads();
36211 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36212 wxPyEndAllowThreads(__tstate);
36213 if (PyErr_Occurred()) SWIG_fail;
36214 }
36215 resultobj = SWIG_Py_Void();
36216 return resultobj;
36217fail:
36218 return NULL;
36219}
36220
36221
36222SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36223 PyObject *resultobj = 0;
36224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36225 wxTreeItemId *arg2 = 0 ;
36226 void *argp1 = 0 ;
36227 int res1 = 0 ;
36228 void *argp2 = 0 ;
36229 int res2 = 0 ;
36230 PyObject * obj0 = 0 ;
36231 PyObject * obj1 = 0 ;
36232 char * kwnames[] = {
36233 (char *) "self",(char *) "item", NULL
36234 };
36235
36236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36238 if (!SWIG_IsOK(res1)) {
36239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36240 }
36241 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36243 if (!SWIG_IsOK(res2)) {
36244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36245 }
36246 if (!argp2) {
36247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36248 }
36249 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36250 {
36251 PyThreadState* __tstate = wxPyBeginAllowThreads();
36252 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36253 wxPyEndAllowThreads(__tstate);
36254 if (PyErr_Occurred()) SWIG_fail;
36255 }
36256 resultobj = SWIG_Py_Void();
36257 return resultobj;
36258fail:
36259 return NULL;
d55e5bfc
RD
36260}
36261
36262
1bd55598
RD
36263SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36264 PyObject *resultobj = 0;
36265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36266 void *argp1 = 0 ;
36267 int res1 = 0 ;
36268 PyObject *swig_obj[1] ;
36269
36270 if (!args) SWIG_fail;
36271 swig_obj[0] = args;
36272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36273 if (!SWIG_IsOK(res1)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36275 }
36276 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36277 {
36278 PyThreadState* __tstate = wxPyBeginAllowThreads();
36279 (arg1)->Unselect();
36280 wxPyEndAllowThreads(__tstate);
36281 if (PyErr_Occurred()) SWIG_fail;
36282 }
36283 resultobj = SWIG_Py_Void();
36284 return resultobj;
36285fail:
36286 return NULL;
36287}
36288
36289
36290SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36291 PyObject *resultobj = 0;
36292 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36293 wxTreeItemId *arg2 = 0 ;
36294 void *argp1 = 0 ;
36295 int res1 = 0 ;
36296 void *argp2 = 0 ;
36297 int res2 = 0 ;
36298 PyObject * obj0 = 0 ;
36299 PyObject * obj1 = 0 ;
36300 char * kwnames[] = {
36301 (char *) "self",(char *) "item", NULL
36302 };
36303
36304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36306 if (!SWIG_IsOK(res1)) {
36307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36308 }
36309 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36310 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36311 if (!SWIG_IsOK(res2)) {
36312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36313 }
36314 if (!argp2) {
36315 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36316 }
36317 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36318 {
36319 PyThreadState* __tstate = wxPyBeginAllowThreads();
36320 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36321 wxPyEndAllowThreads(__tstate);
36322 if (PyErr_Occurred()) SWIG_fail;
36323 }
36324 resultobj = SWIG_Py_Void();
36325 return resultobj;
36326fail:
36327 return NULL;
d55e5bfc
RD
36328}
36329
36330
1bd55598
RD
36331SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36332 PyObject *resultobj = 0;
36333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36334 void *argp1 = 0 ;
36335 int res1 = 0 ;
36336 PyObject *swig_obj[1] ;
36337
36338 if (!args) SWIG_fail;
36339 swig_obj[0] = args;
36340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36341 if (!SWIG_IsOK(res1)) {
36342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36343 }
36344 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36345 {
36346 PyThreadState* __tstate = wxPyBeginAllowThreads();
36347 (arg1)->UnselectAll();
36348 wxPyEndAllowThreads(__tstate);
36349 if (PyErr_Occurred()) SWIG_fail;
36350 }
36351 resultobj = SWIG_Py_Void();
36352 return resultobj;
36353fail:
36354 return NULL;
36355}
36356
36357
36358SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36359 PyObject *resultobj = 0;
36360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36361 wxTreeItemId *arg2 = 0 ;
36362 bool arg3 = (bool) true ;
36363 void *argp1 = 0 ;
36364 int res1 = 0 ;
36365 void *argp2 = 0 ;
36366 int res2 = 0 ;
36367 bool val3 ;
36368 int ecode3 = 0 ;
36369 PyObject * obj0 = 0 ;
36370 PyObject * obj1 = 0 ;
36371 PyObject * obj2 = 0 ;
36372 char * kwnames[] = {
36373 (char *) "self",(char *) "item",(char *) "select", NULL
36374 };
36375
36376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36378 if (!SWIG_IsOK(res1)) {
36379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36380 }
36381 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36382 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36383 if (!SWIG_IsOK(res2)) {
36384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36385 }
36386 if (!argp2) {
36387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36388 }
36389 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36390 if (obj2) {
36391 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36392 if (!SWIG_IsOK(ecode3)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36394 }
36395 arg3 = static_cast< bool >(val3);
36396 }
36397 {
36398 PyThreadState* __tstate = wxPyBeginAllowThreads();
36399 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36400 wxPyEndAllowThreads(__tstate);
36401 if (PyErr_Occurred()) SWIG_fail;
36402 }
36403 resultobj = SWIG_Py_Void();
36404 return resultobj;
36405fail:
36406 return NULL;
36407}
36408
36409
36410SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36411 PyObject *resultobj = 0;
36412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36413 wxTreeItemId *arg2 = 0 ;
36414 void *argp1 = 0 ;
36415 int res1 = 0 ;
36416 void *argp2 = 0 ;
36417 int res2 = 0 ;
36418 PyObject * obj0 = 0 ;
36419 PyObject * obj1 = 0 ;
36420 char * kwnames[] = {
36421 (char *) "self",(char *) "item", NULL
36422 };
36423
36424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36426 if (!SWIG_IsOK(res1)) {
36427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36428 }
36429 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36430 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36431 if (!SWIG_IsOK(res2)) {
36432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36433 }
36434 if (!argp2) {
36435 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36436 }
36437 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36438 {
36439 PyThreadState* __tstate = wxPyBeginAllowThreads();
36440 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
36441 wxPyEndAllowThreads(__tstate);
36442 if (PyErr_Occurred()) SWIG_fail;
36443 }
36444 resultobj = SWIG_Py_Void();
36445 return resultobj;
36446fail:
36447 return NULL;
36448}
36449
36450
36451SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36452 PyObject *resultobj = 0;
36453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36454 wxTreeItemId *arg2 = 0 ;
36455 void *argp1 = 0 ;
36456 int res1 = 0 ;
36457 void *argp2 = 0 ;
36458 int res2 = 0 ;
36459 PyObject * obj0 = 0 ;
36460 PyObject * obj1 = 0 ;
36461 char * kwnames[] = {
36462 (char *) "self",(char *) "item", NULL
36463 };
36464
36465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36467 if (!SWIG_IsOK(res1)) {
36468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36469 }
36470 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36471 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36472 if (!SWIG_IsOK(res2)) {
36473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36474 }
36475 if (!argp2) {
36476 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36477 }
36478 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36479 {
36480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36481 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
36482 wxPyEndAllowThreads(__tstate);
36483 if (PyErr_Occurred()) SWIG_fail;
36484 }
36485 resultobj = SWIG_Py_Void();
36486 return resultobj;
36487fail:
36488 return NULL;
36489}
36490
36491
36492SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36493 PyObject *resultobj = 0;
36494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36495 wxTreeItemId *arg2 = 0 ;
36496 void *argp1 = 0 ;
36497 int res1 = 0 ;
36498 void *argp2 = 0 ;
36499 int res2 = 0 ;
36500 PyObject * obj0 = 0 ;
36501 PyObject * obj1 = 0 ;
36502 char * kwnames[] = {
36503 (char *) "self",(char *) "item", NULL
36504 };
36505
36506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
36507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36508 if (!SWIG_IsOK(res1)) {
36509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36510 }
36511 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36513 if (!SWIG_IsOK(res2)) {
36514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36515 }
36516 if (!argp2) {
36517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36518 }
36519 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36520 {
36521 PyThreadState* __tstate = wxPyBeginAllowThreads();
36522 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
36523 wxPyEndAllowThreads(__tstate);
36524 if (PyErr_Occurred()) SWIG_fail;
36525 }
36526 resultobj = SWIG_Py_Void();
36527 return resultobj;
36528fail:
36529 return NULL;
36530}
36531
36532
36533SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36534 PyObject *resultobj = 0;
36535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36536 wxTreeItemId *arg2 = 0 ;
36537 void *argp1 = 0 ;
36538 int res1 = 0 ;
36539 void *argp2 = 0 ;
36540 int res2 = 0 ;
36541 PyObject * obj0 = 0 ;
36542 PyObject * obj1 = 0 ;
36543 char * kwnames[] = {
36544 (char *) "self",(char *) "item", NULL
36545 };
36546
36547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
36548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36549 if (!SWIG_IsOK(res1)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36551 }
36552 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36554 if (!SWIG_IsOK(res2)) {
36555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36556 }
36557 if (!argp2) {
36558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36559 }
36560 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36561 {
36562 PyThreadState* __tstate = wxPyBeginAllowThreads();
36563 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
36564 wxPyEndAllowThreads(__tstate);
36565 if (PyErr_Occurred()) SWIG_fail;
36566 }
36567 resultobj = SWIG_Py_Void();
36568 return resultobj;
36569fail:
36570 return NULL;
d55e5bfc
RD
36571}
36572
36573
1bd55598
RD
36574SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36575 PyObject *resultobj = 0;
36576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36577 wxTextCtrl *result = 0 ;
36578 void *argp1 = 0 ;
36579 int res1 = 0 ;
36580 PyObject *swig_obj[1] ;
36581
36582 if (!args) SWIG_fail;
36583 swig_obj[0] = args;
36584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36585 if (!SWIG_IsOK(res1)) {
36586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36587 }
36588 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36589 {
36590 PyThreadState* __tstate = wxPyBeginAllowThreads();
36591 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
36592 wxPyEndAllowThreads(__tstate);
36593 if (PyErr_Occurred()) SWIG_fail;
36594 }
36595 {
36596 resultobj = wxPyMake_wxObject(result, 0);
36597 }
36598 return resultobj;
36599fail:
36600 return NULL;
36601}
36602
36603
36604SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36605 PyObject *resultobj = 0;
36606 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36607 wxTreeItemId *arg2 = 0 ;
36608 void *argp1 = 0 ;
36609 int res1 = 0 ;
36610 void *argp2 = 0 ;
36611 int res2 = 0 ;
36612 PyObject * obj0 = 0 ;
36613 PyObject * obj1 = 0 ;
36614 char * kwnames[] = {
36615 (char *) "self",(char *) "item", NULL
36616 };
36617
36618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36620 if (!SWIG_IsOK(res1)) {
36621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36622 }
36623 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36625 if (!SWIG_IsOK(res2)) {
36626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36627 }
36628 if (!argp2) {
36629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36630 }
36631 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36632 {
36633 PyThreadState* __tstate = wxPyBeginAllowThreads();
36634 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
36635 wxPyEndAllowThreads(__tstate);
36636 if (PyErr_Occurred()) SWIG_fail;
36637 }
36638 resultobj = SWIG_Py_Void();
36639 return resultobj;
36640fail:
36641 return NULL;
36642}
36643
36644
36645SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36646 PyObject *resultobj = 0;
36647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36648 wxPoint *arg2 = 0 ;
36649 int *arg3 = 0 ;
36650 wxTreeItemId result;
36651 void *argp1 = 0 ;
36652 int res1 = 0 ;
36653 wxPoint temp2 ;
36654 int temp3 ;
36655 int res3 = SWIG_TMPOBJ ;
36656 PyObject * obj0 = 0 ;
36657 PyObject * obj1 = 0 ;
36658 char * kwnames[] = {
36659 (char *) "self",(char *) "point", NULL
36660 };
36661
36662 arg3 = &temp3;
36663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
36664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36665 if (!SWIG_IsOK(res1)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36667 }
36668 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36669 {
36670 arg2 = &temp2;
36671 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
36672 }
36673 {
36674 PyThreadState* __tstate = wxPyBeginAllowThreads();
36675 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
36676 wxPyEndAllowThreads(__tstate);
36677 if (PyErr_Occurred()) SWIG_fail;
36678 }
36679 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36680 if (SWIG_IsTmpObj(res3)) {
36681 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
36682 } else {
36683 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
36684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
36685 }
36686 return resultobj;
36687fail:
36688 return NULL;
36689}
36690
36691
36692SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36693 PyObject *resultobj = 0;
36694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36695 wxTreeItemId *arg2 = 0 ;
36696 bool arg3 = (bool) false ;
36697 PyObject *result = 0 ;
36698 void *argp1 = 0 ;
36699 int res1 = 0 ;
36700 void *argp2 = 0 ;
36701 int res2 = 0 ;
36702 bool val3 ;
36703 int ecode3 = 0 ;
36704 PyObject * obj0 = 0 ;
36705 PyObject * obj1 = 0 ;
36706 PyObject * obj2 = 0 ;
36707 char * kwnames[] = {
36708 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36709 };
36710
36711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36713 if (!SWIG_IsOK(res1)) {
36714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36715 }
36716 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36717 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36718 if (!SWIG_IsOK(res2)) {
36719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36720 }
36721 if (!argp2) {
36722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36723 }
36724 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36725 if (obj2) {
36726 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36727 if (!SWIG_IsOK(ecode3)) {
36728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36729 }
36730 arg3 = static_cast< bool >(val3);
36731 }
36732 {
36733 PyThreadState* __tstate = wxPyBeginAllowThreads();
36734 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
36735 wxPyEndAllowThreads(__tstate);
36736 if (PyErr_Occurred()) SWIG_fail;
36737 }
36738 resultobj = result;
36739 return resultobj;
36740fail:
36741 return NULL;
36742}
36743
36744
36745SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36746 PyObject *resultobj = 0;
36747 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
36748 SwigValueWrapper<wxVisualAttributes > result;
36749 int val1 ;
36750 int ecode1 = 0 ;
36751 PyObject * obj0 = 0 ;
36752 char * kwnames[] = {
36753 (char *) "variant", NULL
36754 };
36755
36756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
36757 if (obj0) {
36758 ecode1 = SWIG_AsVal_int(obj0, &val1);
36759 if (!SWIG_IsOK(ecode1)) {
36760 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36761 }
36762 arg1 = static_cast< wxWindowVariant >(val1);
36763 }
36764 {
36765 if (!wxPyCheckForApp()) SWIG_fail;
36766 PyThreadState* __tstate = wxPyBeginAllowThreads();
36767 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
36768 wxPyEndAllowThreads(__tstate);
36769 if (PyErr_Occurred()) SWIG_fail;
36770 }
36771 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
36772 return resultobj;
36773fail:
36774 return NULL;
d55e5bfc
RD
36775}
36776
36777
2131d850
RD
36778SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36779 PyObject *resultobj = 0;
36780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36781 bool arg2 ;
36782 void *argp1 = 0 ;
36783 int res1 = 0 ;
36784 bool val2 ;
36785 int ecode2 = 0 ;
36786 PyObject * obj0 = 0 ;
36787 PyObject * obj1 = 0 ;
36788 char * kwnames[] = {
36789 (char *) "self",(char *) "q", NULL
36790 };
36791
36792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
36793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36794 if (!SWIG_IsOK(res1)) {
36795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36796 }
36797 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36798 ecode2 = SWIG_AsVal_bool(obj1, &val2);
36799 if (!SWIG_IsOK(ecode2)) {
36800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36801 }
36802 arg2 = static_cast< bool >(val2);
36803 {
36804 PyThreadState* __tstate = wxPyBeginAllowThreads();
36805 (arg1)->SetQuickBestSize(arg2);
36806 wxPyEndAllowThreads(__tstate);
36807 if (PyErr_Occurred()) SWIG_fail;
36808 }
36809 resultobj = SWIG_Py_Void();
36810 return resultobj;
36811fail:
36812 return NULL;
36813}
36814
36815
36816SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36817 PyObject *resultobj = 0;
36818 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36819 bool result;
36820 void *argp1 = 0 ;
36821 int res1 = 0 ;
36822 PyObject *swig_obj[1] ;
36823
36824 if (!args) SWIG_fail;
36825 swig_obj[0] = args;
36826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36827 if (!SWIG_IsOK(res1)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36829 }
36830 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36831 {
36832 PyThreadState* __tstate = wxPyBeginAllowThreads();
36833 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
36834 wxPyEndAllowThreads(__tstate);
36835 if (PyErr_Occurred()) SWIG_fail;
36836 }
36837 {
36838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36839 }
36840 return resultobj;
36841fail:
36842 return NULL;
36843}
36844
36845
1bd55598
RD
36846SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36847 PyObject *obj;
36848 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
36849 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
36850 return SWIG_Py_Void();
d55e5bfc
RD
36851}
36852
1bd55598
RD
36853SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36854 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
36855}
36856
1bd55598
RD
36857SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
36858 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
36859 return 1;
d55e5bfc
RD
36860}
36861
36862
1bd55598
RD
36863SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
36864 PyObject *pyobj = 0;
36865
36866 {
36867#if wxUSE_UNICODE
36868 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
36869#else
36870 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
36871#endif
36872 }
36873 return pyobj;
36874}
36875
36876
36877SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36878 PyObject *resultobj = 0;
36879 wxWindow *arg1 = (wxWindow *) 0 ;
36880 int arg2 = (int) (int)-1 ;
36881 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
36882 wxString *arg3 = (wxString *) &arg3_defvalue ;
36883 wxPoint const &arg4_defvalue = wxDefaultPosition ;
36884 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
36885 wxSize const &arg5_defvalue = wxDefaultSize ;
36886 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
36887 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
36888 wxString const &arg7_defvalue = wxPyEmptyString ;
36889 wxString *arg7 = (wxString *) &arg7_defvalue ;
36890 int arg8 = (int) 0 ;
36891 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
36892 wxString *arg9 = (wxString *) &arg9_defvalue ;
36893 wxGenericDirCtrl *result = 0 ;
36894 void *argp1 = 0 ;
36895 int res1 = 0 ;
36896 int val2 ;
36897 int ecode2 = 0 ;
36898 bool temp3 = false ;
36899 wxPoint temp4 ;
36900 wxSize temp5 ;
36901 long val6 ;
36902 int ecode6 = 0 ;
36903 bool temp7 = false ;
36904 int val8 ;
36905 int ecode8 = 0 ;
36906 bool temp9 = false ;
36907 PyObject * obj0 = 0 ;
36908 PyObject * obj1 = 0 ;
36909 PyObject * obj2 = 0 ;
36910 PyObject * obj3 = 0 ;
36911 PyObject * obj4 = 0 ;
36912 PyObject * obj5 = 0 ;
36913 PyObject * obj6 = 0 ;
36914 PyObject * obj7 = 0 ;
36915 PyObject * obj8 = 0 ;
36916 char * kwnames[] = {
36917 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36918 };
36919
36920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
36921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
36922 if (!SWIG_IsOK(res1)) {
36923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36924 }
36925 arg1 = reinterpret_cast< wxWindow * >(argp1);
36926 if (obj1) {
36927 ecode2 = SWIG_AsVal_int(obj1, &val2);
36928 if (!SWIG_IsOK(ecode2)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36930 }
36931 arg2 = static_cast< int >(val2);
36932 }
36933 if (obj2) {
36ed4f51 36934 {
1bd55598
RD
36935 arg3 = wxString_in_helper(obj2);
36936 if (arg3 == NULL) SWIG_fail;
36937 temp3 = true;
36ed4f51 36938 }
1bd55598
RD
36939 }
36940 if (obj3) {
d55e5bfc 36941 {
1bd55598
RD
36942 arg4 = &temp4;
36943 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 36944 }
1bd55598
RD
36945 }
36946 if (obj4) {
36ed4f51 36947 {
1bd55598
RD
36948 arg5 = &temp5;
36949 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 36950 }
1bd55598
RD
36951 }
36952 if (obj5) {
36953 ecode6 = SWIG_AsVal_long(obj5, &val6);
36954 if (!SWIG_IsOK(ecode6)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36956 }
36957 arg6 = static_cast< long >(val6);
36958 }
36959 if (obj6) {
36ed4f51 36960 {
1bd55598
RD
36961 arg7 = wxString_in_helper(obj6);
36962 if (arg7 == NULL) SWIG_fail;
36963 temp7 = true;
36ed4f51 36964 }
1bd55598
RD
36965 }
36966 if (obj7) {
36967 ecode8 = SWIG_AsVal_int(obj7, &val8);
36968 if (!SWIG_IsOK(ecode8)) {
36969 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36970 }
36971 arg8 = static_cast< int >(val8);
36972 }
36973 if (obj8) {
d55e5bfc 36974 {
1bd55598
RD
36975 arg9 = wxString_in_helper(obj8);
36976 if (arg9 == NULL) SWIG_fail;
36977 temp9 = true;
d55e5bfc 36978 }
1bd55598
RD
36979 }
36980 {
36981 if (!wxPyCheckForApp()) SWIG_fail;
36982 PyThreadState* __tstate = wxPyBeginAllowThreads();
36983 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
36984 wxPyEndAllowThreads(__tstate);
36985 if (PyErr_Occurred()) SWIG_fail;
36986 }
36987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
36988 {
36989 if (temp3)
36990 delete arg3;
36991 }
36992 {
36993 if (temp7)
36994 delete arg7;
36995 }
36996 {
36997 if (temp9)
36998 delete arg9;
36999 }
37000 return resultobj;
37001fail:
37002 {
37003 if (temp3)
37004 delete arg3;
37005 }
37006 {
37007 if (temp7)
37008 delete arg7;
37009 }
37010 {
37011 if (temp9)
37012 delete arg9;
37013 }
37014 return NULL;
d55e5bfc
RD
37015}
37016
37017
1bd55598
RD
37018SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37019 PyObject *resultobj = 0;
37020 wxGenericDirCtrl *result = 0 ;
37021
37022 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37023 {
37024 if (!wxPyCheckForApp()) SWIG_fail;
37025 PyThreadState* __tstate = wxPyBeginAllowThreads();
37026 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37027 wxPyEndAllowThreads(__tstate);
37028 if (PyErr_Occurred()) SWIG_fail;
37029 }
37030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37031 return resultobj;
37032fail:
37033 return NULL;
37034}
37035
37036
37037SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37038 PyObject *resultobj = 0;
37039 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37040 wxWindow *arg2 = (wxWindow *) 0 ;
37041 int arg3 = (int) (int)-1 ;
37042 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37043 wxString *arg4 = (wxString *) &arg4_defvalue ;
37044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37046 wxSize const &arg6_defvalue = wxDefaultSize ;
37047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37048 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37049 wxString const &arg8_defvalue = wxPyEmptyString ;
37050 wxString *arg8 = (wxString *) &arg8_defvalue ;
37051 int arg9 = (int) 0 ;
37052 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37053 wxString *arg10 = (wxString *) &arg10_defvalue ;
37054 bool result;
37055 void *argp1 = 0 ;
37056 int res1 = 0 ;
37057 void *argp2 = 0 ;
37058 int res2 = 0 ;
37059 int val3 ;
37060 int ecode3 = 0 ;
37061 bool temp4 = false ;
37062 wxPoint temp5 ;
37063 wxSize temp6 ;
37064 long val7 ;
37065 int ecode7 = 0 ;
37066 bool temp8 = false ;
37067 int val9 ;
37068 int ecode9 = 0 ;
37069 bool temp10 = false ;
37070 PyObject * obj0 = 0 ;
37071 PyObject * obj1 = 0 ;
37072 PyObject * obj2 = 0 ;
37073 PyObject * obj3 = 0 ;
37074 PyObject * obj4 = 0 ;
37075 PyObject * obj5 = 0 ;
37076 PyObject * obj6 = 0 ;
37077 PyObject * obj7 = 0 ;
37078 PyObject * obj8 = 0 ;
37079 PyObject * obj9 = 0 ;
37080 char * kwnames[] = {
37081 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37082 };
37083
37084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37086 if (!SWIG_IsOK(res1)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37088 }
37089 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37091 if (!SWIG_IsOK(res2)) {
37092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37093 }
37094 arg2 = reinterpret_cast< wxWindow * >(argp2);
37095 if (obj2) {
37096 ecode3 = SWIG_AsVal_int(obj2, &val3);
37097 if (!SWIG_IsOK(ecode3)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37099 }
37100 arg3 = static_cast< int >(val3);
37101 }
37102 if (obj3) {
36ed4f51 37103 {
1bd55598
RD
37104 arg4 = wxString_in_helper(obj3);
37105 if (arg4 == NULL) SWIG_fail;
37106 temp4 = true;
36ed4f51 37107 }
1bd55598
RD
37108 }
37109 if (obj4) {
36ed4f51 37110 {
1bd55598
RD
37111 arg5 = &temp5;
37112 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 37113 }
1bd55598
RD
37114 }
37115 if (obj5) {
d55e5bfc 37116 {
1bd55598
RD
37117 arg6 = &temp6;
37118 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37119 }
1bd55598
RD
37120 }
37121 if (obj6) {
37122 ecode7 = SWIG_AsVal_long(obj6, &val7);
37123 if (!SWIG_IsOK(ecode7)) {
37124 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37125 }
37126 arg7 = static_cast< long >(val7);
37127 }
37128 if (obj7) {
d55e5bfc 37129 {
1bd55598
RD
37130 arg8 = wxString_in_helper(obj7);
37131 if (arg8 == NULL) SWIG_fail;
37132 temp8 = true;
d55e5bfc 37133 }
1bd55598
RD
37134 }
37135 if (obj8) {
37136 ecode9 = SWIG_AsVal_int(obj8, &val9);
37137 if (!SWIG_IsOK(ecode9)) {
37138 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37139 }
37140 arg9 = static_cast< int >(val9);
37141 }
37142 if (obj9) {
36ed4f51 37143 {
1bd55598
RD
37144 arg10 = wxString_in_helper(obj9);
37145 if (arg10 == NULL) SWIG_fail;
37146 temp10 = true;
36ed4f51 37147 }
1bd55598
RD
37148 }
37149 {
37150 PyThreadState* __tstate = wxPyBeginAllowThreads();
37151 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37152 wxPyEndAllowThreads(__tstate);
37153 if (PyErr_Occurred()) SWIG_fail;
37154 }
37155 {
37156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37157 }
37158 {
37159 if (temp4)
37160 delete arg4;
37161 }
37162 {
37163 if (temp8)
37164 delete arg8;
37165 }
37166 {
37167 if (temp10)
37168 delete arg10;
37169 }
37170 return resultobj;
37171fail:
37172 {
37173 if (temp4)
37174 delete arg4;
37175 }
37176 {
37177 if (temp8)
37178 delete arg8;
37179 }
37180 {
37181 if (temp10)
37182 delete arg10;
37183 }
37184 return NULL;
37185}
37186
37187
37188SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37189 PyObject *resultobj = 0;
37190 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37191 wxString *arg2 = 0 ;
37192 bool result;
37193 void *argp1 = 0 ;
37194 int res1 = 0 ;
37195 bool temp2 = false ;
37196 PyObject * obj0 = 0 ;
37197 PyObject * obj1 = 0 ;
37198 char * kwnames[] = {
37199 (char *) "self",(char *) "path", NULL
37200 };
37201
37202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37204 if (!SWIG_IsOK(res1)) {
37205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37206 }
37207 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37208 {
37209 arg2 = wxString_in_helper(obj1);
37210 if (arg2 == NULL) SWIG_fail;
37211 temp2 = true;
37212 }
37213 {
37214 PyThreadState* __tstate = wxPyBeginAllowThreads();
37215 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37216 wxPyEndAllowThreads(__tstate);
37217 if (PyErr_Occurred()) SWIG_fail;
37218 }
37219 {
37220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37221 }
37222 {
37223 if (temp2)
37224 delete arg2;
37225 }
37226 return resultobj;
37227fail:
37228 {
37229 if (temp2)
37230 delete arg2;
37231 }
37232 return NULL;
d55e5bfc
RD
37233}
37234
37235
704eda0c
RD
37236SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37237 PyObject *resultobj = 0;
37238 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37239 wxString *arg2 = 0 ;
37240 bool result;
37241 void *argp1 = 0 ;
37242 int res1 = 0 ;
37243 bool temp2 = false ;
37244 PyObject * obj0 = 0 ;
37245 PyObject * obj1 = 0 ;
37246 char * kwnames[] = {
37247 (char *) "self",(char *) "path", NULL
37248 };
37249
37250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37252 if (!SWIG_IsOK(res1)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37254 }
37255 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37256 {
37257 arg2 = wxString_in_helper(obj1);
37258 if (arg2 == NULL) SWIG_fail;
37259 temp2 = true;
37260 }
37261 {
37262 PyThreadState* __tstate = wxPyBeginAllowThreads();
37263 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37264 wxPyEndAllowThreads(__tstate);
37265 if (PyErr_Occurred()) SWIG_fail;
37266 }
37267 {
37268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37269 }
37270 {
37271 if (temp2)
37272 delete arg2;
37273 }
37274 return resultobj;
37275fail:
37276 {
37277 if (temp2)
37278 delete arg2;
37279 }
37280 return NULL;
37281}
37282
37283
1bd55598
RD
37284SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37285 PyObject *resultobj = 0;
37286 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37287 wxString result;
37288 void *argp1 = 0 ;
37289 int res1 = 0 ;
37290 PyObject *swig_obj[1] ;
37291
37292 if (!args) SWIG_fail;
37293 swig_obj[0] = args;
37294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37295 if (!SWIG_IsOK(res1)) {
37296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37297 }
37298 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37299 {
37300 PyThreadState* __tstate = wxPyBeginAllowThreads();
37301 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37302 wxPyEndAllowThreads(__tstate);
37303 if (PyErr_Occurred()) SWIG_fail;
37304 }
37305 {
37306#if wxUSE_UNICODE
37307 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37308#else
37309 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37310#endif
37311 }
37312 return resultobj;
37313fail:
37314 return NULL;
37315}
37316
37317
37318SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37319 PyObject *resultobj = 0;
37320 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37321 wxString *arg2 = 0 ;
37322 void *argp1 = 0 ;
37323 int res1 = 0 ;
37324 bool temp2 = false ;
37325 PyObject * obj0 = 0 ;
37326 PyObject * obj1 = 0 ;
37327 char * kwnames[] = {
37328 (char *) "self",(char *) "path", NULL
37329 };
37330
37331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37333 if (!SWIG_IsOK(res1)) {
37334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37335 }
37336 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37337 {
37338 arg2 = wxString_in_helper(obj1);
37339 if (arg2 == NULL) SWIG_fail;
37340 temp2 = true;
37341 }
37342 {
37343 PyThreadState* __tstate = wxPyBeginAllowThreads();
37344 (arg1)->SetDefaultPath((wxString const &)*arg2);
37345 wxPyEndAllowThreads(__tstate);
37346 if (PyErr_Occurred()) SWIG_fail;
37347 }
37348 resultobj = SWIG_Py_Void();
37349 {
37350 if (temp2)
37351 delete arg2;
37352 }
37353 return resultobj;
37354fail:
37355 {
37356 if (temp2)
37357 delete arg2;
37358 }
37359 return NULL;
d55e5bfc
RD
37360}
37361
37362
1bd55598
RD
37363SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37364 PyObject *resultobj = 0;
37365 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37366 wxString result;
37367 void *argp1 = 0 ;
37368 int res1 = 0 ;
37369 PyObject *swig_obj[1] ;
37370
37371 if (!args) SWIG_fail;
37372 swig_obj[0] = args;
37373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37374 if (!SWIG_IsOK(res1)) {
37375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37376 }
37377 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37378 {
37379 PyThreadState* __tstate = wxPyBeginAllowThreads();
37380 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37381 wxPyEndAllowThreads(__tstate);
37382 if (PyErr_Occurred()) SWIG_fail;
37383 }
37384 {
37385#if wxUSE_UNICODE
37386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37387#else
37388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37389#endif
37390 }
37391 return resultobj;
37392fail:
37393 return NULL;
d55e5bfc
RD
37394}
37395
37396
1bd55598
RD
37397SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37398 PyObject *resultobj = 0;
37399 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37400 wxString result;
37401 void *argp1 = 0 ;
37402 int res1 = 0 ;
37403 PyObject *swig_obj[1] ;
37404
37405 if (!args) SWIG_fail;
37406 swig_obj[0] = args;
37407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37408 if (!SWIG_IsOK(res1)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37410 }
37411 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37412 {
37413 PyThreadState* __tstate = wxPyBeginAllowThreads();
37414 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37415 wxPyEndAllowThreads(__tstate);
37416 if (PyErr_Occurred()) SWIG_fail;
37417 }
37418 {
37419#if wxUSE_UNICODE
37420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37421#else
37422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37423#endif
37424 }
37425 return resultobj;
37426fail:
37427 return NULL;
37428}
37429
37430
37431SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37432 PyObject *resultobj = 0;
37433 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37434 wxString *arg2 = 0 ;
37435 void *argp1 = 0 ;
37436 int res1 = 0 ;
37437 bool temp2 = false ;
37438 PyObject * obj0 = 0 ;
37439 PyObject * obj1 = 0 ;
37440 char * kwnames[] = {
37441 (char *) "self",(char *) "path", NULL
37442 };
37443
37444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
37445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37446 if (!SWIG_IsOK(res1)) {
37447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37448 }
37449 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37450 {
37451 arg2 = wxString_in_helper(obj1);
37452 if (arg2 == NULL) SWIG_fail;
37453 temp2 = true;
37454 }
37455 {
37456 PyThreadState* __tstate = wxPyBeginAllowThreads();
37457 (arg1)->SetPath((wxString const &)*arg2);
37458 wxPyEndAllowThreads(__tstate);
37459 if (PyErr_Occurred()) SWIG_fail;
37460 }
37461 resultobj = SWIG_Py_Void();
37462 {
37463 if (temp2)
37464 delete arg2;
37465 }
37466 return resultobj;
37467fail:
37468 {
37469 if (temp2)
37470 delete arg2;
37471 }
37472 return NULL;
37473}
37474
37475
37476SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37477 PyObject *resultobj = 0;
37478 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37479 bool arg2 ;
37480 void *argp1 = 0 ;
37481 int res1 = 0 ;
37482 bool val2 ;
37483 int ecode2 = 0 ;
37484 PyObject * obj0 = 0 ;
37485 PyObject * obj1 = 0 ;
37486 char * kwnames[] = {
37487 (char *) "self",(char *) "show", NULL
37488 };
37489
37490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
37491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37492 if (!SWIG_IsOK(res1)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37494 }
37495 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37496 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37497 if (!SWIG_IsOK(ecode2)) {
37498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37499 }
37500 arg2 = static_cast< bool >(val2);
37501 {
37502 PyThreadState* __tstate = wxPyBeginAllowThreads();
37503 (arg1)->ShowHidden(arg2);
37504 wxPyEndAllowThreads(__tstate);
37505 if (PyErr_Occurred()) SWIG_fail;
37506 }
37507 resultobj = SWIG_Py_Void();
37508 return resultobj;
37509fail:
37510 return NULL;
d55e5bfc
RD
37511}
37512
37513
1bd55598
RD
37514SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37515 PyObject *resultobj = 0;
37516 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37517 bool result;
37518 void *argp1 = 0 ;
37519 int res1 = 0 ;
37520 PyObject *swig_obj[1] ;
37521
37522 if (!args) SWIG_fail;
37523 swig_obj[0] = args;
37524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37525 if (!SWIG_IsOK(res1)) {
37526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37527 }
37528 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37529 {
37530 PyThreadState* __tstate = wxPyBeginAllowThreads();
37531 result = (bool)(arg1)->GetShowHidden();
37532 wxPyEndAllowThreads(__tstate);
37533 if (PyErr_Occurred()) SWIG_fail;
37534 }
37535 {
37536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37537 }
37538 return resultobj;
37539fail:
37540 return NULL;
d55e5bfc
RD
37541}
37542
37543
1bd55598
RD
37544SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37545 PyObject *resultobj = 0;
37546 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37547 wxString result;
37548 void *argp1 = 0 ;
37549 int res1 = 0 ;
37550 PyObject *swig_obj[1] ;
37551
37552 if (!args) SWIG_fail;
37553 swig_obj[0] = args;
37554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37555 if (!SWIG_IsOK(res1)) {
37556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37557 }
37558 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37559 {
37560 PyThreadState* __tstate = wxPyBeginAllowThreads();
37561 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
37562 wxPyEndAllowThreads(__tstate);
37563 if (PyErr_Occurred()) SWIG_fail;
37564 }
37565 {
37566#if wxUSE_UNICODE
37567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37568#else
37569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37570#endif
37571 }
37572 return resultobj;
37573fail:
37574 return NULL;
37575}
37576
37577
37578SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37579 PyObject *resultobj = 0;
37580 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37581 wxString *arg2 = 0 ;
37582 void *argp1 = 0 ;
37583 int res1 = 0 ;
37584 bool temp2 = false ;
37585 PyObject * obj0 = 0 ;
37586 PyObject * obj1 = 0 ;
37587 char * kwnames[] = {
37588 (char *) "self",(char *) "filter", NULL
37589 };
37590
37591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
37592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37593 if (!SWIG_IsOK(res1)) {
37594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37595 }
37596 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37597 {
37598 arg2 = wxString_in_helper(obj1);
37599 if (arg2 == NULL) SWIG_fail;
37600 temp2 = true;
37601 }
37602 {
37603 PyThreadState* __tstate = wxPyBeginAllowThreads();
37604 (arg1)->SetFilter((wxString const &)*arg2);
37605 wxPyEndAllowThreads(__tstate);
37606 if (PyErr_Occurred()) SWIG_fail;
37607 }
37608 resultobj = SWIG_Py_Void();
37609 {
37610 if (temp2)
37611 delete arg2;
37612 }
37613 return resultobj;
37614fail:
37615 {
37616 if (temp2)
37617 delete arg2;
37618 }
37619 return NULL;
d55e5bfc
RD
37620}
37621
37622
1bd55598
RD
37623SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37624 PyObject *resultobj = 0;
37625 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37626 int result;
37627 void *argp1 = 0 ;
37628 int res1 = 0 ;
37629 PyObject *swig_obj[1] ;
37630
37631 if (!args) SWIG_fail;
37632 swig_obj[0] = args;
37633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37634 if (!SWIG_IsOK(res1)) {
37635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37636 }
37637 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37638 {
37639 PyThreadState* __tstate = wxPyBeginAllowThreads();
37640 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
37641 wxPyEndAllowThreads(__tstate);
37642 if (PyErr_Occurred()) SWIG_fail;
37643 }
37644 resultobj = SWIG_From_int(static_cast< int >(result));
37645 return resultobj;
37646fail:
37647 return NULL;
37648}
37649
37650
37651SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37652 PyObject *resultobj = 0;
37653 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37654 int arg2 ;
37655 void *argp1 = 0 ;
37656 int res1 = 0 ;
37657 int val2 ;
37658 int ecode2 = 0 ;
37659 PyObject * obj0 = 0 ;
37660 PyObject * obj1 = 0 ;
37661 char * kwnames[] = {
37662 (char *) "self",(char *) "n", NULL
37663 };
37664
37665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
37666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37667 if (!SWIG_IsOK(res1)) {
37668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37669 }
37670 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37671 ecode2 = SWIG_AsVal_int(obj1, &val2);
37672 if (!SWIG_IsOK(ecode2)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37674 }
37675 arg2 = static_cast< int >(val2);
37676 {
37677 PyThreadState* __tstate = wxPyBeginAllowThreads();
37678 (arg1)->SetFilterIndex(arg2);
37679 wxPyEndAllowThreads(__tstate);
37680 if (PyErr_Occurred()) SWIG_fail;
37681 }
37682 resultobj = SWIG_Py_Void();
37683 return resultobj;
37684fail:
37685 return NULL;
d55e5bfc
RD
37686}
37687
37688
1bd55598
RD
37689SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37690 PyObject *resultobj = 0;
37691 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37692 wxTreeItemId result;
37693 void *argp1 = 0 ;
37694 int res1 = 0 ;
37695 PyObject *swig_obj[1] ;
37696
37697 if (!args) SWIG_fail;
37698 swig_obj[0] = args;
37699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37700 if (!SWIG_IsOK(res1)) {
37701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37702 }
37703 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37704 {
37705 PyThreadState* __tstate = wxPyBeginAllowThreads();
37706 result = (arg1)->GetRootId();
37707 wxPyEndAllowThreads(__tstate);
37708 if (PyErr_Occurred()) SWIG_fail;
37709 }
37710 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37711 return resultobj;
37712fail:
37713 return NULL;
d55e5bfc
RD
37714}
37715
37716
1bd55598
RD
37717SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37718 PyObject *resultobj = 0;
37719 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37720 wxPyTreeCtrl *result = 0 ;
37721 void *argp1 = 0 ;
37722 int res1 = 0 ;
37723 PyObject *swig_obj[1] ;
37724
37725 if (!args) SWIG_fail;
37726 swig_obj[0] = args;
37727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37728 if (!SWIG_IsOK(res1)) {
37729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37730 }
37731 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37732 {
37733 PyThreadState* __tstate = wxPyBeginAllowThreads();
37734 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
37735 wxPyEndAllowThreads(__tstate);
37736 if (PyErr_Occurred()) SWIG_fail;
37737 }
37738 {
37739 resultobj = wxPyMake_wxObject(result, 0);
37740 }
37741 return resultobj;
37742fail:
37743 return NULL;
d55e5bfc
RD
37744}
37745
37746
1bd55598
RD
37747SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37748 PyObject *resultobj = 0;
37749 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37750 wxDirFilterListCtrl *result = 0 ;
37751 void *argp1 = 0 ;
37752 int res1 = 0 ;
37753 PyObject *swig_obj[1] ;
37754
37755 if (!args) SWIG_fail;
37756 swig_obj[0] = args;
37757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37758 if (!SWIG_IsOK(res1)) {
37759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37760 }
37761 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37762 {
37763 PyThreadState* __tstate = wxPyBeginAllowThreads();
37764 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
37765 wxPyEndAllowThreads(__tstate);
37766 if (PyErr_Occurred()) SWIG_fail;
37767 }
37768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
37769 return resultobj;
37770fail:
37771 return NULL;
37772}
37773
37774
37775SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37776 PyObject *resultobj = 0;
37777 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37778 wxTreeItemId arg2 ;
37779 wxString *arg3 = 0 ;
37780 bool *arg4 = 0 ;
37781 wxTreeItemId result;
37782 void *argp1 = 0 ;
37783 int res1 = 0 ;
37784 void *argp2 ;
37785 int res2 = 0 ;
37786 bool temp3 = false ;
37787 bool temp4 ;
37788 int res4 = SWIG_TMPOBJ ;
37789 PyObject * obj0 = 0 ;
37790 PyObject * obj1 = 0 ;
37791 PyObject * obj2 = 0 ;
37792 char * kwnames[] = {
37793 (char *) "self",(char *) "parentId",(char *) "path", NULL
37794 };
37795
37796 arg4 = &temp4;
37797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37799 if (!SWIG_IsOK(res1)) {
37800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37801 }
37802 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37803 {
37804 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37805 if (!SWIG_IsOK(res2)) {
37806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37807 }
37808 if (!argp2) {
37809 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37810 } else {
37811 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
37812 arg2 = *temp;
37813 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 37814 }
1bd55598
RD
37815 }
37816 {
37817 arg3 = wxString_in_helper(obj2);
37818 if (arg3 == NULL) SWIG_fail;
37819 temp3 = true;
37820 }
37821 {
37822 PyThreadState* __tstate = wxPyBeginAllowThreads();
37823 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
37824 wxPyEndAllowThreads(__tstate);
37825 if (PyErr_Occurred()) SWIG_fail;
37826 }
37827 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37828 if (SWIG_IsTmpObj(res4)) {
37829 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
37830 } else {
37831 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37832 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
37833 }
37834 {
37835 if (temp3)
37836 delete arg3;
37837 }
37838 return resultobj;
37839fail:
37840 {
37841 if (temp3)
37842 delete arg3;
37843 }
37844 return NULL;
d55e5bfc
RD
37845}
37846
37847
1bd55598
RD
37848SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37849 PyObject *resultobj = 0;
37850 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37851 void *argp1 = 0 ;
37852 int res1 = 0 ;
37853 PyObject *swig_obj[1] ;
37854
37855 if (!args) SWIG_fail;
37856 swig_obj[0] = args;
37857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37858 if (!SWIG_IsOK(res1)) {
37859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37860 }
37861 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37862 {
37863 PyThreadState* __tstate = wxPyBeginAllowThreads();
37864 (arg1)->DoResize();
37865 wxPyEndAllowThreads(__tstate);
37866 if (PyErr_Occurred()) SWIG_fail;
37867 }
37868 resultobj = SWIG_Py_Void();
37869 return resultobj;
37870fail:
37871 return NULL;
37872}
37873
37874
37875SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37876 PyObject *resultobj = 0;
37877 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37878 void *argp1 = 0 ;
37879 int res1 = 0 ;
37880 PyObject *swig_obj[1] ;
37881
37882 if (!args) SWIG_fail;
37883 swig_obj[0] = args;
37884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37885 if (!SWIG_IsOK(res1)) {
37886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37887 }
37888 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37889 {
37890 PyThreadState* __tstate = wxPyBeginAllowThreads();
37891 (arg1)->ReCreateTree();
37892 wxPyEndAllowThreads(__tstate);
37893 if (PyErr_Occurred()) SWIG_fail;
37894 }
37895 resultobj = SWIG_Py_Void();
37896 return resultobj;
37897fail:
37898 return NULL;
37899}
37900
37901
37902SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37903 PyObject *obj;
37904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37905 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
37906 return SWIG_Py_Void();
37907}
37908
37909SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37910 return SWIG_Python_InitShadowInstance(args);
37911}
37912
37913SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37914 PyObject *resultobj = 0;
37915 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37916 int arg2 = (int) (int)-1 ;
37917 wxPoint const &arg3_defvalue = wxDefaultPosition ;
37918 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
37919 wxSize const &arg4_defvalue = wxDefaultSize ;
37920 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
37921 long arg5 = (long) 0 ;
37922 wxDirFilterListCtrl *result = 0 ;
37923 void *argp1 = 0 ;
37924 int res1 = 0 ;
37925 int val2 ;
37926 int ecode2 = 0 ;
37927 wxPoint temp3 ;
37928 wxSize temp4 ;
37929 long val5 ;
37930 int ecode5 = 0 ;
37931 PyObject * obj0 = 0 ;
37932 PyObject * obj1 = 0 ;
37933 PyObject * obj2 = 0 ;
37934 PyObject * obj3 = 0 ;
37935 PyObject * obj4 = 0 ;
37936 char * kwnames[] = {
37937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37938 };
37939
37940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
37941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37942 if (!SWIG_IsOK(res1)) {
37943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37944 }
37945 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37946 if (obj1) {
37947 ecode2 = SWIG_AsVal_int(obj1, &val2);
37948 if (!SWIG_IsOK(ecode2)) {
37949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37950 }
37951 arg2 = static_cast< int >(val2);
37952 }
37953 if (obj2) {
d55e5bfc 37954 {
1bd55598
RD
37955 arg3 = &temp3;
37956 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 37957 }
1bd55598
RD
37958 }
37959 if (obj3) {
d55e5bfc 37960 {
1bd55598
RD
37961 arg4 = &temp4;
37962 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 37963 }
1bd55598
RD
37964 }
37965 if (obj4) {
37966 ecode5 = SWIG_AsVal_long(obj4, &val5);
37967 if (!SWIG_IsOK(ecode5)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37969 }
37970 arg5 = static_cast< long >(val5);
37971 }
37972 {
37973 if (!wxPyCheckForApp()) SWIG_fail;
37974 PyThreadState* __tstate = wxPyBeginAllowThreads();
37975 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
37976 wxPyEndAllowThreads(__tstate);
37977 if (PyErr_Occurred()) SWIG_fail;
37978 }
37979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
37980 return resultobj;
37981fail:
37982 return NULL;
d55e5bfc
RD
37983}
37984
37985
1bd55598
RD
37986SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37987 PyObject *resultobj = 0;
37988 wxDirFilterListCtrl *result = 0 ;
37989
37990 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
37991 {
37992 if (!wxPyCheckForApp()) SWIG_fail;
37993 PyThreadState* __tstate = wxPyBeginAllowThreads();
37994 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
37995 wxPyEndAllowThreads(__tstate);
37996 if (PyErr_Occurred()) SWIG_fail;
37997 }
37998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
37999 return resultobj;
38000fail:
38001 return NULL;
38002}
38003
38004
38005SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38006 PyObject *resultobj = 0;
38007 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38008 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38009 int arg3 = (int) (int)-1 ;
38010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38012 wxSize const &arg5_defvalue = wxDefaultSize ;
38013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38014 long arg6 = (long) 0 ;
38015 bool result;
38016 void *argp1 = 0 ;
38017 int res1 = 0 ;
38018 void *argp2 = 0 ;
38019 int res2 = 0 ;
38020 int val3 ;
38021 int ecode3 = 0 ;
38022 wxPoint temp4 ;
38023 wxSize temp5 ;
38024 long val6 ;
38025 int ecode6 = 0 ;
38026 PyObject * obj0 = 0 ;
38027 PyObject * obj1 = 0 ;
38028 PyObject * obj2 = 0 ;
38029 PyObject * obj3 = 0 ;
38030 PyObject * obj4 = 0 ;
38031 PyObject * obj5 = 0 ;
38032 char * kwnames[] = {
38033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38034 };
38035
38036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38038 if (!SWIG_IsOK(res1)) {
38039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38040 }
38041 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38042 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38043 if (!SWIG_IsOK(res2)) {
38044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38045 }
38046 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38047 if (obj2) {
38048 ecode3 = SWIG_AsVal_int(obj2, &val3);
38049 if (!SWIG_IsOK(ecode3)) {
38050 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38051 }
38052 arg3 = static_cast< int >(val3);
38053 }
38054 if (obj3) {
36ed4f51 38055 {
1bd55598
RD
38056 arg4 = &temp4;
38057 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 38058 }
1bd55598
RD
38059 }
38060 if (obj4) {
36ed4f51 38061 {
1bd55598
RD
38062 arg5 = &temp5;
38063 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 38064 }
1bd55598
RD
38065 }
38066 if (obj5) {
38067 ecode6 = SWIG_AsVal_long(obj5, &val6);
38068 if (!SWIG_IsOK(ecode6)) {
38069 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38070 }
38071 arg6 = static_cast< long >(val6);
38072 }
38073 {
38074 PyThreadState* __tstate = wxPyBeginAllowThreads();
38075 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38076 wxPyEndAllowThreads(__tstate);
38077 if (PyErr_Occurred()) SWIG_fail;
38078 }
38079 {
38080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38081 }
38082 return resultobj;
38083fail:
38084 return NULL;
38085}
38086
38087
38088SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38089 PyObject *resultobj = 0;
38090 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38091 wxString *arg2 = 0 ;
38092 int arg3 ;
38093 void *argp1 = 0 ;
38094 int res1 = 0 ;
38095 bool temp2 = false ;
38096 int val3 ;
38097 int ecode3 = 0 ;
38098 PyObject * obj0 = 0 ;
38099 PyObject * obj1 = 0 ;
38100 PyObject * obj2 = 0 ;
38101 char * kwnames[] = {
38102 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38103 };
38104
38105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38107 if (!SWIG_IsOK(res1)) {
38108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38109 }
38110 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38111 {
38112 arg2 = wxString_in_helper(obj1);
38113 if (arg2 == NULL) SWIG_fail;
38114 temp2 = true;
38115 }
38116 ecode3 = SWIG_AsVal_int(obj2, &val3);
38117 if (!SWIG_IsOK(ecode3)) {
38118 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38119 }
38120 arg3 = static_cast< int >(val3);
38121 {
38122 PyThreadState* __tstate = wxPyBeginAllowThreads();
38123 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38124 wxPyEndAllowThreads(__tstate);
38125 if (PyErr_Occurred()) SWIG_fail;
38126 }
38127 resultobj = SWIG_Py_Void();
38128 {
38129 if (temp2)
38130 delete arg2;
38131 }
38132 return resultobj;
38133fail:
38134 {
38135 if (temp2)
38136 delete arg2;
38137 }
38138 return NULL;
38139}
38140
38141
38142SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38143 PyObject *obj;
38144 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38145 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38146 return SWIG_Py_Void();
38147}
38148
38149SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38150 return SWIG_Python_InitShadowInstance(args);
38151}
38152
38153SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38154 PyObject *resultobj = 0;
38155 wxWindow *arg1 = (wxWindow *) 0 ;
38156 int arg2 = (int) (int)-1 ;
38157 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38158 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38159 wxSize const &arg4_defvalue = wxDefaultSize ;
38160 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38161 long arg5 = (long) 0 ;
38162 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38163 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38164 wxString const &arg7_defvalue = wxPyControlNameStr ;
38165 wxString *arg7 = (wxString *) &arg7_defvalue ;
38166 wxPyControl *result = 0 ;
38167 void *argp1 = 0 ;
38168 int res1 = 0 ;
38169 int val2 ;
38170 int ecode2 = 0 ;
38171 wxPoint temp3 ;
38172 wxSize temp4 ;
38173 long val5 ;
38174 int ecode5 = 0 ;
38175 void *argp6 = 0 ;
38176 int res6 = 0 ;
38177 bool temp7 = false ;
38178 PyObject * obj0 = 0 ;
38179 PyObject * obj1 = 0 ;
38180 PyObject * obj2 = 0 ;
38181 PyObject * obj3 = 0 ;
38182 PyObject * obj4 = 0 ;
38183 PyObject * obj5 = 0 ;
38184 PyObject * obj6 = 0 ;
38185 char * kwnames[] = {
38186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38187 };
38188
38189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38191 if (!SWIG_IsOK(res1)) {
38192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38193 }
38194 arg1 = reinterpret_cast< wxWindow * >(argp1);
38195 if (obj1) {
38196 ecode2 = SWIG_AsVal_int(obj1, &val2);
38197 if (!SWIG_IsOK(ecode2)) {
38198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38199 }
38200 arg2 = static_cast< int >(val2);
38201 }
38202 if (obj2) {
d55e5bfc 38203 {
1bd55598
RD
38204 arg3 = &temp3;
38205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38206 }
1bd55598
RD
38207 }
38208 if (obj3) {
d55e5bfc 38209 {
1bd55598
RD
38210 arg4 = &temp4;
38211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38212 }
1bd55598
RD
38213 }
38214 if (obj4) {
38215 ecode5 = SWIG_AsVal_long(obj4, &val5);
38216 if (!SWIG_IsOK(ecode5)) {
38217 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38218 }
38219 arg5 = static_cast< long >(val5);
38220 }
38221 if (obj5) {
38222 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38223 if (!SWIG_IsOK(res6)) {
38224 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
f20a2e1f 38225 }
1bd55598
RD
38226 if (!argp6) {
38227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
f20a2e1f 38228 }
1bd55598
RD
38229 arg6 = reinterpret_cast< wxValidator * >(argp6);
38230 }
38231 if (obj6) {
f20a2e1f 38232 {
1bd55598
RD
38233 arg7 = wxString_in_helper(obj6);
38234 if (arg7 == NULL) SWIG_fail;
38235 temp7 = true;
f20a2e1f 38236 }
1bd55598
RD
38237 }
38238 {
38239 if (!wxPyCheckForApp()) SWIG_fail;
38240 PyThreadState* __tstate = wxPyBeginAllowThreads();
38241 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38242 wxPyEndAllowThreads(__tstate);
38243 if (PyErr_Occurred()) SWIG_fail;
38244 }
38245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38246 {
38247 if (temp7)
38248 delete arg7;
38249 }
38250 return resultobj;
38251fail:
38252 {
38253 if (temp7)
38254 delete arg7;
38255 }
38256 return NULL;
d55e5bfc
RD
38257}
38258
38259
1bd55598
RD
38260SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38261 PyObject *resultobj = 0;
38262 wxPyControl *result = 0 ;
38263
38264 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38265 {
38266 if (!wxPyCheckForApp()) SWIG_fail;
38267 PyThreadState* __tstate = wxPyBeginAllowThreads();
38268 result = (wxPyControl *)new wxPyControl();
38269 wxPyEndAllowThreads(__tstate);
38270 if (PyErr_Occurred()) SWIG_fail;
38271 }
38272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38273 return resultobj;
38274fail:
38275 return NULL;
38276}
38277
38278
38279SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38280 PyObject *resultobj = 0;
38281 wxPyControl *arg1 = (wxPyControl *) 0 ;
38282 PyObject *arg2 = (PyObject *) 0 ;
38283 PyObject *arg3 = (PyObject *) 0 ;
38284 void *argp1 = 0 ;
38285 int res1 = 0 ;
38286 PyObject * obj0 = 0 ;
38287 PyObject * obj1 = 0 ;
38288 PyObject * obj2 = 0 ;
38289 char * kwnames[] = {
38290 (char *) "self",(char *) "self",(char *) "_class", NULL
38291 };
38292
38293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38295 if (!SWIG_IsOK(res1)) {
38296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38297 }
38298 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38299 arg2 = obj1;
38300 arg3 = obj2;
38301 {
38302 PyThreadState* __tstate = wxPyBeginAllowThreads();
38303 (arg1)->_setCallbackInfo(arg2,arg3);
38304 wxPyEndAllowThreads(__tstate);
38305 if (PyErr_Occurred()) SWIG_fail;
38306 }
38307 resultobj = SWIG_Py_Void();
38308 return resultobj;
38309fail:
38310 return NULL;
38311}
38312
38313
38314SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38315 PyObject *resultobj = 0;
38316 wxPyControl *arg1 = (wxPyControl *) 0 ;
38317 wxSize *arg2 = 0 ;
38318 void *argp1 = 0 ;
38319 int res1 = 0 ;
38320 wxSize temp2 ;
38321 PyObject * obj0 = 0 ;
38322 PyObject * obj1 = 0 ;
38323 char * kwnames[] = {
38324 (char *) "self",(char *) "size", NULL
38325 };
38326
38327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
38328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38329 if (!SWIG_IsOK(res1)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38331 }
38332 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38333 {
38334 arg2 = &temp2;
38335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38336 }
38337 {
38338 PyThreadState* __tstate = wxPyBeginAllowThreads();
38339 (arg1)->SetBestSize((wxSize const &)*arg2);
38340 wxPyEndAllowThreads(__tstate);
38341 if (PyErr_Occurred()) SWIG_fail;
38342 }
38343 resultobj = SWIG_Py_Void();
38344 return resultobj;
38345fail:
38346 return NULL;
38347}
38348
38349
38350SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38351 PyObject *resultobj = 0;
38352 wxPyControl *arg1 = (wxPyControl *) 0 ;
38353 wxDC *arg2 = (wxDC *) 0 ;
38354 bool result;
38355 void *argp1 = 0 ;
38356 int res1 = 0 ;
38357 void *argp2 = 0 ;
38358 int res2 = 0 ;
38359 PyObject * obj0 = 0 ;
38360 PyObject * obj1 = 0 ;
38361 char * kwnames[] = {
38362 (char *) "self",(char *) "dc", NULL
38363 };
38364
38365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38367 if (!SWIG_IsOK(res1)) {
38368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38369 }
38370 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38371 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38372 if (!SWIG_IsOK(res2)) {
38373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38374 }
38375 arg2 = reinterpret_cast< wxDC * >(argp2);
38376 {
38377 PyThreadState* __tstate = wxPyBeginAllowThreads();
38378 result = (bool)(arg1)->DoEraseBackground(arg2);
38379 wxPyEndAllowThreads(__tstate);
38380 if (PyErr_Occurred()) SWIG_fail;
38381 }
38382 {
38383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38384 }
38385 return resultobj;
38386fail:
38387 return NULL;
38388}
38389
38390
38391SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38392 PyObject *resultobj = 0;
38393 wxPyControl *arg1 = (wxPyControl *) 0 ;
38394 int arg2 ;
38395 int arg3 ;
38396 int arg4 ;
38397 int arg5 ;
38398 void *argp1 = 0 ;
38399 int res1 = 0 ;
38400 int val2 ;
38401 int ecode2 = 0 ;
38402 int val3 ;
38403 int ecode3 = 0 ;
38404 int val4 ;
38405 int ecode4 = 0 ;
38406 int val5 ;
38407 int ecode5 = 0 ;
38408 PyObject * obj0 = 0 ;
38409 PyObject * obj1 = 0 ;
38410 PyObject * obj2 = 0 ;
38411 PyObject * obj3 = 0 ;
38412 PyObject * obj4 = 0 ;
38413 char * kwnames[] = {
38414 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38415 };
38416
38417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38419 if (!SWIG_IsOK(res1)) {
38420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38421 }
38422 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38423 ecode2 = SWIG_AsVal_int(obj1, &val2);
38424 if (!SWIG_IsOK(ecode2)) {
38425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38426 }
38427 arg2 = static_cast< int >(val2);
38428 ecode3 = SWIG_AsVal_int(obj2, &val3);
38429 if (!SWIG_IsOK(ecode3)) {
38430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38431 }
38432 arg3 = static_cast< int >(val3);
38433 ecode4 = SWIG_AsVal_int(obj3, &val4);
38434 if (!SWIG_IsOK(ecode4)) {
38435 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38436 }
38437 arg4 = static_cast< int >(val4);
38438 ecode5 = SWIG_AsVal_int(obj4, &val5);
38439 if (!SWIG_IsOK(ecode5)) {
38440 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38441 }
38442 arg5 = static_cast< int >(val5);
38443 {
38444 PyThreadState* __tstate = wxPyBeginAllowThreads();
38445 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38446 wxPyEndAllowThreads(__tstate);
38447 if (PyErr_Occurred()) SWIG_fail;
38448 }
38449 resultobj = SWIG_Py_Void();
38450 return resultobj;
38451fail:
38452 return NULL;
38453}
38454
38455
38456SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38457 PyObject *resultobj = 0;
38458 wxPyControl *arg1 = (wxPyControl *) 0 ;
38459 int arg2 ;
38460 int arg3 ;
38461 int arg4 ;
38462 int arg5 ;
38463 int arg6 = (int) wxSIZE_AUTO ;
38464 void *argp1 = 0 ;
38465 int res1 = 0 ;
38466 int val2 ;
38467 int ecode2 = 0 ;
38468 int val3 ;
38469 int ecode3 = 0 ;
38470 int val4 ;
38471 int ecode4 = 0 ;
38472 int val5 ;
38473 int ecode5 = 0 ;
38474 int val6 ;
38475 int ecode6 = 0 ;
38476 PyObject * obj0 = 0 ;
38477 PyObject * obj1 = 0 ;
38478 PyObject * obj2 = 0 ;
38479 PyObject * obj3 = 0 ;
38480 PyObject * obj4 = 0 ;
38481 PyObject * obj5 = 0 ;
38482 char * kwnames[] = {
38483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38484 };
38485
38486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38488 if (!SWIG_IsOK(res1)) {
38489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38490 }
38491 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38492 ecode2 = SWIG_AsVal_int(obj1, &val2);
38493 if (!SWIG_IsOK(ecode2)) {
38494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38495 }
38496 arg2 = static_cast< int >(val2);
38497 ecode3 = SWIG_AsVal_int(obj2, &val3);
38498 if (!SWIG_IsOK(ecode3)) {
38499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38500 }
38501 arg3 = static_cast< int >(val3);
38502 ecode4 = SWIG_AsVal_int(obj3, &val4);
38503 if (!SWIG_IsOK(ecode4)) {
38504 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38505 }
38506 arg4 = static_cast< int >(val4);
38507 ecode5 = SWIG_AsVal_int(obj4, &val5);
38508 if (!SWIG_IsOK(ecode5)) {
38509 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38510 }
38511 arg5 = static_cast< int >(val5);
38512 if (obj5) {
38513 ecode6 = SWIG_AsVal_int(obj5, &val6);
38514 if (!SWIG_IsOK(ecode6)) {
38515 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38516 }
38517 arg6 = static_cast< int >(val6);
38518 }
38519 {
38520 PyThreadState* __tstate = wxPyBeginAllowThreads();
38521 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
38522 wxPyEndAllowThreads(__tstate);
38523 if (PyErr_Occurred()) SWIG_fail;
38524 }
38525 resultobj = SWIG_Py_Void();
38526 return resultobj;
38527fail:
38528 return NULL;
38529}
38530
38531
38532SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38533 PyObject *resultobj = 0;
38534 wxPyControl *arg1 = (wxPyControl *) 0 ;
38535 int arg2 ;
38536 int arg3 ;
38537 void *argp1 = 0 ;
38538 int res1 = 0 ;
38539 int val2 ;
38540 int ecode2 = 0 ;
38541 int val3 ;
38542 int ecode3 = 0 ;
38543 PyObject * obj0 = 0 ;
38544 PyObject * obj1 = 0 ;
38545 PyObject * obj2 = 0 ;
38546 char * kwnames[] = {
38547 (char *) "self",(char *) "width",(char *) "height", NULL
38548 };
38549
38550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38552 if (!SWIG_IsOK(res1)) {
38553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38554 }
38555 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38556 ecode2 = SWIG_AsVal_int(obj1, &val2);
38557 if (!SWIG_IsOK(ecode2)) {
38558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38559 }
38560 arg2 = static_cast< int >(val2);
38561 ecode3 = SWIG_AsVal_int(obj2, &val3);
38562 if (!SWIG_IsOK(ecode3)) {
38563 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38564 }
38565 arg3 = static_cast< int >(val3);
38566 {
38567 PyThreadState* __tstate = wxPyBeginAllowThreads();
38568 (arg1)->DoSetClientSize(arg2,arg3);
38569 wxPyEndAllowThreads(__tstate);
38570 if (PyErr_Occurred()) SWIG_fail;
38571 }
38572 resultobj = SWIG_Py_Void();
38573 return resultobj;
38574fail:
38575 return NULL;
38576}
38577
38578
38579SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38580 PyObject *resultobj = 0;
38581 wxPyControl *arg1 = (wxPyControl *) 0 ;
38582 int arg2 ;
38583 int arg3 ;
38584 void *argp1 = 0 ;
38585 int res1 = 0 ;
38586 int val2 ;
38587 int ecode2 = 0 ;
38588 int val3 ;
38589 int ecode3 = 0 ;
38590 PyObject * obj0 = 0 ;
38591 PyObject * obj1 = 0 ;
38592 PyObject * obj2 = 0 ;
38593 char * kwnames[] = {
38594 (char *) "self",(char *) "x",(char *) "y", NULL
38595 };
38596
38597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38599 if (!SWIG_IsOK(res1)) {
38600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38601 }
38602 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38603 ecode2 = SWIG_AsVal_int(obj1, &val2);
38604 if (!SWIG_IsOK(ecode2)) {
38605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38606 }
38607 arg2 = static_cast< int >(val2);
38608 ecode3 = SWIG_AsVal_int(obj2, &val3);
38609 if (!SWIG_IsOK(ecode3)) {
38610 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38611 }
38612 arg3 = static_cast< int >(val3);
38613 {
38614 PyThreadState* __tstate = wxPyBeginAllowThreads();
38615 (arg1)->DoSetVirtualSize(arg2,arg3);
38616 wxPyEndAllowThreads(__tstate);
38617 if (PyErr_Occurred()) SWIG_fail;
38618 }
38619 resultobj = SWIG_Py_Void();
38620 return resultobj;
38621fail:
38622 return NULL;
38623}
38624
38625
38626SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38627 PyObject *resultobj = 0;
38628 wxPyControl *arg1 = (wxPyControl *) 0 ;
38629 int *arg2 = (int *) 0 ;
38630 int *arg3 = (int *) 0 ;
38631 void *argp1 = 0 ;
38632 int res1 = 0 ;
38633 int temp2 ;
38634 int res2 = SWIG_TMPOBJ ;
38635 int temp3 ;
38636 int res3 = SWIG_TMPOBJ ;
38637 PyObject *swig_obj[1] ;
38638
38639 arg2 = &temp2;
38640 arg3 = &temp3;
38641 if (!args) SWIG_fail;
38642 swig_obj[0] = args;
38643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38644 if (!SWIG_IsOK(res1)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38646 }
38647 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38648 {
38649 PyThreadState* __tstate = wxPyBeginAllowThreads();
38650 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
38651 wxPyEndAllowThreads(__tstate);
38652 if (PyErr_Occurred()) SWIG_fail;
38653 }
38654 resultobj = SWIG_Py_Void();
38655 if (SWIG_IsTmpObj(res2)) {
38656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38657 } else {
38658 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38660 }
38661 if (SWIG_IsTmpObj(res3)) {
38662 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38663 } else {
38664 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38666 }
38667 return resultobj;
38668fail:
38669 return NULL;
38670}
38671
38672
38673SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38674 PyObject *resultobj = 0;
38675 wxPyControl *arg1 = (wxPyControl *) 0 ;
38676 int *arg2 = (int *) 0 ;
38677 int *arg3 = (int *) 0 ;
38678 void *argp1 = 0 ;
38679 int res1 = 0 ;
38680 int temp2 ;
38681 int res2 = SWIG_TMPOBJ ;
38682 int temp3 ;
38683 int res3 = SWIG_TMPOBJ ;
38684 PyObject *swig_obj[1] ;
38685
38686 arg2 = &temp2;
38687 arg3 = &temp3;
38688 if (!args) SWIG_fail;
38689 swig_obj[0] = args;
38690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38691 if (!SWIG_IsOK(res1)) {
38692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38693 }
38694 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38695 {
38696 PyThreadState* __tstate = wxPyBeginAllowThreads();
38697 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
38698 wxPyEndAllowThreads(__tstate);
38699 if (PyErr_Occurred()) SWIG_fail;
38700 }
38701 resultobj = SWIG_Py_Void();
38702 if (SWIG_IsTmpObj(res2)) {
38703 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38704 } else {
38705 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38706 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38707 }
38708 if (SWIG_IsTmpObj(res3)) {
38709 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38710 } else {
38711 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38712 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38713 }
38714 return resultobj;
38715fail:
38716 return NULL;
38717}
38718
38719
38720SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38721 PyObject *resultobj = 0;
38722 wxPyControl *arg1 = (wxPyControl *) 0 ;
38723 int *arg2 = (int *) 0 ;
38724 int *arg3 = (int *) 0 ;
38725 void *argp1 = 0 ;
38726 int res1 = 0 ;
38727 int temp2 ;
38728 int res2 = SWIG_TMPOBJ ;
38729 int temp3 ;
38730 int res3 = SWIG_TMPOBJ ;
38731 PyObject *swig_obj[1] ;
38732
38733 arg2 = &temp2;
38734 arg3 = &temp3;
38735 if (!args) SWIG_fail;
38736 swig_obj[0] = args;
38737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38738 if (!SWIG_IsOK(res1)) {
38739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38740 }
38741 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38742 {
38743 PyThreadState* __tstate = wxPyBeginAllowThreads();
38744 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
38745 wxPyEndAllowThreads(__tstate);
38746 if (PyErr_Occurred()) SWIG_fail;
38747 }
38748 resultobj = SWIG_Py_Void();
38749 if (SWIG_IsTmpObj(res2)) {
38750 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38751 } else {
38752 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38753 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38754 }
38755 if (SWIG_IsTmpObj(res3)) {
38756 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38757 } else {
38758 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38760 }
38761 return resultobj;
38762fail:
38763 return NULL;
d55e5bfc
RD
38764}
38765
38766
1bd55598
RD
38767SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38768 PyObject *resultobj = 0;
38769 wxPyControl *arg1 = (wxPyControl *) 0 ;
38770 wxSize result;
38771 void *argp1 = 0 ;
38772 int res1 = 0 ;
38773 PyObject *swig_obj[1] ;
38774
38775 if (!args) SWIG_fail;
38776 swig_obj[0] = args;
38777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38778 if (!SWIG_IsOK(res1)) {
38779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38780 }
38781 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38782 {
38783 PyThreadState* __tstate = wxPyBeginAllowThreads();
38784 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
38785 wxPyEndAllowThreads(__tstate);
38786 if (PyErr_Occurred()) SWIG_fail;
38787 }
38788 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
38789 return resultobj;
38790fail:
38791 return NULL;
7e08d4ef
RD
38792}
38793
38794
1bd55598
RD
38795SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38796 PyObject *resultobj = 0;
38797 wxPyControl *arg1 = (wxPyControl *) 0 ;
38798 wxSize result;
38799 void *argp1 = 0 ;
38800 int res1 = 0 ;
38801 PyObject *swig_obj[1] ;
38802
38803 if (!args) SWIG_fail;
38804 swig_obj[0] = args;
38805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38806 if (!SWIG_IsOK(res1)) {
38807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38808 }
38809 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38810 {
38811 PyThreadState* __tstate = wxPyBeginAllowThreads();
38812 result = ((wxPyControl const *)arg1)->DoGetBestSize();
38813 wxPyEndAllowThreads(__tstate);
38814 if (PyErr_Occurred()) SWIG_fail;
38815 }
38816 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
38817 return resultobj;
38818fail:
38819 return NULL;
d55e5bfc
RD
38820}
38821
38822
1bd55598
RD
38823SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38824 PyObject *resultobj = 0;
38825 wxPyControl *arg1 = (wxPyControl *) 0 ;
38826 SwigValueWrapper<wxVisualAttributes > result;
38827 void *argp1 = 0 ;
38828 int res1 = 0 ;
38829 PyObject *swig_obj[1] ;
38830
38831 if (!args) SWIG_fail;
38832 swig_obj[0] = args;
38833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38834 if (!SWIG_IsOK(res1)) {
38835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38836 }
38837 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38838 {
38839 PyThreadState* __tstate = wxPyBeginAllowThreads();
38840 result = (arg1)->GetDefaultAttributes();
38841 wxPyEndAllowThreads(__tstate);
38842 if (PyErr_Occurred()) SWIG_fail;
38843 }
38844 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
38845 return resultobj;
38846fail:
38847 return NULL;
d55e5bfc
RD
38848}
38849
38850
1bd55598
RD
38851SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38852 PyObject *resultobj = 0;
38853 wxPyControl *arg1 = (wxPyControl *) 0 ;
38854 void *argp1 = 0 ;
38855 int res1 = 0 ;
38856 PyObject *swig_obj[1] ;
38857
38858 if (!args) SWIG_fail;
38859 swig_obj[0] = args;
38860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38861 if (!SWIG_IsOK(res1)) {
38862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38863 }
38864 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38865 {
38866 PyThreadState* __tstate = wxPyBeginAllowThreads();
38867 (arg1)->OnInternalIdle();
38868 wxPyEndAllowThreads(__tstate);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 }
38871 resultobj = SWIG_Py_Void();
38872 return resultobj;
38873fail:
38874 return NULL;
38875}
38876
38877
38878SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38879 PyObject *obj;
38880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38881 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
38882 return SWIG_Py_Void();
38883}
38884
38885SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38886 return SWIG_Python_InitShadowInstance(args);
38887}
38888
38889SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38890 PyObject *resultobj = 0;
38891 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
38892 int arg2 = (int) 0 ;
38893 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38894 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 38895 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
1bd55598
RD
38896 wxHelpEvent *result = 0 ;
38897 int val1 ;
38898 int ecode1 = 0 ;
38899 int val2 ;
38900 int ecode2 = 0 ;
38901 wxPoint temp3 ;
704eda0c
RD
38902 int val4 ;
38903 int ecode4 = 0 ;
1bd55598
RD
38904 PyObject * obj0 = 0 ;
38905 PyObject * obj1 = 0 ;
38906 PyObject * obj2 = 0 ;
704eda0c 38907 PyObject * obj3 = 0 ;
1bd55598 38908 char * kwnames[] = {
704eda0c 38909 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
1bd55598
RD
38910 };
38911
704eda0c 38912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
1bd55598
RD
38913 if (obj0) {
38914 ecode1 = SWIG_AsVal_int(obj0, &val1);
38915 if (!SWIG_IsOK(ecode1)) {
38916 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38917 }
38918 arg1 = static_cast< wxEventType >(val1);
38919 }
38920 if (obj1) {
38921 ecode2 = SWIG_AsVal_int(obj1, &val2);
38922 if (!SWIG_IsOK(ecode2)) {
38923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38924 }
38925 arg2 = static_cast< int >(val2);
38926 }
38927 if (obj2) {
d55e5bfc 38928 {
1bd55598
RD
38929 arg3 = &temp3;
38930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38931 }
1bd55598 38932 }
704eda0c
RD
38933 if (obj3) {
38934 ecode4 = SWIG_AsVal_int(obj3, &val4);
38935 if (!SWIG_IsOK(ecode4)) {
38936 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
38937 }
38938 arg4 = static_cast< wxHelpEvent::Origin >(val4);
38939 }
1bd55598
RD
38940 {
38941 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 38942 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
1bd55598
RD
38943 wxPyEndAllowThreads(__tstate);
38944 if (PyErr_Occurred()) SWIG_fail;
38945 }
38946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
38947 return resultobj;
38948fail:
38949 return NULL;
d55e5bfc
RD
38950}
38951
38952
1bd55598
RD
38953SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38954 PyObject *resultobj = 0;
38955 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
38956 wxPoint result;
38957 void *argp1 = 0 ;
38958 int res1 = 0 ;
38959 PyObject *swig_obj[1] ;
38960
38961 if (!args) SWIG_fail;
38962 swig_obj[0] = args;
38963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
38964 if (!SWIG_IsOK(res1)) {
38965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38966 }
38967 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
38968 {
38969 PyThreadState* __tstate = wxPyBeginAllowThreads();
38970 result = ((wxHelpEvent const *)arg1)->GetPosition();
38971 wxPyEndAllowThreads(__tstate);
38972 if (PyErr_Occurred()) SWIG_fail;
38973 }
38974 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
38975 return resultobj;
38976fail:
38977 return NULL;
38978}
38979
38980
38981SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38982 PyObject *resultobj = 0;
38983 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
38984 wxPoint *arg2 = 0 ;
38985 void *argp1 = 0 ;
38986 int res1 = 0 ;
38987 wxPoint temp2 ;
38988 PyObject * obj0 = 0 ;
38989 PyObject * obj1 = 0 ;
38990 char * kwnames[] = {
38991 (char *) "self",(char *) "pos", NULL
38992 };
38993
38994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
38995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
38996 if (!SWIG_IsOK(res1)) {
38997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38998 }
38999 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39000 {
39001 arg2 = &temp2;
39002 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39003 }
39004 {
39005 PyThreadState* __tstate = wxPyBeginAllowThreads();
39006 (arg1)->SetPosition((wxPoint const &)*arg2);
39007 wxPyEndAllowThreads(__tstate);
39008 if (PyErr_Occurred()) SWIG_fail;
39009 }
39010 resultobj = SWIG_Py_Void();
39011 return resultobj;
39012fail:
39013 return NULL;
d55e5bfc
RD
39014}
39015
39016
1bd55598
RD
39017SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39018 PyObject *resultobj = 0;
39019 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39020 wxString *result = 0 ;
39021 void *argp1 = 0 ;
39022 int res1 = 0 ;
39023 PyObject *swig_obj[1] ;
39024
39025 if (!args) SWIG_fail;
39026 swig_obj[0] = args;
39027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39028 if (!SWIG_IsOK(res1)) {
39029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39030 }
39031 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39032 {
39033 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39034 {
1bd55598
RD
39035 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39036 result = (wxString *) &_result_ref;
d55e5bfc 39037 }
1bd55598
RD
39038 wxPyEndAllowThreads(__tstate);
39039 if (PyErr_Occurred()) SWIG_fail;
39040 }
39041 {
39042#if wxUSE_UNICODE
39043 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39044#else
39045 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39046#endif
39047 }
39048 return resultobj;
39049fail:
39050 return NULL;
39051}
39052
39053
39054SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39055 PyObject *resultobj = 0;
39056 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39057 wxString *arg2 = 0 ;
39058 void *argp1 = 0 ;
39059 int res1 = 0 ;
39060 bool temp2 = false ;
39061 PyObject * obj0 = 0 ;
39062 PyObject * obj1 = 0 ;
39063 char * kwnames[] = {
39064 (char *) "self",(char *) "link", NULL
39065 };
39066
39067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39069 if (!SWIG_IsOK(res1)) {
39070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39071 }
39072 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39073 {
39074 arg2 = wxString_in_helper(obj1);
39075 if (arg2 == NULL) SWIG_fail;
39076 temp2 = true;
39077 }
39078 {
39079 PyThreadState* __tstate = wxPyBeginAllowThreads();
39080 (arg1)->SetLink((wxString const &)*arg2);
39081 wxPyEndAllowThreads(__tstate);
39082 if (PyErr_Occurred()) SWIG_fail;
39083 }
39084 resultobj = SWIG_Py_Void();
39085 {
39086 if (temp2)
39087 delete arg2;
39088 }
39089 return resultobj;
39090fail:
39091 {
39092 if (temp2)
39093 delete arg2;
39094 }
39095 return NULL;
d55e5bfc
RD
39096}
39097
39098
1bd55598
RD
39099SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39100 PyObject *resultobj = 0;
39101 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39102 wxString *result = 0 ;
39103 void *argp1 = 0 ;
39104 int res1 = 0 ;
39105 PyObject *swig_obj[1] ;
39106
39107 if (!args) SWIG_fail;
39108 swig_obj[0] = args;
39109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39110 if (!SWIG_IsOK(res1)) {
39111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39112 }
39113 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39114 {
39115 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39116 {
1bd55598
RD
39117 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39118 result = (wxString *) &_result_ref;
d55e5bfc 39119 }
1bd55598
RD
39120 wxPyEndAllowThreads(__tstate);
39121 if (PyErr_Occurred()) SWIG_fail;
39122 }
39123 {
39124#if wxUSE_UNICODE
39125 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39126#else
39127 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39128#endif
39129 }
39130 return resultobj;
39131fail:
39132 return NULL;
39133}
39134
39135
39136SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39137 PyObject *resultobj = 0;
39138 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39139 wxString *arg2 = 0 ;
39140 void *argp1 = 0 ;
39141 int res1 = 0 ;
39142 bool temp2 = false ;
39143 PyObject * obj0 = 0 ;
39144 PyObject * obj1 = 0 ;
39145 char * kwnames[] = {
39146 (char *) "self",(char *) "target", NULL
39147 };
39148
39149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39151 if (!SWIG_IsOK(res1)) {
39152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39153 }
39154 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39155 {
39156 arg2 = wxString_in_helper(obj1);
39157 if (arg2 == NULL) SWIG_fail;
39158 temp2 = true;
39159 }
39160 {
39161 PyThreadState* __tstate = wxPyBeginAllowThreads();
39162 (arg1)->SetTarget((wxString const &)*arg2);
39163 wxPyEndAllowThreads(__tstate);
39164 if (PyErr_Occurred()) SWIG_fail;
39165 }
39166 resultobj = SWIG_Py_Void();
39167 {
39168 if (temp2)
39169 delete arg2;
39170 }
39171 return resultobj;
39172fail:
39173 {
39174 if (temp2)
39175 delete arg2;
39176 }
39177 return NULL;
d55e5bfc
RD
39178}
39179
39180
704eda0c
RD
39181SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39182 PyObject *resultobj = 0;
39183 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39184 wxHelpEvent::Origin result;
39185 void *argp1 = 0 ;
39186 int res1 = 0 ;
39187 PyObject *swig_obj[1] ;
39188
39189 if (!args) SWIG_fail;
39190 swig_obj[0] = args;
39191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39192 if (!SWIG_IsOK(res1)) {
39193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39194 }
39195 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39196 {
39197 PyThreadState* __tstate = wxPyBeginAllowThreads();
39198 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39199 wxPyEndAllowThreads(__tstate);
39200 if (PyErr_Occurred()) SWIG_fail;
39201 }
39202 resultobj = SWIG_From_int(static_cast< int >(result));
39203 return resultobj;
39204fail:
39205 return NULL;
39206}
39207
39208
39209SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39210 PyObject *resultobj = 0;
39211 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39212 wxHelpEvent::Origin arg2 ;
39213 void *argp1 = 0 ;
39214 int res1 = 0 ;
39215 int val2 ;
39216 int ecode2 = 0 ;
39217 PyObject * obj0 = 0 ;
39218 PyObject * obj1 = 0 ;
39219 char * kwnames[] = {
39220 (char *) "self",(char *) "origin", NULL
39221 };
39222
39223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39225 if (!SWIG_IsOK(res1)) {
39226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39227 }
39228 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39229 ecode2 = SWIG_AsVal_int(obj1, &val2);
39230 if (!SWIG_IsOK(ecode2)) {
39231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39232 }
39233 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39234 {
39235 PyThreadState* __tstate = wxPyBeginAllowThreads();
39236 (arg1)->SetOrigin(arg2);
39237 wxPyEndAllowThreads(__tstate);
39238 if (PyErr_Occurred()) SWIG_fail;
39239 }
39240 resultobj = SWIG_Py_Void();
39241 return resultobj;
39242fail:
39243 return NULL;
39244}
39245
39246
1bd55598
RD
39247SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39248 PyObject *obj;
39249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39250 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39251 return SWIG_Py_Void();
39252}
39253
39254SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39255 return SWIG_Python_InitShadowInstance(args);
39256}
39257
39258SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39259 PyObject *resultobj = 0;
39260 wxWindow *arg1 = (wxWindow *) NULL ;
39261 bool arg2 = (bool) true ;
39262 wxContextHelp *result = 0 ;
39263 void *argp1 = 0 ;
39264 int res1 = 0 ;
39265 bool val2 ;
39266 int ecode2 = 0 ;
39267 PyObject * obj0 = 0 ;
39268 PyObject * obj1 = 0 ;
39269 char * kwnames[] = {
39270 (char *) "window",(char *) "doNow", NULL
39271 };
39272
39273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39274 if (obj0) {
39275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39276 if (!SWIG_IsOK(res1)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 39278 }
1bd55598
RD
39279 arg1 = reinterpret_cast< wxWindow * >(argp1);
39280 }
39281 if (obj1) {
39282 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39283 if (!SWIG_IsOK(ecode2)) {
39284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39285 }
39286 arg2 = static_cast< bool >(val2);
39287 }
39288 {
39289 if (!wxPyCheckForApp()) SWIG_fail;
39290 PyThreadState* __tstate = wxPyBeginAllowThreads();
39291 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39292 wxPyEndAllowThreads(__tstate);
39293 if (PyErr_Occurred()) SWIG_fail;
39294 }
39295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39296 return resultobj;
39297fail:
39298 return NULL;
d55e5bfc
RD
39299}
39300
39301
1bd55598
RD
39302SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39303 PyObject *resultobj = 0;
39304 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39305 void *argp1 = 0 ;
39306 int res1 = 0 ;
39307 PyObject *swig_obj[1] ;
39308
39309 if (!args) SWIG_fail;
39310 swig_obj[0] = args;
39311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39312 if (!SWIG_IsOK(res1)) {
39313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39314 }
39315 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39316 {
39317 PyThreadState* __tstate = wxPyBeginAllowThreads();
39318 delete arg1;
d55e5bfc 39319
1bd55598
RD
39320 wxPyEndAllowThreads(__tstate);
39321 if (PyErr_Occurred()) SWIG_fail;
39322 }
39323 resultobj = SWIG_Py_Void();
39324 return resultobj;
39325fail:
39326 return NULL;
39327}
39328
39329
39330SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39331 PyObject *resultobj = 0;
39332 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39333 wxWindow *arg2 = (wxWindow *) NULL ;
39334 bool result;
39335 void *argp1 = 0 ;
39336 int res1 = 0 ;
39337 void *argp2 = 0 ;
39338 int res2 = 0 ;
39339 PyObject * obj0 = 0 ;
39340 PyObject * obj1 = 0 ;
39341 char * kwnames[] = {
39342 (char *) "self",(char *) "window", NULL
39343 };
39344
39345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39347 if (!SWIG_IsOK(res1)) {
39348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39349 }
39350 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39351 if (obj1) {
39352 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39353 if (!SWIG_IsOK(res2)) {
39354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 39355 }
1bd55598
RD
39356 arg2 = reinterpret_cast< wxWindow * >(argp2);
39357 }
39358 {
39359 PyThreadState* __tstate = wxPyBeginAllowThreads();
39360 result = (bool)(arg1)->BeginContextHelp(arg2);
39361 wxPyEndAllowThreads(__tstate);
39362 if (PyErr_Occurred()) SWIG_fail;
39363 }
39364 {
39365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39366 }
39367 return resultobj;
39368fail:
39369 return NULL;
d55e5bfc
RD
39370}
39371
39372
1bd55598
RD
39373SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39374 PyObject *resultobj = 0;
39375 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39376 bool result;
39377 void *argp1 = 0 ;
39378 int res1 = 0 ;
39379 PyObject *swig_obj[1] ;
39380
39381 if (!args) SWIG_fail;
39382 swig_obj[0] = args;
39383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39384 if (!SWIG_IsOK(res1)) {
39385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39386 }
39387 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39388 {
39389 PyThreadState* __tstate = wxPyBeginAllowThreads();
39390 result = (bool)(arg1)->EndContextHelp();
39391 wxPyEndAllowThreads(__tstate);
39392 if (PyErr_Occurred()) SWIG_fail;
39393 }
39394 {
39395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39396 }
39397 return resultobj;
39398fail:
39399 return NULL;
39400}
39401
39402
39403SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39404 PyObject *obj;
39405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39406 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39407 return SWIG_Py_Void();
39408}
39409
39410SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39411 return SWIG_Python_InitShadowInstance(args);
39412}
39413
39414SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39415 PyObject *resultobj = 0;
39416 wxWindow *arg1 = (wxWindow *) 0 ;
39417 int arg2 = (int) wxID_CONTEXT_HELP ;
39418 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39419 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39420 wxSize const &arg4_defvalue = wxDefaultSize ;
39421 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39422 long arg5 = (long) wxBU_AUTODRAW ;
39423 wxContextHelpButton *result = 0 ;
39424 void *argp1 = 0 ;
39425 int res1 = 0 ;
39426 int val2 ;
39427 int ecode2 = 0 ;
39428 wxPoint temp3 ;
39429 wxSize temp4 ;
39430 long val5 ;
39431 int ecode5 = 0 ;
39432 PyObject * obj0 = 0 ;
39433 PyObject * obj1 = 0 ;
39434 PyObject * obj2 = 0 ;
39435 PyObject * obj3 = 0 ;
39436 PyObject * obj4 = 0 ;
39437 char * kwnames[] = {
39438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39439 };
39440
39441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39443 if (!SWIG_IsOK(res1)) {
39444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39445 }
39446 arg1 = reinterpret_cast< wxWindow * >(argp1);
39447 if (obj1) {
39448 ecode2 = SWIG_AsVal_int(obj1, &val2);
39449 if (!SWIG_IsOK(ecode2)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39451 }
39452 arg2 = static_cast< int >(val2);
39453 }
39454 if (obj2) {
d55e5bfc 39455 {
1bd55598
RD
39456 arg3 = &temp3;
39457 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39458 }
1bd55598
RD
39459 }
39460 if (obj3) {
d55e5bfc 39461 {
1bd55598
RD
39462 arg4 = &temp4;
39463 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 39464 }
1bd55598
RD
39465 }
39466 if (obj4) {
39467 ecode5 = SWIG_AsVal_long(obj4, &val5);
39468 if (!SWIG_IsOK(ecode5)) {
39469 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39470 }
39471 arg5 = static_cast< long >(val5);
39472 }
39473 {
39474 if (!wxPyCheckForApp()) SWIG_fail;
39475 PyThreadState* __tstate = wxPyBeginAllowThreads();
39476 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
39477 wxPyEndAllowThreads(__tstate);
39478 if (PyErr_Occurred()) SWIG_fail;
39479 }
39480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
39481 return resultobj;
39482fail:
39483 return NULL;
d55e5bfc
RD
39484}
39485
39486
1bd55598
RD
39487SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39488 PyObject *obj;
39489 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39490 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
39491 return SWIG_Py_Void();
d55e5bfc
RD
39492}
39493
1bd55598
RD
39494SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39495 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
39496}
39497
f52cbe90
RD
39498SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39499 PyObject *resultobj = 0;
39500 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39501 void *argp1 = 0 ;
39502 int res1 = 0 ;
39503 PyObject *swig_obj[1] ;
39504
39505 if (!args) SWIG_fail;
39506 swig_obj[0] = args;
39507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39508 if (!SWIG_IsOK(res1)) {
39509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39510 }
39511 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39512 {
39513 PyThreadState* __tstate = wxPyBeginAllowThreads();
39514 delete arg1;
39515
39516 wxPyEndAllowThreads(__tstate);
39517 if (PyErr_Occurred()) SWIG_fail;
39518 }
39519 resultobj = SWIG_Py_Void();
39520 return resultobj;
39521fail:
39522 return NULL;
39523}
39524
39525
1bd55598
RD
39526SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39527 PyObject *resultobj = 0;
39528 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39529 wxHelpProvider *result = 0 ;
39530 int res1 = 0 ;
39531 PyObject * obj0 = 0 ;
39532 char * kwnames[] = {
39533 (char *) "helpProvider", NULL
39534 };
39535
39536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
39537 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39538 if (!SWIG_IsOK(res1)) {
39539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39540 }
39541 {
39542 PyThreadState* __tstate = wxPyBeginAllowThreads();
39543 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
39544 wxPyEndAllowThreads(__tstate);
39545 if (PyErr_Occurred()) SWIG_fail;
39546 }
39547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
39548 return resultobj;
39549fail:
39550 return NULL;
d55e5bfc
RD
39551}
39552
39553
1bd55598
RD
39554SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39555 PyObject *resultobj = 0;
39556 wxHelpProvider *result = 0 ;
39557
39558 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
39559 {
39560 PyThreadState* __tstate = wxPyBeginAllowThreads();
39561 result = (wxHelpProvider *)wxHelpProvider::Get();
39562 wxPyEndAllowThreads(__tstate);
39563 if (PyErr_Occurred()) SWIG_fail;
39564 }
39565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39566 return resultobj;
39567fail:
39568 return NULL;
39569}
39570
39571
39572SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39573 PyObject *resultobj = 0;
39574 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39575 wxWindow *arg2 = (wxWindow *) 0 ;
39576 wxString result;
39577 void *argp1 = 0 ;
39578 int res1 = 0 ;
39579 void *argp2 = 0 ;
39580 int res2 = 0 ;
39581 PyObject * obj0 = 0 ;
39582 PyObject * obj1 = 0 ;
39583 char * kwnames[] = {
39584 (char *) "self",(char *) "window", NULL
39585 };
39586
39587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39589 if (!SWIG_IsOK(res1)) {
39590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39591 }
39592 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39594 if (!SWIG_IsOK(res2)) {
39595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39596 }
39597 arg2 = reinterpret_cast< wxWindow * >(argp2);
39598 {
39599 PyThreadState* __tstate = wxPyBeginAllowThreads();
39600 result = (arg1)->GetHelp((wxWindow const *)arg2);
39601 wxPyEndAllowThreads(__tstate);
39602 if (PyErr_Occurred()) SWIG_fail;
39603 }
39604 {
39605#if wxUSE_UNICODE
39606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
39607#else
39608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
39609#endif
39610 }
39611 return resultobj;
39612fail:
39613 return NULL;
39614}
39615
39616
39617SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39618 PyObject *resultobj = 0;
39619 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39620 wxWindow *arg2 = (wxWindow *) 0 ;
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 *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39634 if (!SWIG_IsOK(res1)) {
39635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39636 }
39637 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39638 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39639 if (!SWIG_IsOK(res2)) {
39640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39641 }
39642 arg2 = reinterpret_cast< wxWindow * >(argp2);
39643 {
39644 PyThreadState* __tstate = wxPyBeginAllowThreads();
39645 result = (bool)(arg1)->ShowHelp(arg2);
39646 wxPyEndAllowThreads(__tstate);
39647 if (PyErr_Occurred()) SWIG_fail;
39648 }
39649 {
39650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39651 }
39652 return resultobj;
39653fail:
39654 return NULL;
39655}
39656
39657
b850e7f3
RD
39658SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39659 PyObject *resultobj = 0;
39660 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39661 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
39662 wxPoint *arg3 = 0 ;
39663 wxHelpEvent::Origin arg4 ;
39664 bool result;
39665 void *argp1 = 0 ;
39666 int res1 = 0 ;
39667 void *argp2 = 0 ;
39668 int res2 = 0 ;
39669 wxPoint temp3 ;
39670 int val4 ;
39671 int ecode4 = 0 ;
39672 PyObject * obj0 = 0 ;
39673 PyObject * obj1 = 0 ;
39674 PyObject * obj2 = 0 ;
39675 PyObject * obj3 = 0 ;
39676 char * kwnames[] = {
39677 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39678 };
39679
39680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39682 if (!SWIG_IsOK(res1)) {
39683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39684 }
39685 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39686 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
39687 if (!SWIG_IsOK(res2)) {
39688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39689 }
39690 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
39691 {
39692 arg3 = &temp3;
39693 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39694 }
39695 ecode4 = SWIG_AsVal_int(obj3, &val4);
39696 if (!SWIG_IsOK(ecode4)) {
39697 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39698 }
39699 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39700 {
39701 PyThreadState* __tstate = wxPyBeginAllowThreads();
39702 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
39703 wxPyEndAllowThreads(__tstate);
39704 if (PyErr_Occurred()) SWIG_fail;
39705 }
39706 {
39707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39708 }
39709 return resultobj;
39710fail:
39711 return NULL;
39712}
39713
39714
1bd55598
RD
39715SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39716 PyObject *resultobj = 0;
39717 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39718 wxWindow *arg2 = (wxWindow *) 0 ;
39719 wxString *arg3 = 0 ;
39720 void *argp1 = 0 ;
39721 int res1 = 0 ;
39722 void *argp2 = 0 ;
39723 int res2 = 0 ;
39724 bool temp3 = false ;
39725 PyObject * obj0 = 0 ;
39726 PyObject * obj1 = 0 ;
39727 PyObject * obj2 = 0 ;
39728 char * kwnames[] = {
39729 (char *) "self",(char *) "window",(char *) "text", NULL
39730 };
39731
39732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39734 if (!SWIG_IsOK(res1)) {
39735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39736 }
39737 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39739 if (!SWIG_IsOK(res2)) {
39740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39741 }
39742 arg2 = reinterpret_cast< wxWindow * >(argp2);
39743 {
39744 arg3 = wxString_in_helper(obj2);
39745 if (arg3 == NULL) SWIG_fail;
39746 temp3 = true;
39747 }
39748 {
39749 PyThreadState* __tstate = wxPyBeginAllowThreads();
39750 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
39751 wxPyEndAllowThreads(__tstate);
39752 if (PyErr_Occurred()) SWIG_fail;
39753 }
39754 resultobj = SWIG_Py_Void();
39755 {
39756 if (temp3)
39757 delete arg3;
39758 }
39759 return resultobj;
39760fail:
39761 {
39762 if (temp3)
39763 delete arg3;
39764 }
39765 return NULL;
39766}
39767
39768
39769SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39770 PyObject *resultobj = 0;
39771 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39772 int arg2 ;
39773 wxString *arg3 = 0 ;
39774 void *argp1 = 0 ;
39775 int res1 = 0 ;
39776 int val2 ;
39777 int ecode2 = 0 ;
39778 bool temp3 = false ;
39779 PyObject * obj0 = 0 ;
39780 PyObject * obj1 = 0 ;
39781 PyObject * obj2 = 0 ;
39782 char * kwnames[] = {
39783 (char *) "self",(char *) "id",(char *) "text", NULL
39784 };
39785
39786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39788 if (!SWIG_IsOK(res1)) {
39789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39790 }
39791 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39792 ecode2 = SWIG_AsVal_int(obj1, &val2);
39793 if (!SWIG_IsOK(ecode2)) {
39794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39795 }
39796 arg2 = static_cast< int >(val2);
39797 {
39798 arg3 = wxString_in_helper(obj2);
39799 if (arg3 == NULL) SWIG_fail;
39800 temp3 = true;
39801 }
39802 {
39803 PyThreadState* __tstate = wxPyBeginAllowThreads();
39804 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
39805 wxPyEndAllowThreads(__tstate);
39806 if (PyErr_Occurred()) SWIG_fail;
39807 }
39808 resultobj = SWIG_Py_Void();
39809 {
39810 if (temp3)
39811 delete arg3;
39812 }
39813 return resultobj;
39814fail:
39815 {
39816 if (temp3)
39817 delete arg3;
39818 }
39819 return NULL;
39820}
39821
39822
39823SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39824 PyObject *resultobj = 0;
39825 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39826 wxWindow *arg2 = (wxWindow *) 0 ;
39827 void *argp1 = 0 ;
39828 int res1 = 0 ;
39829 void *argp2 = 0 ;
39830 int res2 = 0 ;
39831 PyObject * obj0 = 0 ;
39832 PyObject * obj1 = 0 ;
39833 char * kwnames[] = {
39834 (char *) "self",(char *) "window", NULL
39835 };
39836
39837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39839 if (!SWIG_IsOK(res1)) {
39840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39841 }
39842 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39843 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39844 if (!SWIG_IsOK(res2)) {
39845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39846 }
39847 arg2 = reinterpret_cast< wxWindow * >(argp2);
39848 {
39849 PyThreadState* __tstate = wxPyBeginAllowThreads();
39850 (arg1)->RemoveHelp(arg2);
39851 wxPyEndAllowThreads(__tstate);
39852 if (PyErr_Occurred()) SWIG_fail;
39853 }
39854 resultobj = SWIG_Py_Void();
39855 return resultobj;
39856fail:
39857 return NULL;
d55e5bfc
RD
39858}
39859
39860
1bd55598
RD
39861SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39862 PyObject *resultobj = 0;
39863 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39864 void *argp1 = 0 ;
39865 int res1 = 0 ;
39866 PyObject *swig_obj[1] ;
39867
39868 if (!args) SWIG_fail;
39869 swig_obj[0] = args;
39870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39871 if (!SWIG_IsOK(res1)) {
39872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39873 }
39874 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39875 {
39876 PyThreadState* __tstate = wxPyBeginAllowThreads();
39877 wxHelpProvider_Destroy(arg1);
39878 wxPyEndAllowThreads(__tstate);
39879 if (PyErr_Occurred()) SWIG_fail;
39880 }
39881 resultobj = SWIG_Py_Void();
39882 return resultobj;
39883fail:
39884 return NULL;
d55e5bfc
RD
39885}
39886
39887
1bd55598
RD
39888SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39889 PyObject *obj;
39890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39891 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
39892 return SWIG_Py_Void();
d55e5bfc
RD
39893}
39894
1bd55598
RD
39895SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39896 PyObject *resultobj = 0;
39897 wxSimpleHelpProvider *result = 0 ;
39898
39899 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
39900 {
39901 PyThreadState* __tstate = wxPyBeginAllowThreads();
39902 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
39903 wxPyEndAllowThreads(__tstate);
39904 if (PyErr_Occurred()) SWIG_fail;
39905 }
39906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
39907 return resultobj;
39908fail:
39909 return NULL;
39910}
39911
39912
39913SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39914 PyObject *obj;
39915 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39916 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
39917 return SWIG_Py_Void();
39918}
39919
39920SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39921 return SWIG_Python_InitShadowInstance(args);
39922}
39923
39924SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39925 PyObject *resultobj = 0;
39926 wxBitmap *arg1 = 0 ;
39927 wxCursor const &arg2_defvalue = wxNullCursor ;
39928 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
39929 wxGenericDragImage *result = 0 ;
39930 void *argp1 = 0 ;
39931 int res1 = 0 ;
39932 void *argp2 = 0 ;
39933 int res2 = 0 ;
39934 PyObject * obj0 = 0 ;
39935 PyObject * obj1 = 0 ;
39936 char * kwnames[] = {
39937 (char *) "image",(char *) "cursor", NULL
39938 };
39939
39940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
39941 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
39942 if (!SWIG_IsOK(res1)) {
39943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39944 }
39945 if (!argp1) {
39946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39947 }
39948 arg1 = reinterpret_cast< wxBitmap * >(argp1);
39949 if (obj1) {
39950 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
39951 if (!SWIG_IsOK(res2)) {
39952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 39953 }
1bd55598
RD
39954 if (!argp2) {
39955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 39956 }
1bd55598
RD
39957 arg2 = reinterpret_cast< wxCursor * >(argp2);
39958 }
39959 {
39960 if (!wxPyCheckForApp()) SWIG_fail;
39961 PyThreadState* __tstate = wxPyBeginAllowThreads();
39962 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
39963 wxPyEndAllowThreads(__tstate);
39964 if (PyErr_Occurred()) SWIG_fail;
39965 }
39966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
39967 return resultobj;
39968fail:
39969 return NULL;
39970}
39971
39972
39973SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39974 PyObject *resultobj = 0;
39975 wxIcon *arg1 = 0 ;
39976 wxCursor const &arg2_defvalue = wxNullCursor ;
39977 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
39978 wxGenericDragImage *result = 0 ;
39979 void *argp1 = 0 ;
39980 int res1 = 0 ;
39981 void *argp2 = 0 ;
39982 int res2 = 0 ;
39983 PyObject * obj0 = 0 ;
39984 PyObject * obj1 = 0 ;
39985 char * kwnames[] = {
39986 (char *) "image",(char *) "cursor", NULL
39987 };
39988
39989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
39990 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
39991 if (!SWIG_IsOK(res1)) {
39992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39993 }
39994 if (!argp1) {
39995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39996 }
39997 arg1 = reinterpret_cast< wxIcon * >(argp1);
39998 if (obj1) {
39999 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40000 if (!SWIG_IsOK(res2)) {
40001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40002 }
1bd55598
RD
40003 if (!argp2) {
40004 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40005 }
1bd55598
RD
40006 arg2 = reinterpret_cast< wxCursor * >(argp2);
40007 }
40008 {
40009 if (!wxPyCheckForApp()) SWIG_fail;
40010 PyThreadState* __tstate = wxPyBeginAllowThreads();
40011 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40012 wxPyEndAllowThreads(__tstate);
40013 if (PyErr_Occurred()) SWIG_fail;
40014 }
40015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40016 return resultobj;
40017fail:
40018 return NULL;
40019}
40020
40021
40022SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40023 PyObject *resultobj = 0;
40024 wxString *arg1 = 0 ;
40025 wxCursor const &arg2_defvalue = wxNullCursor ;
40026 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40027 wxGenericDragImage *result = 0 ;
40028 bool temp1 = false ;
40029 void *argp2 = 0 ;
40030 int res2 = 0 ;
40031 PyObject * obj0 = 0 ;
40032 PyObject * obj1 = 0 ;
40033 char * kwnames[] = {
40034 (char *) "str",(char *) "cursor", NULL
40035 };
40036
40037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40038 {
40039 arg1 = wxString_in_helper(obj0);
40040 if (arg1 == NULL) SWIG_fail;
40041 temp1 = true;
40042 }
40043 if (obj1) {
40044 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40045 if (!SWIG_IsOK(res2)) {
40046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40047 }
1bd55598
RD
40048 if (!argp2) {
40049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40050 }
1bd55598
RD
40051 arg2 = reinterpret_cast< wxCursor * >(argp2);
40052 }
40053 {
40054 if (!wxPyCheckForApp()) SWIG_fail;
40055 PyThreadState* __tstate = wxPyBeginAllowThreads();
40056 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40057 wxPyEndAllowThreads(__tstate);
40058 if (PyErr_Occurred()) SWIG_fail;
40059 }
40060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40061 {
40062 if (temp1)
40063 delete arg1;
40064 }
40065 return resultobj;
40066fail:
40067 {
40068 if (temp1)
40069 delete arg1;
40070 }
40071 return NULL;
40072}
40073
40074
40075SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40076 PyObject *resultobj = 0;
40077 wxPyTreeCtrl *arg1 = 0 ;
40078 wxTreeItemId *arg2 = 0 ;
40079 wxGenericDragImage *result = 0 ;
40080 void *argp1 = 0 ;
40081 int res1 = 0 ;
40082 void *argp2 = 0 ;
40083 int res2 = 0 ;
40084 PyObject * obj0 = 0 ;
40085 PyObject * obj1 = 0 ;
40086 char * kwnames[] = {
40087 (char *) "treeCtrl",(char *) "id", NULL
40088 };
40089
40090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40091 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40092 if (!SWIG_IsOK(res1)) {
40093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40094 }
40095 if (!argp1) {
40096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40097 }
40098 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40100 if (!SWIG_IsOK(res2)) {
40101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40102 }
40103 if (!argp2) {
40104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40105 }
40106 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40107 {
40108 if (!wxPyCheckForApp()) SWIG_fail;
40109 PyThreadState* __tstate = wxPyBeginAllowThreads();
40110 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40111 wxPyEndAllowThreads(__tstate);
40112 if (PyErr_Occurred()) SWIG_fail;
40113 }
40114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40115 return resultobj;
40116fail:
40117 return NULL;
40118}
40119
40120
40121SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40122 PyObject *resultobj = 0;
40123 wxPyListCtrl *arg1 = 0 ;
40124 long arg2 ;
40125 wxGenericDragImage *result = 0 ;
40126 void *argp1 = 0 ;
40127 int res1 = 0 ;
40128 long val2 ;
40129 int ecode2 = 0 ;
40130 PyObject * obj0 = 0 ;
40131 PyObject * obj1 = 0 ;
40132 char * kwnames[] = {
40133 (char *) "listCtrl",(char *) "id", NULL
40134 };
40135
40136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40137 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40138 if (!SWIG_IsOK(res1)) {
40139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40140 }
40141 if (!argp1) {
40142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40143 }
40144 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40145 ecode2 = SWIG_AsVal_long(obj1, &val2);
40146 if (!SWIG_IsOK(ecode2)) {
40147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40148 }
40149 arg2 = static_cast< long >(val2);
40150 {
40151 if (!wxPyCheckForApp()) SWIG_fail;
40152 PyThreadState* __tstate = wxPyBeginAllowThreads();
40153 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40154 wxPyEndAllowThreads(__tstate);
40155 if (PyErr_Occurred()) SWIG_fail;
40156 }
40157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40158 return resultobj;
40159fail:
40160 return NULL;
d55e5bfc
RD
40161}
40162
40163
1bd55598
RD
40164SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40165 PyObject *resultobj = 0;
40166 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40167 void *argp1 = 0 ;
40168 int res1 = 0 ;
40169 PyObject *swig_obj[1] ;
40170
40171 if (!args) SWIG_fail;
40172 swig_obj[0] = args;
40173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40174 if (!SWIG_IsOK(res1)) {
40175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40176 }
40177 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40178 {
40179 PyThreadState* __tstate = wxPyBeginAllowThreads();
40180 delete arg1;
d55e5bfc 40181
1bd55598
RD
40182 wxPyEndAllowThreads(__tstate);
40183 if (PyErr_Occurred()) SWIG_fail;
40184 }
40185 resultobj = SWIG_Py_Void();
40186 return resultobj;
40187fail:
40188 return NULL;
40189}
40190
40191
40192SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40193 PyObject *resultobj = 0;
40194 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40195 wxBitmap *arg2 = (wxBitmap *) 0 ;
40196 void *argp1 = 0 ;
40197 int res1 = 0 ;
40198 void *argp2 = 0 ;
40199 int res2 = 0 ;
40200 PyObject * obj0 = 0 ;
40201 PyObject * obj1 = 0 ;
40202 char * kwnames[] = {
40203 (char *) "self",(char *) "bitmap", NULL
40204 };
40205
40206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40208 if (!SWIG_IsOK(res1)) {
40209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40210 }
40211 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40213 if (!SWIG_IsOK(res2)) {
40214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40215 }
40216 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40217 {
40218 PyThreadState* __tstate = wxPyBeginAllowThreads();
40219 (arg1)->SetBackingBitmap(arg2);
40220 wxPyEndAllowThreads(__tstate);
40221 if (PyErr_Occurred()) SWIG_fail;
40222 }
40223 resultobj = SWIG_Py_Void();
40224 return resultobj;
40225fail:
40226 return NULL;
40227}
40228
40229
40230SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40231 PyObject *resultobj = 0;
40232 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40233 wxPoint *arg2 = 0 ;
40234 wxWindow *arg3 = (wxWindow *) 0 ;
40235 bool arg4 = (bool) false ;
40236 wxRect *arg5 = (wxRect *) NULL ;
40237 bool result;
40238 void *argp1 = 0 ;
40239 int res1 = 0 ;
40240 wxPoint temp2 ;
40241 void *argp3 = 0 ;
40242 int res3 = 0 ;
40243 bool val4 ;
40244 int ecode4 = 0 ;
40245 void *argp5 = 0 ;
40246 int res5 = 0 ;
40247 PyObject * obj0 = 0 ;
40248 PyObject * obj1 = 0 ;
40249 PyObject * obj2 = 0 ;
40250 PyObject * obj3 = 0 ;
40251 PyObject * obj4 = 0 ;
40252 char * kwnames[] = {
40253 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40254 };
40255
40256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40258 if (!SWIG_IsOK(res1)) {
40259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40260 }
40261 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40262 {
40263 arg2 = &temp2;
40264 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40265 }
40266 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40267 if (!SWIG_IsOK(res3)) {
40268 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40269 }
40270 arg3 = reinterpret_cast< wxWindow * >(argp3);
40271 if (obj3) {
40272 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40273 if (!SWIG_IsOK(ecode4)) {
40274 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40275 }
40276 arg4 = static_cast< bool >(val4);
40277 }
40278 if (obj4) {
40279 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40280 if (!SWIG_IsOK(res5)) {
40281 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 40282 }
1bd55598
RD
40283 arg5 = reinterpret_cast< wxRect * >(argp5);
40284 }
40285 {
40286 PyThreadState* __tstate = wxPyBeginAllowThreads();
40287 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40288 wxPyEndAllowThreads(__tstate);
40289 if (PyErr_Occurred()) SWIG_fail;
40290 }
40291 {
40292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40293 }
40294 return resultobj;
40295fail:
40296 return NULL;
40297}
40298
40299
40300SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40301 PyObject *resultobj = 0;
40302 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40303 wxPoint *arg2 = 0 ;
40304 wxWindow *arg3 = (wxWindow *) 0 ;
40305 wxWindow *arg4 = (wxWindow *) 0 ;
40306 bool result;
40307 void *argp1 = 0 ;
40308 int res1 = 0 ;
40309 wxPoint temp2 ;
40310 void *argp3 = 0 ;
40311 int res3 = 0 ;
40312 void *argp4 = 0 ;
40313 int res4 = 0 ;
40314 PyObject * obj0 = 0 ;
40315 PyObject * obj1 = 0 ;
40316 PyObject * obj2 = 0 ;
40317 PyObject * obj3 = 0 ;
40318 char * kwnames[] = {
40319 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40320 };
40321
40322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40324 if (!SWIG_IsOK(res1)) {
40325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40326 }
40327 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40328 {
40329 arg2 = &temp2;
40330 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40331 }
40332 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40333 if (!SWIG_IsOK(res3)) {
40334 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40335 }
40336 arg3 = reinterpret_cast< wxWindow * >(argp3);
40337 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40338 if (!SWIG_IsOK(res4)) {
40339 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40340 }
40341 arg4 = reinterpret_cast< wxWindow * >(argp4);
40342 {
40343 PyThreadState* __tstate = wxPyBeginAllowThreads();
40344 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40345 wxPyEndAllowThreads(__tstate);
40346 if (PyErr_Occurred()) SWIG_fail;
40347 }
40348 {
40349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40350 }
40351 return resultobj;
40352fail:
40353 return NULL;
d55e5bfc
RD
40354}
40355
40356
1bd55598
RD
40357SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40358 PyObject *resultobj = 0;
40359 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40360 bool result;
40361 void *argp1 = 0 ;
40362 int res1 = 0 ;
40363 PyObject *swig_obj[1] ;
40364
40365 if (!args) SWIG_fail;
40366 swig_obj[0] = args;
40367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40368 if (!SWIG_IsOK(res1)) {
40369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40370 }
40371 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40372 {
40373 PyThreadState* __tstate = wxPyBeginAllowThreads();
40374 result = (bool)(arg1)->EndDrag();
40375 wxPyEndAllowThreads(__tstate);
40376 if (PyErr_Occurred()) SWIG_fail;
40377 }
40378 {
40379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40380 }
40381 return resultobj;
40382fail:
40383 return NULL;
40384}
40385
40386
40387SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40388 PyObject *resultobj = 0;
40389 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40390 wxPoint *arg2 = 0 ;
40391 bool result;
40392 void *argp1 = 0 ;
40393 int res1 = 0 ;
40394 wxPoint temp2 ;
40395 PyObject * obj0 = 0 ;
40396 PyObject * obj1 = 0 ;
40397 char * kwnames[] = {
40398 (char *) "self",(char *) "pt", NULL
40399 };
40400
40401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40403 if (!SWIG_IsOK(res1)) {
40404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40405 }
40406 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40407 {
40408 arg2 = &temp2;
40409 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40410 }
40411 {
40412 PyThreadState* __tstate = wxPyBeginAllowThreads();
40413 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40414 wxPyEndAllowThreads(__tstate);
40415 if (PyErr_Occurred()) SWIG_fail;
40416 }
40417 {
40418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40419 }
40420 return resultobj;
40421fail:
40422 return NULL;
d55e5bfc
RD
40423}
40424
40425
1bd55598
RD
40426SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40427 PyObject *resultobj = 0;
40428 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40429 bool result;
40430 void *argp1 = 0 ;
40431 int res1 = 0 ;
40432 PyObject *swig_obj[1] ;
40433
40434 if (!args) SWIG_fail;
40435 swig_obj[0] = args;
40436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40437 if (!SWIG_IsOK(res1)) {
40438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40439 }
40440 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40441 {
40442 PyThreadState* __tstate = wxPyBeginAllowThreads();
40443 result = (bool)(arg1)->Show();
40444 wxPyEndAllowThreads(__tstate);
40445 if (PyErr_Occurred()) SWIG_fail;
40446 }
40447 {
40448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40449 }
40450 return resultobj;
40451fail:
40452 return NULL;
d55e5bfc
RD
40453}
40454
40455
1bd55598
RD
40456SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40457 PyObject *resultobj = 0;
40458 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40459 bool result;
40460 void *argp1 = 0 ;
40461 int res1 = 0 ;
40462 PyObject *swig_obj[1] ;
40463
40464 if (!args) SWIG_fail;
40465 swig_obj[0] = args;
40466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40467 if (!SWIG_IsOK(res1)) {
40468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40469 }
40470 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40471 {
40472 PyThreadState* __tstate = wxPyBeginAllowThreads();
40473 result = (bool)(arg1)->Hide();
40474 wxPyEndAllowThreads(__tstate);
40475 if (PyErr_Occurred()) SWIG_fail;
40476 }
40477 {
40478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40479 }
40480 return resultobj;
40481fail:
40482 return NULL;
40483}
40484
40485
40486SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40487 PyObject *resultobj = 0;
40488 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40489 wxPoint *arg2 = 0 ;
40490 wxRect result;
40491 void *argp1 = 0 ;
40492 int res1 = 0 ;
40493 wxPoint temp2 ;
40494 PyObject * obj0 = 0 ;
40495 PyObject * obj1 = 0 ;
40496 char * kwnames[] = {
40497 (char *) "self",(char *) "pos", NULL
40498 };
40499
40500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
40501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40502 if (!SWIG_IsOK(res1)) {
40503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40504 }
40505 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40506 {
40507 arg2 = &temp2;
40508 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40509 }
40510 {
40511 PyThreadState* __tstate = wxPyBeginAllowThreads();
40512 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
40513 wxPyEndAllowThreads(__tstate);
40514 if (PyErr_Occurred()) SWIG_fail;
40515 }
40516 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
40517 return resultobj;
40518fail:
40519 return NULL;
40520}
40521
40522
40523SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40524 PyObject *resultobj = 0;
40525 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40526 wxDC *arg2 = 0 ;
40527 wxPoint *arg3 = 0 ;
40528 bool result;
40529 void *argp1 = 0 ;
40530 int res1 = 0 ;
40531 void *argp2 = 0 ;
40532 int res2 = 0 ;
40533 wxPoint temp3 ;
40534 PyObject * obj0 = 0 ;
40535 PyObject * obj1 = 0 ;
40536 PyObject * obj2 = 0 ;
40537 char * kwnames[] = {
40538 (char *) "self",(char *) "dc",(char *) "pos", NULL
40539 };
40540
40541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40543 if (!SWIG_IsOK(res1)) {
40544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40545 }
40546 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40547 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40548 if (!SWIG_IsOK(res2)) {
40549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40550 }
40551 if (!argp2) {
40552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40553 }
40554 arg2 = reinterpret_cast< wxDC * >(argp2);
40555 {
40556 arg3 = &temp3;
40557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40558 }
40559 {
40560 PyThreadState* __tstate = wxPyBeginAllowThreads();
40561 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
40562 wxPyEndAllowThreads(__tstate);
40563 if (PyErr_Occurred()) SWIG_fail;
40564 }
40565 {
40566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40567 }
40568 return resultobj;
40569fail:
40570 return NULL;
40571}
40572
40573
40574SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40575 PyObject *resultobj = 0;
40576 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40577 wxDC *arg2 = 0 ;
40578 wxMemoryDC *arg3 = 0 ;
40579 wxRect *arg4 = 0 ;
40580 wxRect *arg5 = 0 ;
40581 bool result;
40582 void *argp1 = 0 ;
40583 int res1 = 0 ;
40584 void *argp2 = 0 ;
40585 int res2 = 0 ;
40586 void *argp3 = 0 ;
40587 int res3 = 0 ;
40588 wxRect temp4 ;
40589 wxRect temp5 ;
40590 PyObject * obj0 = 0 ;
40591 PyObject * obj1 = 0 ;
40592 PyObject * obj2 = 0 ;
40593 PyObject * obj3 = 0 ;
40594 PyObject * obj4 = 0 ;
40595 char * kwnames[] = {
40596 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40597 };
40598
40599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40601 if (!SWIG_IsOK(res1)) {
40602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40603 }
40604 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40606 if (!SWIG_IsOK(res2)) {
40607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40608 }
40609 if (!argp2) {
40610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40611 }
40612 arg2 = reinterpret_cast< wxDC * >(argp2);
40613 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
40614 if (!SWIG_IsOK(res3)) {
40615 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40616 }
40617 if (!argp3) {
40618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40619 }
40620 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
40621 {
40622 arg4 = &temp4;
40623 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
40624 }
40625 {
40626 arg5 = &temp5;
40627 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
40628 }
40629 {
40630 PyThreadState* __tstate = wxPyBeginAllowThreads();
40631 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
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;
40641}
40642
40643
40644SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40645 PyObject *resultobj = 0;
40646 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40647 wxPoint *arg2 = 0 ;
40648 wxPoint *arg3 = 0 ;
40649 bool arg4 ;
40650 bool arg5 ;
40651 bool result;
40652 void *argp1 = 0 ;
40653 int res1 = 0 ;
40654 wxPoint temp2 ;
40655 wxPoint temp3 ;
40656 bool val4 ;
40657 int ecode4 = 0 ;
40658 bool val5 ;
40659 int ecode5 = 0 ;
40660 PyObject * obj0 = 0 ;
40661 PyObject * obj1 = 0 ;
40662 PyObject * obj2 = 0 ;
40663 PyObject * obj3 = 0 ;
40664 PyObject * obj4 = 0 ;
40665 char * kwnames[] = {
40666 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40667 };
40668
40669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40671 if (!SWIG_IsOK(res1)) {
40672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40673 }
40674 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40675 {
40676 arg2 = &temp2;
40677 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40678 }
40679 {
40680 arg3 = &temp3;
40681 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40682 }
40683 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40684 if (!SWIG_IsOK(ecode4)) {
40685 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40686 }
40687 arg4 = static_cast< bool >(val4);
40688 ecode5 = SWIG_AsVal_bool(obj4, &val5);
40689 if (!SWIG_IsOK(ecode5)) {
40690 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40691 }
40692 arg5 = static_cast< bool >(val5);
40693 {
40694 PyThreadState* __tstate = wxPyBeginAllowThreads();
40695 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
40696 wxPyEndAllowThreads(__tstate);
40697 if (PyErr_Occurred()) SWIG_fail;
40698 }
40699 {
40700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40701 }
40702 return resultobj;
40703fail:
40704 return NULL;
d55e5bfc
RD
40705}
40706
40707
1bd55598
RD
40708SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40709 PyObject *obj;
40710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40711 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
40712 return SWIG_Py_Void();
d55e5bfc
RD
40713}
40714
1bd55598
RD
40715SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40716 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
40717}
40718
1bd55598
RD
40719SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
40720 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
40721 return 1;
d55e5bfc
RD
40722}
40723
40724
1bd55598
RD
40725SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
40726 PyObject *pyobj = 0;
40727
40728 {
40729#if wxUSE_UNICODE
40730 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
40731#else
40732 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
40733#endif
40734 }
40735 return pyobj;
40736}
40737
40738
40739SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40740 PyObject *resultobj = 0;
40741 wxWindow *arg1 = (wxWindow *) 0 ;
40742 int arg2 = (int) -1 ;
40743 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
40744 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
40745 wxPoint const &arg4_defvalue = wxDefaultPosition ;
40746 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
40747 wxSize const &arg5_defvalue = wxDefaultSize ;
40748 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
40749 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
40750 wxValidator const &arg7_defvalue = wxDefaultValidator ;
40751 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
40752 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
40753 wxString *arg8 = (wxString *) &arg8_defvalue ;
40754 wxDatePickerCtrl *result = 0 ;
40755 void *argp1 = 0 ;
40756 int res1 = 0 ;
40757 int val2 ;
40758 int ecode2 = 0 ;
40759 void *argp3 = 0 ;
40760 int res3 = 0 ;
40761 wxPoint temp4 ;
40762 wxSize temp5 ;
40763 long val6 ;
40764 int ecode6 = 0 ;
40765 void *argp7 = 0 ;
40766 int res7 = 0 ;
40767 bool temp8 = false ;
40768 PyObject * obj0 = 0 ;
40769 PyObject * obj1 = 0 ;
40770 PyObject * obj2 = 0 ;
40771 PyObject * obj3 = 0 ;
40772 PyObject * obj4 = 0 ;
40773 PyObject * obj5 = 0 ;
40774 PyObject * obj6 = 0 ;
40775 PyObject * obj7 = 0 ;
40776 char * kwnames[] = {
40777 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40778 };
40779
40780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
40781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40782 if (!SWIG_IsOK(res1)) {
40783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40784 }
40785 arg1 = reinterpret_cast< wxWindow * >(argp1);
40786 if (obj1) {
40787 ecode2 = SWIG_AsVal_int(obj1, &val2);
40788 if (!SWIG_IsOK(ecode2)) {
40789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40790 }
40791 arg2 = static_cast< int >(val2);
40792 }
40793 if (obj2) {
40794 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
40795 if (!SWIG_IsOK(res3)) {
40796 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 40797 }
1bd55598
RD
40798 if (!argp3) {
40799 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 40800 }
1bd55598
RD
40801 arg3 = reinterpret_cast< wxDateTime * >(argp3);
40802 }
40803 if (obj3) {
36ed4f51 40804 {
1bd55598
RD
40805 arg4 = &temp4;
40806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 40807 }
1bd55598
RD
40808 }
40809 if (obj4) {
d55e5bfc 40810 {
1bd55598
RD
40811 arg5 = &temp5;
40812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 40813 }
1bd55598
RD
40814 }
40815 if (obj5) {
40816 ecode6 = SWIG_AsVal_long(obj5, &val6);
40817 if (!SWIG_IsOK(ecode6)) {
40818 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40819 }
40820 arg6 = static_cast< long >(val6);
40821 }
40822 if (obj6) {
40823 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
40824 if (!SWIG_IsOK(res7)) {
40825 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 40826 }
1bd55598
RD
40827 if (!argp7) {
40828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 40829 }
1bd55598
RD
40830 arg7 = reinterpret_cast< wxValidator * >(argp7);
40831 }
40832 if (obj7) {
36ed4f51 40833 {
1bd55598
RD
40834 arg8 = wxString_in_helper(obj7);
40835 if (arg8 == NULL) SWIG_fail;
40836 temp8 = true;
36ed4f51 40837 }
1bd55598
RD
40838 }
40839 {
40840 if (!wxPyCheckForApp()) SWIG_fail;
40841 PyThreadState* __tstate = wxPyBeginAllowThreads();
40842 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
40843 wxPyEndAllowThreads(__tstate);
40844 if (PyErr_Occurred()) SWIG_fail;
40845 }
40846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
40847 {
40848 if (temp8)
40849 delete arg8;
40850 }
40851 return resultobj;
40852fail:
40853 {
40854 if (temp8)
40855 delete arg8;
40856 }
40857 return NULL;
d55e5bfc
RD
40858}
40859
40860
1bd55598
RD
40861SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40862 PyObject *resultobj = 0;
40863 wxDatePickerCtrl *result = 0 ;
40864
40865 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
40866 {
40867 if (!wxPyCheckForApp()) SWIG_fail;
40868 PyThreadState* __tstate = wxPyBeginAllowThreads();
40869 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
40870 wxPyEndAllowThreads(__tstate);
40871 if (PyErr_Occurred()) SWIG_fail;
40872 }
40873 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
40874 return resultobj;
40875fail:
40876 return NULL;
40877}
40878
40879
40880SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40881 PyObject *resultobj = 0;
40882 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
40883 wxWindow *arg2 = (wxWindow *) 0 ;
40884 int arg3 = (int) -1 ;
40885 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
40886 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
40887 wxPoint const &arg5_defvalue = wxDefaultPosition ;
40888 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
40889 wxSize const &arg6_defvalue = wxDefaultSize ;
40890 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
40891 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
40892 wxValidator const &arg8_defvalue = wxDefaultValidator ;
40893 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
40894 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
40895 wxString *arg9 = (wxString *) &arg9_defvalue ;
40896 bool result;
40897 void *argp1 = 0 ;
40898 int res1 = 0 ;
40899 void *argp2 = 0 ;
40900 int res2 = 0 ;
40901 int val3 ;
40902 int ecode3 = 0 ;
40903 void *argp4 = 0 ;
40904 int res4 = 0 ;
40905 wxPoint temp5 ;
40906 wxSize temp6 ;
40907 long val7 ;
40908 int ecode7 = 0 ;
40909 void *argp8 = 0 ;
40910 int res8 = 0 ;
40911 bool temp9 = false ;
40912 PyObject * obj0 = 0 ;
40913 PyObject * obj1 = 0 ;
40914 PyObject * obj2 = 0 ;
40915 PyObject * obj3 = 0 ;
40916 PyObject * obj4 = 0 ;
40917 PyObject * obj5 = 0 ;
40918 PyObject * obj6 = 0 ;
40919 PyObject * obj7 = 0 ;
40920 PyObject * obj8 = 0 ;
40921 char * kwnames[] = {
40922 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40923 };
40924
40925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
40926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
40927 if (!SWIG_IsOK(res1)) {
40928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40929 }
40930 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
40931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40932 if (!SWIG_IsOK(res2)) {
40933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40934 }
40935 arg2 = reinterpret_cast< wxWindow * >(argp2);
40936 if (obj2) {
40937 ecode3 = SWIG_AsVal_int(obj2, &val3);
40938 if (!SWIG_IsOK(ecode3)) {
40939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40940 }
40941 arg3 = static_cast< int >(val3);
40942 }
40943 if (obj3) {
40944 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
40945 if (!SWIG_IsOK(res4)) {
40946 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
36ed4f51 40947 }
1bd55598
RD
40948 if (!argp4) {
40949 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 40950 }
1bd55598
RD
40951 arg4 = reinterpret_cast< wxDateTime * >(argp4);
40952 }
40953 if (obj4) {
d55e5bfc 40954 {
1bd55598
RD
40955 arg5 = &temp5;
40956 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 40957 }
1bd55598
RD
40958 }
40959 if (obj5) {
d55e5bfc 40960 {
1bd55598
RD
40961 arg6 = &temp6;
40962 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 40963 }
1bd55598
RD
40964 }
40965 if (obj6) {
40966 ecode7 = SWIG_AsVal_long(obj6, &val7);
40967 if (!SWIG_IsOK(ecode7)) {
40968 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40969 }
40970 arg7 = static_cast< long >(val7);
40971 }
40972 if (obj7) {
40973 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
40974 if (!SWIG_IsOK(res8)) {
40975 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
36ed4f51 40976 }
1bd55598
RD
40977 if (!argp8) {
40978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 40979 }
1bd55598
RD
40980 arg8 = reinterpret_cast< wxValidator * >(argp8);
40981 }
40982 if (obj8) {
36ed4f51 40983 {
1bd55598
RD
40984 arg9 = wxString_in_helper(obj8);
40985 if (arg9 == NULL) SWIG_fail;
40986 temp9 = true;
36ed4f51 40987 }
1bd55598
RD
40988 }
40989 {
40990 PyThreadState* __tstate = wxPyBeginAllowThreads();
40991 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
40992 wxPyEndAllowThreads(__tstate);
40993 if (PyErr_Occurred()) SWIG_fail;
40994 }
40995 {
40996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40997 }
40998 {
40999 if (temp9)
41000 delete arg9;
41001 }
41002 return resultobj;
41003fail:
41004 {
41005 if (temp9)
41006 delete arg9;
41007 }
41008 return NULL;
41009}
41010
41011
41012SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41013 PyObject *resultobj = 0;
41014 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41015 wxDateTime *arg2 = 0 ;
41016 void *argp1 = 0 ;
41017 int res1 = 0 ;
41018 void *argp2 = 0 ;
41019 int res2 = 0 ;
41020 PyObject * obj0 = 0 ;
41021 PyObject * obj1 = 0 ;
41022 char * kwnames[] = {
41023 (char *) "self",(char *) "dt", NULL
41024 };
41025
41026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41028 if (!SWIG_IsOK(res1)) {
41029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41030 }
41031 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41032 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41033 if (!SWIG_IsOK(res2)) {
41034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41035 }
41036 if (!argp2) {
41037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41038 }
41039 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41040 {
41041 PyThreadState* __tstate = wxPyBeginAllowThreads();
41042 (arg1)->SetValue((wxDateTime const &)*arg2);
41043 wxPyEndAllowThreads(__tstate);
41044 if (PyErr_Occurred()) SWIG_fail;
41045 }
41046 resultobj = SWIG_Py_Void();
41047 return resultobj;
41048fail:
41049 return NULL;
d55e5bfc
RD
41050}
41051
41052
1bd55598
RD
41053SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41054 PyObject *resultobj = 0;
41055 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41056 wxDateTime result;
41057 void *argp1 = 0 ;
41058 int res1 = 0 ;
41059 PyObject *swig_obj[1] ;
41060
41061 if (!args) SWIG_fail;
41062 swig_obj[0] = args;
41063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41064 if (!SWIG_IsOK(res1)) {
41065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41066 }
41067 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41068 {
41069 PyThreadState* __tstate = wxPyBeginAllowThreads();
41070 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41071 wxPyEndAllowThreads(__tstate);
41072 if (PyErr_Occurred()) SWIG_fail;
41073 }
41074 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41075 return resultobj;
41076fail:
41077 return NULL;
41078}
41079
41080
41081SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41082 PyObject *resultobj = 0;
41083 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41084 wxDateTime *arg2 = 0 ;
41085 wxDateTime *arg3 = 0 ;
41086 void *argp1 = 0 ;
41087 int res1 = 0 ;
41088 void *argp2 = 0 ;
41089 int res2 = 0 ;
41090 void *argp3 = 0 ;
41091 int res3 = 0 ;
41092 PyObject * obj0 = 0 ;
41093 PyObject * obj1 = 0 ;
41094 PyObject * obj2 = 0 ;
41095 char * kwnames[] = {
41096 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41097 };
41098
41099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41101 if (!SWIG_IsOK(res1)) {
41102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41103 }
41104 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41105 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41106 if (!SWIG_IsOK(res2)) {
41107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41108 }
41109 if (!argp2) {
41110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41111 }
41112 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41113 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41114 if (!SWIG_IsOK(res3)) {
41115 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41116 }
41117 if (!argp3) {
41118 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41119 }
41120 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41121 {
41122 PyThreadState* __tstate = wxPyBeginAllowThreads();
41123 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41124 wxPyEndAllowThreads(__tstate);
41125 if (PyErr_Occurred()) SWIG_fail;
41126 }
41127 resultobj = SWIG_Py_Void();
41128 return resultobj;
41129fail:
41130 return NULL;
d55e5bfc
RD
41131}
41132
41133
1bd55598
RD
41134SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41135 PyObject *resultobj = 0;
41136 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41137 wxDateTime result;
41138 void *argp1 = 0 ;
41139 int res1 = 0 ;
41140 PyObject *swig_obj[1] ;
41141
41142 if (!args) SWIG_fail;
41143 swig_obj[0] = args;
41144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41145 if (!SWIG_IsOK(res1)) {
41146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41147 }
41148 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41149 {
41150 PyThreadState* __tstate = wxPyBeginAllowThreads();
41151 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41152 wxPyEndAllowThreads(__tstate);
41153 if (PyErr_Occurred()) SWIG_fail;
41154 }
41155 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41156 return resultobj;
41157fail:
41158 return NULL;
d55e5bfc
RD
41159}
41160
41161
1bd55598
RD
41162SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41163 PyObject *resultobj = 0;
41164 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41165 wxDateTime result;
41166 void *argp1 = 0 ;
41167 int res1 = 0 ;
41168 PyObject *swig_obj[1] ;
41169
41170 if (!args) SWIG_fail;
41171 swig_obj[0] = args;
41172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41173 if (!SWIG_IsOK(res1)) {
41174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41175 }
41176 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41177 {
41178 PyThreadState* __tstate = wxPyBeginAllowThreads();
41179 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41180 wxPyEndAllowThreads(__tstate);
41181 if (PyErr_Occurred()) SWIG_fail;
41182 }
41183 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41184 return resultobj;
41185fail:
41186 return NULL;
d55e5bfc
RD
41187}
41188
41189
1bd55598
RD
41190SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41191 PyObject *obj;
41192 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41193 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41194 return SWIG_Py_Void();
d55e5bfc
RD
41195}
41196
1bd55598
RD
41197SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41198 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
41199}
41200
704eda0c
RD
41201SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41202 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41203 return 1;
41204}
41205
41206
41207SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41208 PyObject *pyobj = 0;
41209
41210 {
41211#if wxUSE_UNICODE
41212 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41213#else
41214 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41215#endif
41216 }
41217 return pyobj;
41218}
41219
41220
41221SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41222 PyObject *resultobj = 0;
41223 wxWindow *arg1 = (wxWindow *) 0 ;
41224 int arg2 ;
41225 wxString *arg3 = 0 ;
41226 wxString *arg4 = 0 ;
41227 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41228 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41229 wxSize const &arg6_defvalue = wxDefaultSize ;
41230 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41231 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41232 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41233 wxString *arg8 = (wxString *) &arg8_defvalue ;
41234 wxHyperlinkCtrl *result = 0 ;
41235 void *argp1 = 0 ;
41236 int res1 = 0 ;
41237 int val2 ;
41238 int ecode2 = 0 ;
41239 bool temp3 = false ;
41240 bool temp4 = false ;
41241 wxPoint temp5 ;
41242 wxSize temp6 ;
41243 long val7 ;
41244 int ecode7 = 0 ;
41245 bool temp8 = false ;
41246 PyObject * obj0 = 0 ;
41247 PyObject * obj1 = 0 ;
41248 PyObject * obj2 = 0 ;
41249 PyObject * obj3 = 0 ;
41250 PyObject * obj4 = 0 ;
41251 PyObject * obj5 = 0 ;
41252 PyObject * obj6 = 0 ;
41253 PyObject * obj7 = 0 ;
41254 char * kwnames[] = {
41255 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41256 };
41257
41258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41260 if (!SWIG_IsOK(res1)) {
41261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41262 }
41263 arg1 = reinterpret_cast< wxWindow * >(argp1);
41264 ecode2 = SWIG_AsVal_int(obj1, &val2);
41265 if (!SWIG_IsOK(ecode2)) {
41266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41267 }
41268 arg2 = static_cast< int >(val2);
41269 {
41270 arg3 = wxString_in_helper(obj2);
41271 if (arg3 == NULL) SWIG_fail;
41272 temp3 = true;
41273 }
41274 {
41275 arg4 = wxString_in_helper(obj3);
41276 if (arg4 == NULL) SWIG_fail;
41277 temp4 = true;
41278 }
41279 if (obj4) {
41280 {
41281 arg5 = &temp5;
41282 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41283 }
41284 }
41285 if (obj5) {
41286 {
41287 arg6 = &temp6;
41288 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41289 }
41290 }
41291 if (obj6) {
41292 ecode7 = SWIG_AsVal_long(obj6, &val7);
41293 if (!SWIG_IsOK(ecode7)) {
41294 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41295 }
41296 arg7 = static_cast< long >(val7);
41297 }
41298 if (obj7) {
41299 {
41300 arg8 = wxString_in_helper(obj7);
41301 if (arg8 == NULL) SWIG_fail;
41302 temp8 = true;
41303 }
41304 }
41305 {
41306 if (!wxPyCheckForApp()) SWIG_fail;
41307 PyThreadState* __tstate = wxPyBeginAllowThreads();
41308 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41309 wxPyEndAllowThreads(__tstate);
41310 if (PyErr_Occurred()) SWIG_fail;
41311 }
41312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41313 {
41314 if (temp3)
41315 delete arg3;
41316 }
41317 {
41318 if (temp4)
41319 delete arg4;
41320 }
41321 {
41322 if (temp8)
41323 delete arg8;
41324 }
41325 return resultobj;
41326fail:
41327 {
41328 if (temp3)
41329 delete arg3;
41330 }
41331 {
41332 if (temp4)
41333 delete arg4;
41334 }
41335 {
41336 if (temp8)
41337 delete arg8;
41338 }
41339 return NULL;
41340}
41341
41342
41343SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41344 PyObject *resultobj = 0;
41345 wxHyperlinkCtrl *result = 0 ;
41346
41347 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41348 {
41349 if (!wxPyCheckForApp()) SWIG_fail;
41350 PyThreadState* __tstate = wxPyBeginAllowThreads();
41351 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41352 wxPyEndAllowThreads(__tstate);
41353 if (PyErr_Occurred()) SWIG_fail;
41354 }
41355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41356 return resultobj;
41357fail:
41358 return NULL;
41359}
41360
41361
41362SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41363 PyObject *resultobj = 0;
41364 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41365 wxWindow *arg2 = (wxWindow *) 0 ;
41366 int arg3 ;
41367 wxString *arg4 = 0 ;
41368 wxString *arg5 = 0 ;
41369 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41370 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41371 wxSize const &arg7_defvalue = wxDefaultSize ;
41372 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41373 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41374 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41375 wxString *arg9 = (wxString *) &arg9_defvalue ;
41376 bool result;
41377 void *argp1 = 0 ;
41378 int res1 = 0 ;
41379 void *argp2 = 0 ;
41380 int res2 = 0 ;
41381 int val3 ;
41382 int ecode3 = 0 ;
41383 bool temp4 = false ;
41384 bool temp5 = false ;
41385 wxPoint temp6 ;
41386 wxSize temp7 ;
41387 long val8 ;
41388 int ecode8 = 0 ;
41389 bool temp9 = false ;
41390 PyObject * obj0 = 0 ;
41391 PyObject * obj1 = 0 ;
41392 PyObject * obj2 = 0 ;
41393 PyObject * obj3 = 0 ;
41394 PyObject * obj4 = 0 ;
41395 PyObject * obj5 = 0 ;
41396 PyObject * obj6 = 0 ;
41397 PyObject * obj7 = 0 ;
41398 PyObject * obj8 = 0 ;
41399 char * kwnames[] = {
41400 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41401 };
41402
41403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41405 if (!SWIG_IsOK(res1)) {
41406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41407 }
41408 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41409 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41410 if (!SWIG_IsOK(res2)) {
41411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41412 }
41413 arg2 = reinterpret_cast< wxWindow * >(argp2);
41414 ecode3 = SWIG_AsVal_int(obj2, &val3);
41415 if (!SWIG_IsOK(ecode3)) {
41416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41417 }
41418 arg3 = static_cast< int >(val3);
41419 {
41420 arg4 = wxString_in_helper(obj3);
41421 if (arg4 == NULL) SWIG_fail;
41422 temp4 = true;
41423 }
41424 {
41425 arg5 = wxString_in_helper(obj4);
41426 if (arg5 == NULL) SWIG_fail;
41427 temp5 = true;
41428 }
41429 if (obj5) {
41430 {
41431 arg6 = &temp6;
41432 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41433 }
41434 }
41435 if (obj6) {
41436 {
41437 arg7 = &temp7;
41438 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41439 }
41440 }
41441 if (obj7) {
41442 ecode8 = SWIG_AsVal_long(obj7, &val8);
41443 if (!SWIG_IsOK(ecode8)) {
41444 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41445 }
41446 arg8 = static_cast< long >(val8);
41447 }
41448 if (obj8) {
41449 {
41450 arg9 = wxString_in_helper(obj8);
41451 if (arg9 == NULL) SWIG_fail;
41452 temp9 = true;
41453 }
41454 }
41455 {
41456 PyThreadState* __tstate = wxPyBeginAllowThreads();
41457 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41458 wxPyEndAllowThreads(__tstate);
41459 if (PyErr_Occurred()) SWIG_fail;
41460 }
41461 {
41462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41463 }
41464 {
41465 if (temp4)
41466 delete arg4;
41467 }
41468 {
41469 if (temp5)
41470 delete arg5;
41471 }
41472 {
41473 if (temp9)
41474 delete arg9;
41475 }
41476 return resultobj;
41477fail:
41478 {
41479 if (temp4)
41480 delete arg4;
41481 }
41482 {
41483 if (temp5)
41484 delete arg5;
41485 }
41486 {
41487 if (temp9)
41488 delete arg9;
41489 }
41490 return NULL;
41491}
41492
41493
41494SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41495 PyObject *resultobj = 0;
41496 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41497 wxColour result;
41498 void *argp1 = 0 ;
41499 int res1 = 0 ;
41500 PyObject *swig_obj[1] ;
41501
41502 if (!args) SWIG_fail;
41503 swig_obj[0] = args;
41504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41505 if (!SWIG_IsOK(res1)) {
41506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41507 }
41508 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41509 {
41510 PyThreadState* __tstate = wxPyBeginAllowThreads();
41511 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
41512 wxPyEndAllowThreads(__tstate);
41513 if (PyErr_Occurred()) SWIG_fail;
41514 }
41515 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41516 return resultobj;
41517fail:
41518 return NULL;
41519}
41520
41521
41522SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41523 PyObject *resultobj = 0;
41524 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41525 wxColour *arg2 = 0 ;
41526 void *argp1 = 0 ;
41527 int res1 = 0 ;
41528 wxColour temp2 ;
41529 PyObject * obj0 = 0 ;
41530 PyObject * obj1 = 0 ;
41531 char * kwnames[] = {
41532 (char *) "self",(char *) "colour", NULL
41533 };
41534
41535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
41536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41537 if (!SWIG_IsOK(res1)) {
41538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41539 }
41540 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41541 {
41542 arg2 = &temp2;
41543 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41544 }
41545 {
41546 PyThreadState* __tstate = wxPyBeginAllowThreads();
41547 (arg1)->SetHoverColour((wxColour const &)*arg2);
41548 wxPyEndAllowThreads(__tstate);
41549 if (PyErr_Occurred()) SWIG_fail;
41550 }
41551 resultobj = SWIG_Py_Void();
41552 return resultobj;
41553fail:
41554 return NULL;
41555}
41556
41557
41558SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41559 PyObject *resultobj = 0;
41560 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41561 wxColour result;
41562 void *argp1 = 0 ;
41563 int res1 = 0 ;
41564 PyObject *swig_obj[1] ;
41565
41566 if (!args) SWIG_fail;
41567 swig_obj[0] = args;
41568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41569 if (!SWIG_IsOK(res1)) {
41570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41571 }
41572 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41573 {
41574 PyThreadState* __tstate = wxPyBeginAllowThreads();
41575 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
41576 wxPyEndAllowThreads(__tstate);
41577 if (PyErr_Occurred()) SWIG_fail;
41578 }
41579 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41580 return resultobj;
41581fail:
41582 return NULL;
41583}
41584
41585
41586SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41587 PyObject *resultobj = 0;
41588 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41589 wxColour *arg2 = 0 ;
41590 void *argp1 = 0 ;
41591 int res1 = 0 ;
41592 wxColour temp2 ;
41593 PyObject * obj0 = 0 ;
41594 PyObject * obj1 = 0 ;
41595 char * kwnames[] = {
41596 (char *) "self",(char *) "colour", NULL
41597 };
41598
41599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
41600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41601 if (!SWIG_IsOK(res1)) {
41602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41603 }
41604 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41605 {
41606 arg2 = &temp2;
41607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41608 }
41609 {
41610 PyThreadState* __tstate = wxPyBeginAllowThreads();
41611 (arg1)->SetNormalColour((wxColour const &)*arg2);
41612 wxPyEndAllowThreads(__tstate);
41613 if (PyErr_Occurred()) SWIG_fail;
41614 }
41615 resultobj = SWIG_Py_Void();
41616 return resultobj;
41617fail:
41618 return NULL;
41619}
41620
41621
41622SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41623 PyObject *resultobj = 0;
41624 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41625 wxColour result;
41626 void *argp1 = 0 ;
41627 int res1 = 0 ;
41628 PyObject *swig_obj[1] ;
41629
41630 if (!args) SWIG_fail;
41631 swig_obj[0] = args;
41632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41633 if (!SWIG_IsOK(res1)) {
41634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41635 }
41636 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41637 {
41638 PyThreadState* __tstate = wxPyBeginAllowThreads();
41639 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
41640 wxPyEndAllowThreads(__tstate);
41641 if (PyErr_Occurred()) SWIG_fail;
41642 }
41643 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41644 return resultobj;
41645fail:
41646 return NULL;
41647}
41648
41649
41650SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41651 PyObject *resultobj = 0;
41652 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41653 wxColour *arg2 = 0 ;
41654 void *argp1 = 0 ;
41655 int res1 = 0 ;
41656 wxColour temp2 ;
41657 PyObject * obj0 = 0 ;
41658 PyObject * obj1 = 0 ;
41659 char * kwnames[] = {
41660 (char *) "self",(char *) "colour", NULL
41661 };
41662
41663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
41664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41665 if (!SWIG_IsOK(res1)) {
41666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41667 }
41668 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41669 {
41670 arg2 = &temp2;
41671 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41672 }
41673 {
41674 PyThreadState* __tstate = wxPyBeginAllowThreads();
41675 (arg1)->SetVisitedColour((wxColour const &)*arg2);
41676 wxPyEndAllowThreads(__tstate);
41677 if (PyErr_Occurred()) SWIG_fail;
41678 }
41679 resultobj = SWIG_Py_Void();
41680 return resultobj;
41681fail:
41682 return NULL;
41683}
41684
41685
41686SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41687 PyObject *resultobj = 0;
41688 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41689 wxString result;
41690 void *argp1 = 0 ;
41691 int res1 = 0 ;
41692 PyObject *swig_obj[1] ;
41693
41694 if (!args) SWIG_fail;
41695 swig_obj[0] = args;
41696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41697 if (!SWIG_IsOK(res1)) {
41698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41699 }
41700 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41701 {
41702 PyThreadState* __tstate = wxPyBeginAllowThreads();
41703 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
41704 wxPyEndAllowThreads(__tstate);
41705 if (PyErr_Occurred()) SWIG_fail;
41706 }
41707 {
41708#if wxUSE_UNICODE
41709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
41710#else
41711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
41712#endif
41713 }
41714 return resultobj;
41715fail:
41716 return NULL;
41717}
41718
41719
41720SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41721 PyObject *resultobj = 0;
41722 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41723 wxString *arg2 = 0 ;
41724 void *argp1 = 0 ;
41725 int res1 = 0 ;
41726 bool temp2 = false ;
41727 PyObject * obj0 = 0 ;
41728 PyObject * obj1 = 0 ;
41729 char * kwnames[] = {
41730 (char *) "self",(char *) "url", NULL
41731 };
41732
41733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
41734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41735 if (!SWIG_IsOK(res1)) {
41736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41737 }
41738 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41739 {
41740 arg2 = wxString_in_helper(obj1);
41741 if (arg2 == NULL) SWIG_fail;
41742 temp2 = true;
41743 }
41744 {
41745 PyThreadState* __tstate = wxPyBeginAllowThreads();
41746 (arg1)->SetURL((wxString const &)*arg2);
41747 wxPyEndAllowThreads(__tstate);
41748 if (PyErr_Occurred()) SWIG_fail;
41749 }
41750 resultobj = SWIG_Py_Void();
41751 {
41752 if (temp2)
41753 delete arg2;
41754 }
41755 return resultobj;
41756fail:
41757 {
41758 if (temp2)
41759 delete arg2;
41760 }
41761 return NULL;
41762}
41763
41764
41765SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41766 PyObject *resultobj = 0;
41767 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41768 bool arg2 = (bool) true ;
41769 void *argp1 = 0 ;
41770 int res1 = 0 ;
41771 bool val2 ;
41772 int ecode2 = 0 ;
41773 PyObject * obj0 = 0 ;
41774 PyObject * obj1 = 0 ;
41775 char * kwnames[] = {
41776 (char *) "self",(char *) "visited", NULL
41777 };
41778
41779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
41780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41781 if (!SWIG_IsOK(res1)) {
41782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41783 }
41784 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41785 if (obj1) {
41786 ecode2 = SWIG_AsVal_bool(obj1, &val2);
41787 if (!SWIG_IsOK(ecode2)) {
41788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41789 }
41790 arg2 = static_cast< bool >(val2);
41791 }
41792 {
41793 PyThreadState* __tstate = wxPyBeginAllowThreads();
41794 (arg1)->SetVisited(arg2);
41795 wxPyEndAllowThreads(__tstate);
41796 if (PyErr_Occurred()) SWIG_fail;
41797 }
41798 resultobj = SWIG_Py_Void();
41799 return resultobj;
41800fail:
41801 return NULL;
41802}
41803
41804
41805SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41806 PyObject *resultobj = 0;
41807 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41808 bool result;
41809 void *argp1 = 0 ;
41810 int res1 = 0 ;
41811 PyObject *swig_obj[1] ;
41812
41813 if (!args) SWIG_fail;
41814 swig_obj[0] = args;
41815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41816 if (!SWIG_IsOK(res1)) {
41817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41818 }
41819 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41820 {
41821 PyThreadState* __tstate = wxPyBeginAllowThreads();
41822 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
41823 wxPyEndAllowThreads(__tstate);
41824 if (PyErr_Occurred()) SWIG_fail;
41825 }
41826 {
41827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41828 }
41829 return resultobj;
41830fail:
41831 return NULL;
41832}
41833
41834
41835SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41836 PyObject *obj;
41837 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41838 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
41839 return SWIG_Py_Void();
41840}
41841
41842SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41843 return SWIG_Python_InitShadowInstance(args);
41844}
41845
41846SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41847 PyObject *resultobj = 0;
41848 wxObject *arg1 = (wxObject *) 0 ;
41849 int arg2 ;
41850 wxString *arg3 = 0 ;
41851 wxHyperlinkEvent *result = 0 ;
41852 void *argp1 = 0 ;
41853 int res1 = 0 ;
41854 int val2 ;
41855 int ecode2 = 0 ;
41856 bool temp3 = false ;
41857 PyObject * obj0 = 0 ;
41858 PyObject * obj1 = 0 ;
41859 PyObject * obj2 = 0 ;
41860 char * kwnames[] = {
41861 (char *) "generator",(char *) "id",(char *) "url", NULL
41862 };
41863
41864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
41866 if (!SWIG_IsOK(res1)) {
41867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41868 }
41869 arg1 = reinterpret_cast< wxObject * >(argp1);
41870 ecode2 = SWIG_AsVal_int(obj1, &val2);
41871 if (!SWIG_IsOK(ecode2)) {
41872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41873 }
41874 arg2 = static_cast< int >(val2);
41875 {
41876 arg3 = wxString_in_helper(obj2);
41877 if (arg3 == NULL) SWIG_fail;
41878 temp3 = true;
41879 }
41880 {
41881 PyThreadState* __tstate = wxPyBeginAllowThreads();
41882 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
41883 wxPyEndAllowThreads(__tstate);
41884 if (PyErr_Occurred()) SWIG_fail;
41885 }
41886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
41887 {
41888 if (temp3)
41889 delete arg3;
41890 }
41891 return resultobj;
41892fail:
41893 {
41894 if (temp3)
41895 delete arg3;
41896 }
41897 return NULL;
41898}
41899
41900
41901SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41902 PyObject *resultobj = 0;
41903 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
41904 wxString result;
41905 void *argp1 = 0 ;
41906 int res1 = 0 ;
41907 PyObject *swig_obj[1] ;
41908
41909 if (!args) SWIG_fail;
41910 swig_obj[0] = args;
41911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
41912 if (!SWIG_IsOK(res1)) {
41913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41914 }
41915 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
41916 {
41917 PyThreadState* __tstate = wxPyBeginAllowThreads();
41918 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
41919 wxPyEndAllowThreads(__tstate);
41920 if (PyErr_Occurred()) SWIG_fail;
41921 }
41922 {
41923#if wxUSE_UNICODE
41924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
41925#else
41926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
41927#endif
41928 }
41929 return resultobj;
41930fail:
41931 return NULL;
41932}
41933
41934
41935SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41936 PyObject *resultobj = 0;
41937 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
41938 wxString *arg2 = 0 ;
41939 void *argp1 = 0 ;
41940 int res1 = 0 ;
41941 bool temp2 = false ;
41942 PyObject * obj0 = 0 ;
41943 PyObject * obj1 = 0 ;
41944 char * kwnames[] = {
41945 (char *) "self",(char *) "url", NULL
41946 };
41947
41948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
41949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
41950 if (!SWIG_IsOK(res1)) {
41951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
41952 }
41953 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
41954 {
41955 arg2 = wxString_in_helper(obj1);
41956 if (arg2 == NULL) SWIG_fail;
41957 temp2 = true;
41958 }
41959 {
41960 PyThreadState* __tstate = wxPyBeginAllowThreads();
41961 (arg1)->SetURL((wxString const &)*arg2);
41962 wxPyEndAllowThreads(__tstate);
41963 if (PyErr_Occurred()) SWIG_fail;
41964 }
41965 resultobj = SWIG_Py_Void();
41966 {
41967 if (temp2)
41968 delete arg2;
41969 }
41970 return resultobj;
41971fail:
41972 {
41973 if (temp2)
41974 delete arg2;
41975 }
41976 return NULL;
41977}
41978
41979
41980SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41981 PyObject *obj;
41982 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41983 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
41984 return SWIG_Py_Void();
41985}
41986
41987SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41988 return SWIG_Python_InitShadowInstance(args);
41989}
41990
b850e7f3
RD
41991SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41992 PyObject *resultobj = 0;
41993 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
41994 wxWindow *arg2 = (wxWindow *) 0 ;
41995 int arg3 ;
41996 wxString const &arg4_defvalue = wxEmptyString ;
41997 wxString *arg4 = (wxString *) &arg4_defvalue ;
41998 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41999 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42000 wxSize const &arg6_defvalue = wxDefaultSize ;
42001 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42002 long arg7 = (long) 0 ;
42003 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42004 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42005 wxString const &arg9_defvalue = wxButtonNameStr ;
42006 wxString *arg9 = (wxString *) &arg9_defvalue ;
42007 bool result;
42008 void *argp1 = 0 ;
42009 int res1 = 0 ;
42010 void *argp2 = 0 ;
42011 int res2 = 0 ;
42012 int val3 ;
42013 int ecode3 = 0 ;
42014 bool temp4 = false ;
42015 wxPoint temp5 ;
42016 wxSize temp6 ;
42017 long val7 ;
42018 int ecode7 = 0 ;
42019 void *argp8 = 0 ;
42020 int res8 = 0 ;
42021 bool temp9 = false ;
42022 PyObject * obj0 = 0 ;
42023 PyObject * obj1 = 0 ;
42024 PyObject * obj2 = 0 ;
42025 PyObject * obj3 = 0 ;
42026 PyObject * obj4 = 0 ;
42027 PyObject * obj5 = 0 ;
42028 PyObject * obj6 = 0 ;
42029 PyObject * obj7 = 0 ;
42030 PyObject * obj8 = 0 ;
42031 char * kwnames[] = {
42032 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42033 };
42034
42035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42037 if (!SWIG_IsOK(res1)) {
42038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42039 }
42040 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42041 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42042 if (!SWIG_IsOK(res2)) {
42043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42044 }
42045 arg2 = reinterpret_cast< wxWindow * >(argp2);
42046 ecode3 = SWIG_AsVal_int(obj2, &val3);
42047 if (!SWIG_IsOK(ecode3)) {
42048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42049 }
42050 arg3 = static_cast< int >(val3);
42051 if (obj3) {
42052 {
42053 arg4 = wxString_in_helper(obj3);
42054 if (arg4 == NULL) SWIG_fail;
42055 temp4 = true;
42056 }
42057 }
42058 if (obj4) {
42059 {
42060 arg5 = &temp5;
42061 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42062 }
42063 }
42064 if (obj5) {
42065 {
42066 arg6 = &temp6;
42067 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42068 }
42069 }
42070 if (obj6) {
42071 ecode7 = SWIG_AsVal_long(obj6, &val7);
42072 if (!SWIG_IsOK(ecode7)) {
42073 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42074 }
42075 arg7 = static_cast< long >(val7);
42076 }
42077 if (obj7) {
42078 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42079 if (!SWIG_IsOK(res8)) {
42080 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42081 }
42082 if (!argp8) {
42083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42084 }
42085 arg8 = reinterpret_cast< wxValidator * >(argp8);
42086 }
42087 if (obj8) {
42088 {
42089 arg9 = wxString_in_helper(obj8);
42090 if (arg9 == NULL) SWIG_fail;
42091 temp9 = true;
42092 }
42093 }
42094 {
42095 PyThreadState* __tstate = wxPyBeginAllowThreads();
42096 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42097 wxPyEndAllowThreads(__tstate);
42098 if (PyErr_Occurred()) SWIG_fail;
42099 }
42100 {
42101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42102 }
42103 {
42104 if (temp4)
42105 delete arg4;
42106 }
42107 {
42108 if (temp9)
42109 delete arg9;
42110 }
42111 return resultobj;
42112fail:
42113 {
42114 if (temp4)
42115 delete arg4;
42116 }
42117 {
42118 if (temp9)
42119 delete arg9;
42120 }
42121 return NULL;
42122}
42123
42124
42125SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42126 PyObject *resultobj = 0;
42127 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42128 int arg2 ;
42129 void *argp1 = 0 ;
42130 int res1 = 0 ;
42131 int val2 ;
42132 int ecode2 = 0 ;
42133 PyObject * obj0 = 0 ;
42134 PyObject * obj1 = 0 ;
42135 char * kwnames[] = {
42136 (char *) "self",(char *) "newmargin", NULL
42137 };
42138
42139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42141 if (!SWIG_IsOK(res1)) {
42142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42143 }
42144 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42145 ecode2 = SWIG_AsVal_int(obj1, &val2);
42146 if (!SWIG_IsOK(ecode2)) {
42147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42148 }
42149 arg2 = static_cast< int >(val2);
42150 {
42151 PyThreadState* __tstate = wxPyBeginAllowThreads();
42152 (arg1)->SetInternalMargin(arg2);
42153 wxPyEndAllowThreads(__tstate);
42154 if (PyErr_Occurred()) SWIG_fail;
42155 }
42156 resultobj = SWIG_Py_Void();
42157 return resultobj;
42158fail:
42159 return NULL;
42160}
42161
42162
42163SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42164 PyObject *resultobj = 0;
42165 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42166 int result;
42167 void *argp1 = 0 ;
42168 int res1 = 0 ;
42169 PyObject *swig_obj[1] ;
42170
42171 if (!args) SWIG_fail;
42172 swig_obj[0] = args;
42173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42174 if (!SWIG_IsOK(res1)) {
42175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42176 }
42177 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42178 {
42179 PyThreadState* __tstate = wxPyBeginAllowThreads();
42180 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42181 wxPyEndAllowThreads(__tstate);
42182 if (PyErr_Occurred()) SWIG_fail;
42183 }
42184 resultobj = SWIG_From_int(static_cast< int >(result));
42185 return resultobj;
42186fail:
42187 return NULL;
42188}
42189
42190
42191SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42192 PyObject *resultobj = 0;
42193 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42194 int arg2 ;
42195 void *argp1 = 0 ;
42196 int res1 = 0 ;
42197 int val2 ;
42198 int ecode2 = 0 ;
42199 PyObject * obj0 = 0 ;
42200 PyObject * obj1 = 0 ;
42201 char * kwnames[] = {
42202 (char *) "self",(char *) "prop", NULL
42203 };
42204
42205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42207 if (!SWIG_IsOK(res1)) {
42208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42209 }
42210 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42211 ecode2 = SWIG_AsVal_int(obj1, &val2);
42212 if (!SWIG_IsOK(ecode2)) {
42213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42214 }
42215 arg2 = static_cast< int >(val2);
42216 {
42217 PyThreadState* __tstate = wxPyBeginAllowThreads();
42218 (arg1)->SetTextCtrlProportion(arg2);
42219 wxPyEndAllowThreads(__tstate);
42220 if (PyErr_Occurred()) SWIG_fail;
42221 }
42222 resultobj = SWIG_Py_Void();
42223 return resultobj;
42224fail:
42225 return NULL;
42226}
42227
42228
42229SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42230 PyObject *resultobj = 0;
42231 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42232 int result;
42233 void *argp1 = 0 ;
42234 int res1 = 0 ;
42235 PyObject *swig_obj[1] ;
42236
42237 if (!args) SWIG_fail;
42238 swig_obj[0] = args;
42239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42240 if (!SWIG_IsOK(res1)) {
42241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42242 }
42243 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42244 {
42245 PyThreadState* __tstate = wxPyBeginAllowThreads();
42246 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42247 wxPyEndAllowThreads(__tstate);
42248 if (PyErr_Occurred()) SWIG_fail;
42249 }
42250 resultobj = SWIG_From_int(static_cast< int >(result));
42251 return resultobj;
42252fail:
42253 return NULL;
42254}
42255
42256
42257SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42258 PyObject *resultobj = 0;
42259 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42260 bool result;
42261 void *argp1 = 0 ;
42262 int res1 = 0 ;
42263 PyObject *swig_obj[1] ;
42264
42265 if (!args) SWIG_fail;
42266 swig_obj[0] = args;
42267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42268 if (!SWIG_IsOK(res1)) {
42269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42270 }
42271 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42272 {
42273 PyThreadState* __tstate = wxPyBeginAllowThreads();
42274 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
42275 wxPyEndAllowThreads(__tstate);
42276 if (PyErr_Occurred()) SWIG_fail;
42277 }
42278 {
42279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42280 }
42281 return resultobj;
42282fail:
42283 return NULL;
42284}
42285
42286
42287SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42288 PyObject *resultobj = 0;
42289 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42290 wxTextCtrl *result = 0 ;
42291 void *argp1 = 0 ;
42292 int res1 = 0 ;
42293 PyObject *swig_obj[1] ;
42294
42295 if (!args) SWIG_fail;
42296 swig_obj[0] = args;
42297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42298 if (!SWIG_IsOK(res1)) {
42299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42300 }
42301 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42302 {
42303 PyThreadState* __tstate = wxPyBeginAllowThreads();
42304 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
42305 wxPyEndAllowThreads(__tstate);
42306 if (PyErr_Occurred()) SWIG_fail;
42307 }
42308 {
42309 resultobj = wxPyMake_wxObject(result, 0);
42310 }
42311 return resultobj;
42312fail:
42313 return NULL;
42314}
42315
42316
42317SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42318 PyObject *resultobj = 0;
42319 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42320 wxControl *result = 0 ;
42321 void *argp1 = 0 ;
42322 int res1 = 0 ;
42323 PyObject *swig_obj[1] ;
42324
42325 if (!args) SWIG_fail;
42326 swig_obj[0] = args;
42327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42328 if (!SWIG_IsOK(res1)) {
42329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42330 }
42331 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42332 {
42333 PyThreadState* __tstate = wxPyBeginAllowThreads();
42334 result = (wxControl *)(arg1)->GetPickerCtrl();
42335 wxPyEndAllowThreads(__tstate);
42336 if (PyErr_Occurred()) SWIG_fail;
42337 }
42338 {
42339 resultobj = wxPyMake_wxObject(result, 0);
42340 }
42341 return resultobj;
42342fail:
42343 return NULL;
42344}
42345
42346
42347SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42348 PyObject *obj;
42349 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
42351 return SWIG_Py_Void();
42352}
42353
42354SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
42355 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
42356 return 1;
42357}
42358
42359
42360SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
42361 PyObject *pyobj = 0;
42362
42363 {
42364#if wxUSE_UNICODE
42365 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
42366#else
42367 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
42368#endif
42369 }
42370 return pyobj;
42371}
42372
42373
42374SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42375 PyObject *resultobj = 0;
42376 wxWindow *arg1 = (wxWindow *) 0 ;
42377 int arg2 = (int) -1 ;
42378 wxColour const &arg3_defvalue = *wxBLACK ;
42379 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
42380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
42381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
42382 wxSize const &arg5_defvalue = wxDefaultSize ;
42383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
42384 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
42385 wxValidator const &arg7_defvalue = wxDefaultValidator ;
42386 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
42387 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
42388 wxString *arg8 = (wxString *) &arg8_defvalue ;
42389 wxColourPickerCtrl *result = 0 ;
42390 void *argp1 = 0 ;
42391 int res1 = 0 ;
42392 int val2 ;
42393 int ecode2 = 0 ;
42394 wxColour temp3 ;
42395 wxPoint temp4 ;
42396 wxSize temp5 ;
42397 long val6 ;
42398 int ecode6 = 0 ;
42399 void *argp7 = 0 ;
42400 int res7 = 0 ;
42401 bool temp8 = false ;
42402 PyObject * obj0 = 0 ;
42403 PyObject * obj1 = 0 ;
42404 PyObject * obj2 = 0 ;
42405 PyObject * obj3 = 0 ;
42406 PyObject * obj4 = 0 ;
42407 PyObject * obj5 = 0 ;
42408 PyObject * obj6 = 0 ;
42409 PyObject * obj7 = 0 ;
42410 char * kwnames[] = {
42411 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42412 };
42413
42414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42416 if (!SWIG_IsOK(res1)) {
42417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42418 }
42419 arg1 = reinterpret_cast< wxWindow * >(argp1);
42420 if (obj1) {
42421 ecode2 = SWIG_AsVal_int(obj1, &val2);
42422 if (!SWIG_IsOK(ecode2)) {
42423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42424 }
42425 arg2 = static_cast< int >(val2);
42426 }
42427 if (obj2) {
42428 {
42429 arg3 = &temp3;
42430 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
42431 }
42432 }
42433 if (obj3) {
42434 {
42435 arg4 = &temp4;
42436 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
42437 }
42438 }
42439 if (obj4) {
42440 {
42441 arg5 = &temp5;
42442 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
42443 }
42444 }
42445 if (obj5) {
42446 ecode6 = SWIG_AsVal_long(obj5, &val6);
42447 if (!SWIG_IsOK(ecode6)) {
42448 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42449 }
42450 arg6 = static_cast< long >(val6);
42451 }
42452 if (obj6) {
42453 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
42454 if (!SWIG_IsOK(res7)) {
42455 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42456 }
42457 if (!argp7) {
42458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42459 }
42460 arg7 = reinterpret_cast< wxValidator * >(argp7);
42461 }
42462 if (obj7) {
42463 {
42464 arg8 = wxString_in_helper(obj7);
42465 if (arg8 == NULL) SWIG_fail;
42466 temp8 = true;
42467 }
42468 }
42469 {
42470 if (!wxPyCheckForApp()) SWIG_fail;
42471 PyThreadState* __tstate = wxPyBeginAllowThreads();
42472 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
42473 wxPyEndAllowThreads(__tstate);
42474 if (PyErr_Occurred()) SWIG_fail;
42475 }
42476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
42477 {
42478 if (temp8)
42479 delete arg8;
42480 }
42481 return resultobj;
42482fail:
42483 {
42484 if (temp8)
42485 delete arg8;
42486 }
42487 return NULL;
42488}
42489
42490
42491SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42492 PyObject *resultobj = 0;
42493 wxColourPickerCtrl *result = 0 ;
42494
42495 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
42496 {
42497 if (!wxPyCheckForApp()) SWIG_fail;
42498 PyThreadState* __tstate = wxPyBeginAllowThreads();
42499 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
42500 wxPyEndAllowThreads(__tstate);
42501 if (PyErr_Occurred()) SWIG_fail;
42502 }
42503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
42504 return resultobj;
42505fail:
42506 return NULL;
42507}
42508
42509
42510SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42511 PyObject *resultobj = 0;
42512 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42513 wxWindow *arg2 = (wxWindow *) 0 ;
42514 int arg3 ;
42515 wxColour const &arg4_defvalue = *wxBLACK ;
42516 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
42517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42519 wxSize const &arg6_defvalue = wxDefaultSize ;
42520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42521 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
42522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42524 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
42525 wxString *arg9 = (wxString *) &arg9_defvalue ;
42526 bool result;
42527 void *argp1 = 0 ;
42528 int res1 = 0 ;
42529 void *argp2 = 0 ;
42530 int res2 = 0 ;
42531 int val3 ;
42532 int ecode3 = 0 ;
42533 wxColour temp4 ;
42534 wxPoint temp5 ;
42535 wxSize temp6 ;
42536 long val7 ;
42537 int ecode7 = 0 ;
42538 void *argp8 = 0 ;
42539 int res8 = 0 ;
42540 bool temp9 = false ;
42541 PyObject * obj0 = 0 ;
42542 PyObject * obj1 = 0 ;
42543 PyObject * obj2 = 0 ;
42544 PyObject * obj3 = 0 ;
42545 PyObject * obj4 = 0 ;
42546 PyObject * obj5 = 0 ;
42547 PyObject * obj6 = 0 ;
42548 PyObject * obj7 = 0 ;
42549 PyObject * obj8 = 0 ;
42550 char * kwnames[] = {
42551 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42552 };
42553
42554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42556 if (!SWIG_IsOK(res1)) {
42557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42558 }
42559 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42560 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42561 if (!SWIG_IsOK(res2)) {
42562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42563 }
42564 arg2 = reinterpret_cast< wxWindow * >(argp2);
42565 ecode3 = SWIG_AsVal_int(obj2, &val3);
42566 if (!SWIG_IsOK(ecode3)) {
42567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42568 }
42569 arg3 = static_cast< int >(val3);
42570 if (obj3) {
42571 {
42572 arg4 = &temp4;
42573 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
42574 }
42575 }
42576 if (obj4) {
42577 {
42578 arg5 = &temp5;
42579 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42580 }
42581 }
42582 if (obj5) {
42583 {
42584 arg6 = &temp6;
42585 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42586 }
42587 }
42588 if (obj6) {
42589 ecode7 = SWIG_AsVal_long(obj6, &val7);
42590 if (!SWIG_IsOK(ecode7)) {
42591 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42592 }
42593 arg7 = static_cast< long >(val7);
42594 }
42595 if (obj7) {
42596 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42597 if (!SWIG_IsOK(res8)) {
42598 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42599 }
42600 if (!argp8) {
42601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42602 }
42603 arg8 = reinterpret_cast< wxValidator * >(argp8);
42604 }
42605 if (obj8) {
42606 {
42607 arg9 = wxString_in_helper(obj8);
42608 if (arg9 == NULL) SWIG_fail;
42609 temp9 = true;
42610 }
42611 }
42612 {
42613 PyThreadState* __tstate = wxPyBeginAllowThreads();
42614 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42615 wxPyEndAllowThreads(__tstate);
42616 if (PyErr_Occurred()) SWIG_fail;
42617 }
42618 {
42619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42620 }
42621 {
42622 if (temp9)
42623 delete arg9;
42624 }
42625 return resultobj;
42626fail:
42627 {
42628 if (temp9)
42629 delete arg9;
42630 }
42631 return NULL;
42632}
42633
42634
42635SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42636 PyObject *resultobj = 0;
42637 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42638 wxColour result;
42639 void *argp1 = 0 ;
42640 int res1 = 0 ;
42641 PyObject *swig_obj[1] ;
42642
42643 if (!args) SWIG_fail;
42644 swig_obj[0] = args;
42645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42646 if (!SWIG_IsOK(res1)) {
42647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42648 }
42649 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42650 {
42651 PyThreadState* __tstate = wxPyBeginAllowThreads();
42652 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
42653 wxPyEndAllowThreads(__tstate);
42654 if (PyErr_Occurred()) SWIG_fail;
42655 }
42656 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42657 return resultobj;
42658fail:
42659 return NULL;
42660}
42661
42662
42663SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42664 PyObject *resultobj = 0;
42665 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42666 wxColour *arg2 = 0 ;
42667 void *argp1 = 0 ;
42668 int res1 = 0 ;
42669 wxColour temp2 ;
42670 PyObject * obj0 = 0 ;
42671 PyObject * obj1 = 0 ;
42672 char * kwnames[] = {
42673 (char *) "self",(char *) "col", NULL
42674 };
42675
42676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
42677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42678 if (!SWIG_IsOK(res1)) {
42679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42680 }
42681 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42682 {
42683 arg2 = &temp2;
42684 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42685 }
42686 {
42687 PyThreadState* __tstate = wxPyBeginAllowThreads();
42688 (arg1)->SetColour((wxColour const &)*arg2);
42689 wxPyEndAllowThreads(__tstate);
42690 if (PyErr_Occurred()) SWIG_fail;
42691 }
42692 resultobj = SWIG_Py_Void();
42693 return resultobj;
42694fail:
42695 return NULL;
42696}
42697
42698
42699SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42700 PyObject *obj;
42701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42702 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
42703 return SWIG_Py_Void();
42704}
42705
42706SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42707 return SWIG_Python_InitShadowInstance(args);
42708}
42709
42710SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42711 PyObject *resultobj = 0;
42712 wxObject *arg1 = (wxObject *) 0 ;
42713 int arg2 ;
42714 wxColour *arg3 = 0 ;
42715 wxColourPickerEvent *result = 0 ;
42716 void *argp1 = 0 ;
42717 int res1 = 0 ;
42718 int val2 ;
42719 int ecode2 = 0 ;
42720 wxColour temp3 ;
42721 PyObject * obj0 = 0 ;
42722 PyObject * obj1 = 0 ;
42723 PyObject * obj2 = 0 ;
42724 char * kwnames[] = {
42725 (char *) "generator",(char *) "id",(char *) "col", NULL
42726 };
42727
42728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42730 if (!SWIG_IsOK(res1)) {
42731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42732 }
42733 arg1 = reinterpret_cast< wxObject * >(argp1);
42734 ecode2 = SWIG_AsVal_int(obj1, &val2);
42735 if (!SWIG_IsOK(ecode2)) {
42736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
42737 }
42738 arg2 = static_cast< int >(val2);
42739 {
42740 arg3 = &temp3;
42741 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
42742 }
42743 {
42744 PyThreadState* __tstate = wxPyBeginAllowThreads();
42745 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
42746 wxPyEndAllowThreads(__tstate);
42747 if (PyErr_Occurred()) SWIG_fail;
42748 }
42749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
42750 return resultobj;
42751fail:
42752 return NULL;
42753}
42754
42755
42756SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42757 PyObject *resultobj = 0;
42758 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
42759 wxColour result;
42760 void *argp1 = 0 ;
42761 int res1 = 0 ;
42762 PyObject *swig_obj[1] ;
42763
42764 if (!args) SWIG_fail;
42765 swig_obj[0] = args;
42766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
42767 if (!SWIG_IsOK(res1)) {
42768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
42769 }
42770 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
42771 {
42772 PyThreadState* __tstate = wxPyBeginAllowThreads();
42773 result = ((wxColourPickerEvent const *)arg1)->GetColour();
42774 wxPyEndAllowThreads(__tstate);
42775 if (PyErr_Occurred()) SWIG_fail;
42776 }
42777 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42778 return resultobj;
42779fail:
42780 return NULL;
42781}
42782
42783
42784SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42785 PyObject *resultobj = 0;
42786 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
42787 wxColour *arg2 = 0 ;
42788 void *argp1 = 0 ;
42789 int res1 = 0 ;
42790 wxColour temp2 ;
42791 PyObject * obj0 = 0 ;
42792 PyObject * obj1 = 0 ;
42793 char * kwnames[] = {
42794 (char *) "self",(char *) "c", NULL
42795 };
42796
42797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
42798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
42799 if (!SWIG_IsOK(res1)) {
42800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
42801 }
42802 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
42803 {
42804 arg2 = &temp2;
42805 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42806 }
42807 {
42808 PyThreadState* __tstate = wxPyBeginAllowThreads();
42809 (arg1)->SetColour((wxColour const &)*arg2);
42810 wxPyEndAllowThreads(__tstate);
42811 if (PyErr_Occurred()) SWIG_fail;
42812 }
42813 resultobj = SWIG_Py_Void();
42814 return resultobj;
42815fail:
42816 return NULL;
42817}
42818
42819
42820SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42821 PyObject *obj;
42822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42823 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
42824 return SWIG_Py_Void();
42825}
42826
42827SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42828 return SWIG_Python_InitShadowInstance(args);
42829}
42830
42831SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
42832 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
42833 return 1;
42834}
42835
42836
42837SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
42838 PyObject *pyobj = 0;
42839
42840 {
42841#if wxUSE_UNICODE
42842 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
42843#else
42844 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
42845#endif
42846 }
42847 return pyobj;
42848}
42849
42850
42851SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
42852 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
42853 return 1;
42854}
42855
42856
42857SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
42858 PyObject *pyobj = 0;
42859
42860 {
42861#if wxUSE_UNICODE
42862 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
42863#else
42864 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
42865#endif
42866 }
42867 return pyobj;
42868}
42869
42870
42871SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
42872 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
42873 return 1;
42874}
42875
42876
42877SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
42878 PyObject *pyobj = 0;
42879
42880 {
42881#if wxUSE_UNICODE
42882 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
42883#else
42884 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
42885#endif
42886 }
42887 return pyobj;
42888}
42889
42890
42891SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
42892 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
42893 return 1;
42894}
42895
42896
42897SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
42898 PyObject *pyobj = 0;
42899
42900 {
42901#if wxUSE_UNICODE
42902 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
42903#else
42904 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
42905#endif
42906 }
42907 return pyobj;
42908}
42909
42910
42911SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
42912 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
42913 return 1;
42914}
42915
42916
42917SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
42918 PyObject *pyobj = 0;
42919
42920 {
42921#if wxUSE_UNICODE
42922 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
42923#else
42924 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
42925#endif
42926 }
42927 return pyobj;
42928}
42929
42930
42931SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42932 PyObject *resultobj = 0;
42933 wxWindow *arg1 = (wxWindow *) 0 ;
42934 int arg2 = (int) -1 ;
42935 wxString const &arg3_defvalue = wxPyEmptyString ;
42936 wxString *arg3 = (wxString *) &arg3_defvalue ;
42937 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
42938 wxString *arg4 = (wxString *) &arg4_defvalue ;
42939 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
42940 wxString *arg5 = (wxString *) &arg5_defvalue ;
42941 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42942 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42943 wxSize const &arg7_defvalue = wxDefaultSize ;
42944 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42945 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
42946 wxValidator const &arg9_defvalue = wxDefaultValidator ;
42947 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
42948 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
42949 wxString *arg10 = (wxString *) &arg10_defvalue ;
42950 wxFilePickerCtrl *result = 0 ;
42951 void *argp1 = 0 ;
42952 int res1 = 0 ;
42953 int val2 ;
42954 int ecode2 = 0 ;
42955 bool temp3 = false ;
42956 bool temp4 = false ;
42957 bool temp5 = false ;
42958 wxPoint temp6 ;
42959 wxSize temp7 ;
42960 long val8 ;
42961 int ecode8 = 0 ;
42962 void *argp9 = 0 ;
42963 int res9 = 0 ;
42964 bool temp10 = false ;
42965 PyObject * obj0 = 0 ;
42966 PyObject * obj1 = 0 ;
42967 PyObject * obj2 = 0 ;
42968 PyObject * obj3 = 0 ;
42969 PyObject * obj4 = 0 ;
42970 PyObject * obj5 = 0 ;
42971 PyObject * obj6 = 0 ;
42972 PyObject * obj7 = 0 ;
42973 PyObject * obj8 = 0 ;
42974 PyObject * obj9 = 0 ;
42975 char * kwnames[] = {
42976 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42977 };
42978
42979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
42980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42981 if (!SWIG_IsOK(res1)) {
42982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42983 }
42984 arg1 = reinterpret_cast< wxWindow * >(argp1);
42985 if (obj1) {
42986 ecode2 = SWIG_AsVal_int(obj1, &val2);
42987 if (!SWIG_IsOK(ecode2)) {
42988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
42989 }
42990 arg2 = static_cast< int >(val2);
42991 }
42992 if (obj2) {
42993 {
42994 arg3 = wxString_in_helper(obj2);
42995 if (arg3 == NULL) SWIG_fail;
42996 temp3 = true;
42997 }
42998 }
42999 if (obj3) {
43000 {
43001 arg4 = wxString_in_helper(obj3);
43002 if (arg4 == NULL) SWIG_fail;
43003 temp4 = true;
43004 }
43005 }
43006 if (obj4) {
43007 {
43008 arg5 = wxString_in_helper(obj4);
43009 if (arg5 == NULL) SWIG_fail;
43010 temp5 = true;
43011 }
43012 }
43013 if (obj5) {
43014 {
43015 arg6 = &temp6;
43016 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43017 }
43018 }
43019 if (obj6) {
43020 {
43021 arg7 = &temp7;
43022 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43023 }
43024 }
43025 if (obj7) {
43026 ecode8 = SWIG_AsVal_long(obj7, &val8);
43027 if (!SWIG_IsOK(ecode8)) {
43028 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43029 }
43030 arg8 = static_cast< long >(val8);
43031 }
43032 if (obj8) {
43033 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43034 if (!SWIG_IsOK(res9)) {
43035 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43036 }
43037 if (!argp9) {
43038 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43039 }
43040 arg9 = reinterpret_cast< wxValidator * >(argp9);
43041 }
43042 if (obj9) {
43043 {
43044 arg10 = wxString_in_helper(obj9);
43045 if (arg10 == NULL) SWIG_fail;
43046 temp10 = true;
43047 }
43048 }
43049 {
43050 if (!wxPyCheckForApp()) SWIG_fail;
43051 PyThreadState* __tstate = wxPyBeginAllowThreads();
43052 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);
43053 wxPyEndAllowThreads(__tstate);
43054 if (PyErr_Occurred()) SWIG_fail;
43055 }
43056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43057 {
43058 if (temp3)
43059 delete arg3;
43060 }
43061 {
43062 if (temp4)
43063 delete arg4;
43064 }
43065 {
43066 if (temp5)
43067 delete arg5;
43068 }
43069 {
43070 if (temp10)
43071 delete arg10;
43072 }
43073 return resultobj;
43074fail:
43075 {
43076 if (temp3)
43077 delete arg3;
43078 }
43079 {
43080 if (temp4)
43081 delete arg4;
43082 }
43083 {
43084 if (temp5)
43085 delete arg5;
43086 }
43087 {
43088 if (temp10)
43089 delete arg10;
43090 }
43091 return NULL;
43092}
43093
43094
43095SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43096 PyObject *resultobj = 0;
43097 wxFilePickerCtrl *result = 0 ;
43098
43099 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43100 {
43101 if (!wxPyCheckForApp()) SWIG_fail;
43102 PyThreadState* __tstate = wxPyBeginAllowThreads();
43103 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43104 wxPyEndAllowThreads(__tstate);
43105 if (PyErr_Occurred()) SWIG_fail;
43106 }
43107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43108 return resultobj;
43109fail:
43110 return NULL;
43111}
43112
43113
43114SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43115 PyObject *resultobj = 0;
43116 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43117 wxWindow *arg2 = (wxWindow *) 0 ;
43118 int arg3 = (int) -1 ;
43119 wxString const &arg4_defvalue = wxPyEmptyString ;
43120 wxString *arg4 = (wxString *) &arg4_defvalue ;
43121 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43122 wxString *arg5 = (wxString *) &arg5_defvalue ;
43123 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43124 wxString *arg6 = (wxString *) &arg6_defvalue ;
43125 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43126 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43127 wxSize const &arg8_defvalue = wxDefaultSize ;
43128 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43129 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43130 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43131 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43132 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43133 wxString *arg11 = (wxString *) &arg11_defvalue ;
43134 bool result;
43135 void *argp1 = 0 ;
43136 int res1 = 0 ;
43137 void *argp2 = 0 ;
43138 int res2 = 0 ;
43139 int val3 ;
43140 int ecode3 = 0 ;
43141 bool temp4 = false ;
43142 bool temp5 = false ;
43143 bool temp6 = false ;
43144 wxPoint temp7 ;
43145 wxSize temp8 ;
43146 long val9 ;
43147 int ecode9 = 0 ;
43148 void *argp10 = 0 ;
43149 int res10 = 0 ;
43150 bool temp11 = false ;
43151 PyObject * obj0 = 0 ;
43152 PyObject * obj1 = 0 ;
43153 PyObject * obj2 = 0 ;
43154 PyObject * obj3 = 0 ;
43155 PyObject * obj4 = 0 ;
43156 PyObject * obj5 = 0 ;
43157 PyObject * obj6 = 0 ;
43158 PyObject * obj7 = 0 ;
43159 PyObject * obj8 = 0 ;
43160 PyObject * obj9 = 0 ;
43161 PyObject * obj10 = 0 ;
43162 char * kwnames[] = {
43163 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43164 };
43165
43166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43168 if (!SWIG_IsOK(res1)) {
43169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43170 }
43171 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43173 if (!SWIG_IsOK(res2)) {
43174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43175 }
43176 arg2 = reinterpret_cast< wxWindow * >(argp2);
43177 if (obj2) {
43178 ecode3 = SWIG_AsVal_int(obj2, &val3);
43179 if (!SWIG_IsOK(ecode3)) {
43180 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43181 }
43182 arg3 = static_cast< int >(val3);
43183 }
43184 if (obj3) {
43185 {
43186 arg4 = wxString_in_helper(obj3);
43187 if (arg4 == NULL) SWIG_fail;
43188 temp4 = true;
43189 }
43190 }
43191 if (obj4) {
43192 {
43193 arg5 = wxString_in_helper(obj4);
43194 if (arg5 == NULL) SWIG_fail;
43195 temp5 = true;
43196 }
43197 }
43198 if (obj5) {
43199 {
43200 arg6 = wxString_in_helper(obj5);
43201 if (arg6 == NULL) SWIG_fail;
43202 temp6 = true;
43203 }
43204 }
43205 if (obj6) {
43206 {
43207 arg7 = &temp7;
43208 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43209 }
43210 }
43211 if (obj7) {
43212 {
43213 arg8 = &temp8;
43214 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43215 }
43216 }
43217 if (obj8) {
43218 ecode9 = SWIG_AsVal_long(obj8, &val9);
43219 if (!SWIG_IsOK(ecode9)) {
43220 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43221 }
43222 arg9 = static_cast< long >(val9);
43223 }
43224 if (obj9) {
43225 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43226 if (!SWIG_IsOK(res10)) {
43227 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43228 }
43229 if (!argp10) {
43230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43231 }
43232 arg10 = reinterpret_cast< wxValidator * >(argp10);
43233 }
43234 if (obj10) {
43235 {
43236 arg11 = wxString_in_helper(obj10);
43237 if (arg11 == NULL) SWIG_fail;
43238 temp11 = true;
43239 }
43240 }
43241 {
43242 PyThreadState* __tstate = wxPyBeginAllowThreads();
43243 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);
43244 wxPyEndAllowThreads(__tstate);
43245 if (PyErr_Occurred()) SWIG_fail;
43246 }
43247 {
43248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43249 }
43250 {
43251 if (temp4)
43252 delete arg4;
43253 }
43254 {
43255 if (temp5)
43256 delete arg5;
43257 }
43258 {
43259 if (temp6)
43260 delete arg6;
43261 }
43262 {
43263 if (temp11)
43264 delete arg11;
43265 }
43266 return resultobj;
43267fail:
43268 {
43269 if (temp4)
43270 delete arg4;
43271 }
43272 {
43273 if (temp5)
43274 delete arg5;
43275 }
43276 {
43277 if (temp6)
43278 delete arg6;
43279 }
43280 {
43281 if (temp11)
43282 delete arg11;
43283 }
43284 return NULL;
43285}
43286
43287
43288SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43289 PyObject *resultobj = 0;
43290 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43291 wxString result;
43292 void *argp1 = 0 ;
43293 int res1 = 0 ;
43294 PyObject *swig_obj[1] ;
43295
43296 if (!args) SWIG_fail;
43297 swig_obj[0] = args;
43298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43299 if (!SWIG_IsOK(res1)) {
43300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43301 }
43302 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43303 {
43304 PyThreadState* __tstate = wxPyBeginAllowThreads();
43305 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
43306 wxPyEndAllowThreads(__tstate);
43307 if (PyErr_Occurred()) SWIG_fail;
43308 }
43309 {
43310#if wxUSE_UNICODE
43311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43312#else
43313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43314#endif
43315 }
43316 return resultobj;
43317fail:
43318 return NULL;
43319}
43320
43321
43322SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43323 PyObject *resultobj = 0;
43324 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43325 wxString *arg2 = 0 ;
43326 void *argp1 = 0 ;
43327 int res1 = 0 ;
43328 bool temp2 = false ;
43329 PyObject * obj0 = 0 ;
43330 PyObject * obj1 = 0 ;
43331 char * kwnames[] = {
43332 (char *) "self",(char *) "str", NULL
43333 };
43334
43335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43337 if (!SWIG_IsOK(res1)) {
43338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43339 }
43340 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43341 {
43342 arg2 = wxString_in_helper(obj1);
43343 if (arg2 == NULL) SWIG_fail;
43344 temp2 = true;
43345 }
43346 {
43347 PyThreadState* __tstate = wxPyBeginAllowThreads();
43348 (arg1)->SetPath((wxString const &)*arg2);
43349 wxPyEndAllowThreads(__tstate);
43350 if (PyErr_Occurred()) SWIG_fail;
43351 }
43352 resultobj = SWIG_Py_Void();
43353 {
43354 if (temp2)
43355 delete arg2;
43356 }
43357 return resultobj;
43358fail:
43359 {
43360 if (temp2)
43361 delete arg2;
43362 }
43363 return NULL;
43364}
43365
43366
43367SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43368 PyObject *obj;
43369 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43370 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
43371 return SWIG_Py_Void();
43372}
43373
43374SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43375 return SWIG_Python_InitShadowInstance(args);
43376}
43377
43378SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43379 PyObject *resultobj = 0;
43380 wxWindow *arg1 = (wxWindow *) 0 ;
43381 int arg2 = (int) -1 ;
43382 wxString const &arg3_defvalue = wxPyEmptyString ;
43383 wxString *arg3 = (wxString *) &arg3_defvalue ;
43384 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
43385 wxString *arg4 = (wxString *) &arg4_defvalue ;
43386 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43387 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43388 wxSize const &arg6_defvalue = wxDefaultSize ;
43389 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43390 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
43391 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43392 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43393 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
43394 wxString *arg9 = (wxString *) &arg9_defvalue ;
43395 wxDirPickerCtrl *result = 0 ;
43396 void *argp1 = 0 ;
43397 int res1 = 0 ;
43398 int val2 ;
43399 int ecode2 = 0 ;
43400 bool temp3 = false ;
43401 bool temp4 = false ;
43402 wxPoint temp5 ;
43403 wxSize temp6 ;
43404 long val7 ;
43405 int ecode7 = 0 ;
43406 void *argp8 = 0 ;
43407 int res8 = 0 ;
43408 bool temp9 = false ;
43409 PyObject * obj0 = 0 ;
43410 PyObject * obj1 = 0 ;
43411 PyObject * obj2 = 0 ;
43412 PyObject * obj3 = 0 ;
43413 PyObject * obj4 = 0 ;
43414 PyObject * obj5 = 0 ;
43415 PyObject * obj6 = 0 ;
43416 PyObject * obj7 = 0 ;
43417 PyObject * obj8 = 0 ;
43418 char * kwnames[] = {
43419 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43420 };
43421
43422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43424 if (!SWIG_IsOK(res1)) {
43425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43426 }
43427 arg1 = reinterpret_cast< wxWindow * >(argp1);
43428 if (obj1) {
43429 ecode2 = SWIG_AsVal_int(obj1, &val2);
43430 if (!SWIG_IsOK(ecode2)) {
43431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43432 }
43433 arg2 = static_cast< int >(val2);
43434 }
43435 if (obj2) {
43436 {
43437 arg3 = wxString_in_helper(obj2);
43438 if (arg3 == NULL) SWIG_fail;
43439 temp3 = true;
43440 }
43441 }
43442 if (obj3) {
43443 {
43444 arg4 = wxString_in_helper(obj3);
43445 if (arg4 == NULL) SWIG_fail;
43446 temp4 = true;
43447 }
43448 }
43449 if (obj4) {
43450 {
43451 arg5 = &temp5;
43452 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43453 }
43454 }
43455 if (obj5) {
43456 {
43457 arg6 = &temp6;
43458 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43459 }
43460 }
43461 if (obj6) {
43462 ecode7 = SWIG_AsVal_long(obj6, &val7);
43463 if (!SWIG_IsOK(ecode7)) {
43464 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43465 }
43466 arg7 = static_cast< long >(val7);
43467 }
43468 if (obj7) {
43469 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43470 if (!SWIG_IsOK(res8)) {
43471 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43472 }
43473 if (!argp8) {
43474 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43475 }
43476 arg8 = reinterpret_cast< wxValidator * >(argp8);
43477 }
43478 if (obj8) {
43479 {
43480 arg9 = wxString_in_helper(obj8);
43481 if (arg9 == NULL) SWIG_fail;
43482 temp9 = true;
43483 }
43484 }
43485 {
43486 if (!wxPyCheckForApp()) SWIG_fail;
43487 PyThreadState* __tstate = wxPyBeginAllowThreads();
43488 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);
43489 wxPyEndAllowThreads(__tstate);
43490 if (PyErr_Occurred()) SWIG_fail;
43491 }
43492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
43493 {
43494 if (temp3)
43495 delete arg3;
43496 }
43497 {
43498 if (temp4)
43499 delete arg4;
43500 }
43501 {
43502 if (temp9)
43503 delete arg9;
43504 }
43505 return resultobj;
43506fail:
43507 {
43508 if (temp3)
43509 delete arg3;
43510 }
43511 {
43512 if (temp4)
43513 delete arg4;
43514 }
43515 {
43516 if (temp9)
43517 delete arg9;
43518 }
43519 return NULL;
43520}
43521
43522
43523SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43524 PyObject *resultobj = 0;
43525 wxDirPickerCtrl *result = 0 ;
43526
43527 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
43528 {
43529 if (!wxPyCheckForApp()) SWIG_fail;
43530 PyThreadState* __tstate = wxPyBeginAllowThreads();
43531 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
43532 wxPyEndAllowThreads(__tstate);
43533 if (PyErr_Occurred()) SWIG_fail;
43534 }
43535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
43536 return resultobj;
43537fail:
43538 return NULL;
43539}
43540
43541
43542SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43543 PyObject *resultobj = 0;
43544 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43545 wxWindow *arg2 = (wxWindow *) 0 ;
43546 int arg3 = (int) -1 ;
43547 wxString const &arg4_defvalue = wxPyEmptyString ;
43548 wxString *arg4 = (wxString *) &arg4_defvalue ;
43549 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
43550 wxString *arg5 = (wxString *) &arg5_defvalue ;
43551 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43552 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43553 wxSize const &arg7_defvalue = wxDefaultSize ;
43554 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43555 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
43556 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43557 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43558 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
43559 wxString *arg10 = (wxString *) &arg10_defvalue ;
43560 bool result;
43561 void *argp1 = 0 ;
43562 int res1 = 0 ;
43563 void *argp2 = 0 ;
43564 int res2 = 0 ;
43565 int val3 ;
43566 int ecode3 = 0 ;
43567 bool temp4 = false ;
43568 bool temp5 = false ;
43569 wxPoint temp6 ;
43570 wxSize temp7 ;
43571 long val8 ;
43572 int ecode8 = 0 ;
43573 void *argp9 = 0 ;
43574 int res9 = 0 ;
43575 bool temp10 = false ;
43576 PyObject * obj0 = 0 ;
43577 PyObject * obj1 = 0 ;
43578 PyObject * obj2 = 0 ;
43579 PyObject * obj3 = 0 ;
43580 PyObject * obj4 = 0 ;
43581 PyObject * obj5 = 0 ;
43582 PyObject * obj6 = 0 ;
43583 PyObject * obj7 = 0 ;
43584 PyObject * obj8 = 0 ;
43585 PyObject * obj9 = 0 ;
43586 char * kwnames[] = {
43587 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43588 };
43589
43590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43592 if (!SWIG_IsOK(res1)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43594 }
43595 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43596 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43597 if (!SWIG_IsOK(res2)) {
43598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43599 }
43600 arg2 = reinterpret_cast< wxWindow * >(argp2);
43601 if (obj2) {
43602 ecode3 = SWIG_AsVal_int(obj2, &val3);
43603 if (!SWIG_IsOK(ecode3)) {
43604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43605 }
43606 arg3 = static_cast< int >(val3);
43607 }
43608 if (obj3) {
43609 {
43610 arg4 = wxString_in_helper(obj3);
43611 if (arg4 == NULL) SWIG_fail;
43612 temp4 = true;
43613 }
43614 }
43615 if (obj4) {
43616 {
43617 arg5 = wxString_in_helper(obj4);
43618 if (arg5 == NULL) SWIG_fail;
43619 temp5 = true;
43620 }
43621 }
43622 if (obj5) {
43623 {
43624 arg6 = &temp6;
43625 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43626 }
43627 }
43628 if (obj6) {
43629 {
43630 arg7 = &temp7;
43631 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43632 }
43633 }
43634 if (obj7) {
43635 ecode8 = SWIG_AsVal_long(obj7, &val8);
43636 if (!SWIG_IsOK(ecode8)) {
43637 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
43638 }
43639 arg8 = static_cast< long >(val8);
43640 }
43641 if (obj8) {
43642 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43643 if (!SWIG_IsOK(res9)) {
43644 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43645 }
43646 if (!argp9) {
43647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43648 }
43649 arg9 = reinterpret_cast< wxValidator * >(argp9);
43650 }
43651 if (obj9) {
43652 {
43653 arg10 = wxString_in_helper(obj9);
43654 if (arg10 == NULL) SWIG_fail;
43655 temp10 = true;
43656 }
43657 }
43658 {
43659 PyThreadState* __tstate = wxPyBeginAllowThreads();
43660 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);
43661 wxPyEndAllowThreads(__tstate);
43662 if (PyErr_Occurred()) SWIG_fail;
43663 }
43664 {
43665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43666 }
43667 {
43668 if (temp4)
43669 delete arg4;
43670 }
43671 {
43672 if (temp5)
43673 delete arg5;
43674 }
43675 {
43676 if (temp10)
43677 delete arg10;
43678 }
43679 return resultobj;
43680fail:
43681 {
43682 if (temp4)
43683 delete arg4;
43684 }
43685 {
43686 if (temp5)
43687 delete arg5;
43688 }
43689 {
43690 if (temp10)
43691 delete arg10;
43692 }
43693 return NULL;
43694}
43695
43696
43697SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43698 PyObject *resultobj = 0;
43699 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43700 wxString result;
43701 void *argp1 = 0 ;
43702 int res1 = 0 ;
43703 PyObject *swig_obj[1] ;
43704
43705 if (!args) SWIG_fail;
43706 swig_obj[0] = args;
43707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43708 if (!SWIG_IsOK(res1)) {
43709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
43710 }
43711 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43712 {
43713 PyThreadState* __tstate = wxPyBeginAllowThreads();
43714 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
43715 wxPyEndAllowThreads(__tstate);
43716 if (PyErr_Occurred()) SWIG_fail;
43717 }
43718 {
43719#if wxUSE_UNICODE
43720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43721#else
43722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43723#endif
43724 }
43725 return resultobj;
43726fail:
43727 return NULL;
43728}
43729
43730
43731SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43732 PyObject *resultobj = 0;
43733 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43734 wxString *arg2 = 0 ;
43735 void *argp1 = 0 ;
43736 int res1 = 0 ;
43737 bool temp2 = false ;
43738 PyObject * obj0 = 0 ;
43739 PyObject * obj1 = 0 ;
43740 char * kwnames[] = {
43741 (char *) "self",(char *) "str", NULL
43742 };
43743
43744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43746 if (!SWIG_IsOK(res1)) {
43747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43748 }
43749 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43750 {
43751 arg2 = wxString_in_helper(obj1);
43752 if (arg2 == NULL) SWIG_fail;
43753 temp2 = true;
43754 }
43755 {
43756 PyThreadState* __tstate = wxPyBeginAllowThreads();
43757 (arg1)->SetPath((wxString const &)*arg2);
43758 wxPyEndAllowThreads(__tstate);
43759 if (PyErr_Occurred()) SWIG_fail;
43760 }
43761 resultobj = SWIG_Py_Void();
43762 {
43763 if (temp2)
43764 delete arg2;
43765 }
43766 return resultobj;
43767fail:
43768 {
43769 if (temp2)
43770 delete arg2;
43771 }
43772 return NULL;
43773}
43774
43775
43776SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43777 PyObject *obj;
43778 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43779 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
43780 return SWIG_Py_Void();
43781}
43782
43783SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43784 return SWIG_Python_InitShadowInstance(args);
43785}
43786
43787SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43788 PyObject *resultobj = 0;
43789 wxEventType arg1 ;
43790 wxObject *arg2 = (wxObject *) 0 ;
43791 int arg3 ;
43792 wxString *arg4 = 0 ;
43793 wxFileDirPickerEvent *result = 0 ;
43794 int val1 ;
43795 int ecode1 = 0 ;
43796 void *argp2 = 0 ;
43797 int res2 = 0 ;
43798 int val3 ;
43799 int ecode3 = 0 ;
43800 bool temp4 = false ;
43801 PyObject * obj0 = 0 ;
43802 PyObject * obj1 = 0 ;
43803 PyObject * obj2 = 0 ;
43804 PyObject * obj3 = 0 ;
43805 char * kwnames[] = {
43806 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
43807 };
43808
43809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
43810 ecode1 = SWIG_AsVal_int(obj0, &val1);
43811 if (!SWIG_IsOK(ecode1)) {
43812 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
43813 }
43814 arg1 = static_cast< wxEventType >(val1);
43815 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
43816 if (!SWIG_IsOK(res2)) {
43817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
43818 }
43819 arg2 = reinterpret_cast< wxObject * >(argp2);
43820 ecode3 = SWIG_AsVal_int(obj2, &val3);
43821 if (!SWIG_IsOK(ecode3)) {
43822 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
43823 }
43824 arg3 = static_cast< int >(val3);
43825 {
43826 arg4 = wxString_in_helper(obj3);
43827 if (arg4 == NULL) SWIG_fail;
43828 temp4 = true;
43829 }
43830 {
43831 PyThreadState* __tstate = wxPyBeginAllowThreads();
43832 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
43833 wxPyEndAllowThreads(__tstate);
43834 if (PyErr_Occurred()) SWIG_fail;
43835 }
43836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
43837 {
43838 if (temp4)
43839 delete arg4;
43840 }
43841 return resultobj;
43842fail:
43843 {
43844 if (temp4)
43845 delete arg4;
43846 }
43847 return NULL;
43848}
43849
43850
43851SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43852 PyObject *resultobj = 0;
43853 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
43854 wxString result;
43855 void *argp1 = 0 ;
43856 int res1 = 0 ;
43857 PyObject *swig_obj[1] ;
43858
43859 if (!args) SWIG_fail;
43860 swig_obj[0] = args;
43861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
43862 if (!SWIG_IsOK(res1)) {
43863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
43864 }
43865 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
43866 {
43867 PyThreadState* __tstate = wxPyBeginAllowThreads();
43868 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
43869 wxPyEndAllowThreads(__tstate);
43870 if (PyErr_Occurred()) SWIG_fail;
43871 }
43872 {
43873#if wxUSE_UNICODE
43874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43875#else
43876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43877#endif
43878 }
43879 return resultobj;
43880fail:
43881 return NULL;
43882}
43883
43884
43885SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43886 PyObject *resultobj = 0;
43887 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
43888 wxString *arg2 = 0 ;
43889 void *argp1 = 0 ;
43890 int res1 = 0 ;
43891 bool temp2 = false ;
43892 PyObject * obj0 = 0 ;
43893 PyObject * obj1 = 0 ;
43894 char * kwnames[] = {
43895 (char *) "self",(char *) "p", NULL
43896 };
43897
43898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
43900 if (!SWIG_IsOK(res1)) {
43901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
43902 }
43903 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
43904 {
43905 arg2 = wxString_in_helper(obj1);
43906 if (arg2 == NULL) SWIG_fail;
43907 temp2 = true;
43908 }
43909 {
43910 PyThreadState* __tstate = wxPyBeginAllowThreads();
43911 (arg1)->SetPath((wxString const &)*arg2);
43912 wxPyEndAllowThreads(__tstate);
43913 if (PyErr_Occurred()) SWIG_fail;
43914 }
43915 resultobj = SWIG_Py_Void();
43916 {
43917 if (temp2)
43918 delete arg2;
43919 }
43920 return resultobj;
43921fail:
43922 {
43923 if (temp2)
43924 delete arg2;
43925 }
43926 return NULL;
43927}
43928
43929
43930SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43931 PyObject *obj;
43932 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43933 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
43934 return SWIG_Py_Void();
43935}
43936
43937SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43938 return SWIG_Python_InitShadowInstance(args);
43939}
43940
43941SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
43942 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
43943 return 1;
43944}
43945
43946
43947SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
43948 PyObject *pyobj = 0;
43949
43950 {
43951#if wxUSE_UNICODE
43952 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
43953#else
43954 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
43955#endif
43956 }
43957 return pyobj;
43958}
43959
43960
43961SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43962 PyObject *resultobj = 0;
43963 wxWindow *arg1 = (wxWindow *) 0 ;
43964 int arg2 = (int) -1 ;
43965 wxFont const &arg3_defvalue = *wxNORMAL_FONT ;
43966 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
43967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43969 wxSize const &arg5_defvalue = wxDefaultSize ;
43970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43971 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
43972 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43973 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43974 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
43975 wxString *arg8 = (wxString *) &arg8_defvalue ;
43976 wxFontPickerCtrl *result = 0 ;
43977 void *argp1 = 0 ;
43978 int res1 = 0 ;
43979 int val2 ;
43980 int ecode2 = 0 ;
43981 void *argp3 = 0 ;
43982 int res3 = 0 ;
43983 wxPoint temp4 ;
43984 wxSize temp5 ;
43985 long val6 ;
43986 int ecode6 = 0 ;
43987 void *argp7 = 0 ;
43988 int res7 = 0 ;
43989 bool temp8 = false ;
43990 PyObject * obj0 = 0 ;
43991 PyObject * obj1 = 0 ;
43992 PyObject * obj2 = 0 ;
43993 PyObject * obj3 = 0 ;
43994 PyObject * obj4 = 0 ;
43995 PyObject * obj5 = 0 ;
43996 PyObject * obj6 = 0 ;
43997 PyObject * obj7 = 0 ;
43998 char * kwnames[] = {
43999 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44000 };
44001
44002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44004 if (!SWIG_IsOK(res1)) {
44005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44006 }
44007 arg1 = reinterpret_cast< wxWindow * >(argp1);
44008 if (obj1) {
44009 ecode2 = SWIG_AsVal_int(obj1, &val2);
44010 if (!SWIG_IsOK(ecode2)) {
44011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44012 }
44013 arg2 = static_cast< int >(val2);
44014 }
44015 if (obj2) {
44016 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44017 if (!SWIG_IsOK(res3)) {
44018 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44019 }
44020 if (!argp3) {
44021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44022 }
44023 arg3 = reinterpret_cast< wxFont * >(argp3);
44024 }
44025 if (obj3) {
44026 {
44027 arg4 = &temp4;
44028 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44029 }
44030 }
44031 if (obj4) {
44032 {
44033 arg5 = &temp5;
44034 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44035 }
44036 }
44037 if (obj5) {
44038 ecode6 = SWIG_AsVal_long(obj5, &val6);
44039 if (!SWIG_IsOK(ecode6)) {
44040 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44041 }
44042 arg6 = static_cast< long >(val6);
44043 }
44044 if (obj6) {
44045 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44046 if (!SWIG_IsOK(res7)) {
44047 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44048 }
44049 if (!argp7) {
44050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44051 }
44052 arg7 = reinterpret_cast< wxValidator * >(argp7);
44053 }
44054 if (obj7) {
44055 {
44056 arg8 = wxString_in_helper(obj7);
44057 if (arg8 == NULL) SWIG_fail;
44058 temp8 = true;
44059 }
44060 }
44061 {
44062 if (!wxPyCheckForApp()) SWIG_fail;
44063 PyThreadState* __tstate = wxPyBeginAllowThreads();
44064 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44065 wxPyEndAllowThreads(__tstate);
44066 if (PyErr_Occurred()) SWIG_fail;
44067 }
44068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44069 {
44070 if (temp8)
44071 delete arg8;
44072 }
44073 return resultobj;
44074fail:
44075 {
44076 if (temp8)
44077 delete arg8;
44078 }
44079 return NULL;
44080}
44081
44082
44083SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44084 PyObject *resultobj = 0;
44085 wxFontPickerCtrl *result = 0 ;
44086
44087 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44088 {
44089 if (!wxPyCheckForApp()) SWIG_fail;
44090 PyThreadState* __tstate = wxPyBeginAllowThreads();
44091 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
44092 wxPyEndAllowThreads(__tstate);
44093 if (PyErr_Occurred()) SWIG_fail;
44094 }
44095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
44096 return resultobj;
44097fail:
44098 return NULL;
44099}
44100
44101
44102SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44103 PyObject *resultobj = 0;
44104 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44105 wxWindow *arg2 = (wxWindow *) 0 ;
44106 int arg3 = (int) -1 ;
44107 wxFont const &arg4_defvalue = *wxNORMAL_FONT ;
44108 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
44109 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44110 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44111 wxSize const &arg6_defvalue = wxDefaultSize ;
44112 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44113 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
44114 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44115 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44116 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
44117 wxString *arg9 = (wxString *) &arg9_defvalue ;
44118 bool result;
44119 void *argp1 = 0 ;
44120 int res1 = 0 ;
44121 void *argp2 = 0 ;
44122 int res2 = 0 ;
44123 int val3 ;
44124 int ecode3 = 0 ;
44125 void *argp4 = 0 ;
44126 int res4 = 0 ;
44127 wxPoint temp5 ;
44128 wxSize temp6 ;
44129 long val7 ;
44130 int ecode7 = 0 ;
44131 void *argp8 = 0 ;
44132 int res8 = 0 ;
44133 bool temp9 = false ;
44134 PyObject * obj0 = 0 ;
44135 PyObject * obj1 = 0 ;
44136 PyObject * obj2 = 0 ;
44137 PyObject * obj3 = 0 ;
44138 PyObject * obj4 = 0 ;
44139 PyObject * obj5 = 0 ;
44140 PyObject * obj6 = 0 ;
44141 PyObject * obj7 = 0 ;
44142 PyObject * obj8 = 0 ;
44143 char * kwnames[] = {
44144 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44145 };
44146
44147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44149 if (!SWIG_IsOK(res1)) {
44150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44151 }
44152 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44154 if (!SWIG_IsOK(res2)) {
44155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44156 }
44157 arg2 = reinterpret_cast< wxWindow * >(argp2);
44158 if (obj2) {
44159 ecode3 = SWIG_AsVal_int(obj2, &val3);
44160 if (!SWIG_IsOK(ecode3)) {
44161 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44162 }
44163 arg3 = static_cast< int >(val3);
44164 }
44165 if (obj3) {
44166 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
44167 if (!SWIG_IsOK(res4)) {
44168 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44169 }
44170 if (!argp4) {
44171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44172 }
44173 arg4 = reinterpret_cast< wxFont * >(argp4);
44174 }
44175 if (obj4) {
44176 {
44177 arg5 = &temp5;
44178 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44179 }
44180 }
44181 if (obj5) {
44182 {
44183 arg6 = &temp6;
44184 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44185 }
44186 }
44187 if (obj6) {
44188 ecode7 = SWIG_AsVal_long(obj6, &val7);
44189 if (!SWIG_IsOK(ecode7)) {
44190 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44191 }
44192 arg7 = static_cast< long >(val7);
44193 }
44194 if (obj7) {
44195 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44196 if (!SWIG_IsOK(res8)) {
44197 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44198 }
44199 if (!argp8) {
44200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44201 }
44202 arg8 = reinterpret_cast< wxValidator * >(argp8);
44203 }
44204 if (obj8) {
44205 {
44206 arg9 = wxString_in_helper(obj8);
44207 if (arg9 == NULL) SWIG_fail;
44208 temp9 = true;
44209 }
44210 }
44211 {
44212 PyThreadState* __tstate = wxPyBeginAllowThreads();
44213 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
44214 wxPyEndAllowThreads(__tstate);
44215 if (PyErr_Occurred()) SWIG_fail;
44216 }
44217 {
44218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44219 }
44220 {
44221 if (temp9)
44222 delete arg9;
44223 }
44224 return resultobj;
44225fail:
44226 {
44227 if (temp9)
44228 delete arg9;
44229 }
44230 return NULL;
44231}
44232
44233
44234SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44235 PyObject *resultobj = 0;
44236 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44237 wxFont result;
44238 void *argp1 = 0 ;
44239 int res1 = 0 ;
44240 PyObject *swig_obj[1] ;
44241
44242 if (!args) SWIG_fail;
44243 swig_obj[0] = args;
44244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44245 if (!SWIG_IsOK(res1)) {
44246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44247 }
44248 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44249 {
44250 PyThreadState* __tstate = wxPyBeginAllowThreads();
44251 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
44252 wxPyEndAllowThreads(__tstate);
44253 if (PyErr_Occurred()) SWIG_fail;
44254 }
44255 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
44256 return resultobj;
44257fail:
44258 return NULL;
44259}
44260
44261
44262SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44263 PyObject *resultobj = 0;
44264 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44265 wxFont *arg2 = 0 ;
44266 void *argp1 = 0 ;
44267 int res1 = 0 ;
44268 void *argp2 = 0 ;
44269 int res2 = 0 ;
44270 PyObject * obj0 = 0 ;
44271 PyObject * obj1 = 0 ;
44272 char * kwnames[] = {
44273 (char *) "self",(char *) "f", NULL
44274 };
44275
44276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
44277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44278 if (!SWIG_IsOK(res1)) {
44279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44280 }
44281 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
44283 if (!SWIG_IsOK(res2)) {
44284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44285 }
44286 if (!argp2) {
44287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44288 }
44289 arg2 = reinterpret_cast< wxFont * >(argp2);
44290 {
44291 PyThreadState* __tstate = wxPyBeginAllowThreads();
44292 (arg1)->SetSelectedFont((wxFont const &)*arg2);
44293 wxPyEndAllowThreads(__tstate);
44294 if (PyErr_Occurred()) SWIG_fail;
44295 }
44296 resultobj = SWIG_Py_Void();
44297 return resultobj;
44298fail:
44299 return NULL;
44300}
44301
44302
44303SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44304 PyObject *resultobj = 0;
44305 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44306 unsigned int arg2 ;
44307 void *argp1 = 0 ;
44308 int res1 = 0 ;
44309 unsigned int val2 ;
44310 int ecode2 = 0 ;
44311 PyObject * obj0 = 0 ;
44312 PyObject * obj1 = 0 ;
44313 char * kwnames[] = {
44314 (char *) "self",(char *) "max", NULL
44315 };
44316
44317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
44318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44319 if (!SWIG_IsOK(res1)) {
44320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44321 }
44322 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44323 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
44324 if (!SWIG_IsOK(ecode2)) {
44325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44326 }
44327 arg2 = static_cast< unsigned int >(val2);
44328 {
44329 PyThreadState* __tstate = wxPyBeginAllowThreads();
44330 (arg1)->SetMaxPointSize(arg2);
44331 wxPyEndAllowThreads(__tstate);
44332 if (PyErr_Occurred()) SWIG_fail;
44333 }
44334 resultobj = SWIG_Py_Void();
44335 return resultobj;
44336fail:
44337 return NULL;
44338}
44339
44340
44341SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44342 PyObject *resultobj = 0;
44343 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44344 unsigned int result;
44345 void *argp1 = 0 ;
44346 int res1 = 0 ;
44347 PyObject *swig_obj[1] ;
44348
44349 if (!args) SWIG_fail;
44350 swig_obj[0] = args;
44351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44352 if (!SWIG_IsOK(res1)) {
44353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44354 }
44355 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44356 {
44357 PyThreadState* __tstate = wxPyBeginAllowThreads();
44358 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
44359 wxPyEndAllowThreads(__tstate);
44360 if (PyErr_Occurred()) SWIG_fail;
44361 }
44362 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
44363 return resultobj;
44364fail:
44365 return NULL;
44366}
44367
44368
44369SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44370 PyObject *obj;
44371 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44372 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
44373 return SWIG_Py_Void();
44374}
44375
44376SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44377 return SWIG_Python_InitShadowInstance(args);
44378}
44379
44380SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44381 PyObject *resultobj = 0;
44382 wxObject *arg1 = (wxObject *) 0 ;
44383 int arg2 ;
44384 wxFont *arg3 = 0 ;
44385 wxFontPickerEvent *result = 0 ;
44386 void *argp1 = 0 ;
44387 int res1 = 0 ;
44388 int val2 ;
44389 int ecode2 = 0 ;
44390 void *argp3 = 0 ;
44391 int res3 = 0 ;
44392 PyObject * obj0 = 0 ;
44393 PyObject * obj1 = 0 ;
44394 PyObject * obj2 = 0 ;
44395 char * kwnames[] = {
44396 (char *) "generator",(char *) "id",(char *) "f", NULL
44397 };
44398
44399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
44400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
44401 if (!SWIG_IsOK(res1)) {
44402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44403 }
44404 arg1 = reinterpret_cast< wxObject * >(argp1);
44405 ecode2 = SWIG_AsVal_int(obj1, &val2);
44406 if (!SWIG_IsOK(ecode2)) {
44407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44408 }
44409 arg2 = static_cast< int >(val2);
44410 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44411 if (!SWIG_IsOK(res3)) {
44412 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44413 }
44414 if (!argp3) {
44415 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44416 }
44417 arg3 = reinterpret_cast< wxFont * >(argp3);
44418 {
44419 PyThreadState* __tstate = wxPyBeginAllowThreads();
44420 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
44421 wxPyEndAllowThreads(__tstate);
44422 if (PyErr_Occurred()) SWIG_fail;
44423 }
44424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
44425 return resultobj;
44426fail:
44427 return NULL;
44428}
44429
44430
44431SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44432 PyObject *resultobj = 0;
44433 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
44434 wxFont result;
44435 void *argp1 = 0 ;
44436 int res1 = 0 ;
44437 PyObject *swig_obj[1] ;
44438
44439 if (!args) SWIG_fail;
44440 swig_obj[0] = args;
44441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
44442 if (!SWIG_IsOK(res1)) {
44443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44444 }
44445 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
44446 {
44447 PyThreadState* __tstate = wxPyBeginAllowThreads();
44448 result = ((wxFontPickerEvent const *)arg1)->GetFont();
44449 wxPyEndAllowThreads(__tstate);
44450 if (PyErr_Occurred()) SWIG_fail;
44451 }
44452 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
44453 return resultobj;
44454fail:
44455 return NULL;
44456}
44457
44458
44459SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44460 PyObject *resultobj = 0;
44461 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
44462 wxFont *arg2 = 0 ;
44463 void *argp1 = 0 ;
44464 int res1 = 0 ;
44465 void *argp2 = 0 ;
44466 int res2 = 0 ;
44467 PyObject * obj0 = 0 ;
44468 PyObject * obj1 = 0 ;
44469 char * kwnames[] = {
44470 (char *) "self",(char *) "c", NULL
44471 };
44472
44473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
44474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
44475 if (!SWIG_IsOK(res1)) {
44476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44477 }
44478 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
44479 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
44480 if (!SWIG_IsOK(res2)) {
44481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44482 }
44483 if (!argp2) {
44484 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44485 }
44486 arg2 = reinterpret_cast< wxFont * >(argp2);
44487 {
44488 PyThreadState* __tstate = wxPyBeginAllowThreads();
44489 (arg1)->SetFont((wxFont const &)*arg2);
44490 wxPyEndAllowThreads(__tstate);
44491 if (PyErr_Occurred()) SWIG_fail;
44492 }
44493 resultobj = SWIG_Py_Void();
44494 return resultobj;
44495fail:
44496 return NULL;
44497}
44498
44499
44500SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44501 PyObject *obj;
44502 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44503 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
44504 return SWIG_Py_Void();
44505}
44506
44507SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44508 return SWIG_Python_InitShadowInstance(args);
44509}
44510
44511static PyMethodDef SwigMethods[] = {
44512 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
44513 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
44514 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44515 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
44516 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
44517 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44518 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
44519 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
44520 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
44521 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
44522 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44523 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
44524 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
44525 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
44526 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
44527 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
44528 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
44529 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
44530 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
44531 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
44532 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
44533 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
44534 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
44535 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
44536 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
44537 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
44538 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
44539 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
44540 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44541 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
44542 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
44543 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44544 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
44545 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
44546 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
44547 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
44548 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44549 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
44550 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
44551 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
44552 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
44553 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44554 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
44555 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44556 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
44557 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
44558 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
44559 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
44560 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44561 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
44562 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44563 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
44564 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
44565 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
44566 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
44567 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
44568 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
44569 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
44570 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
44571 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
44572 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44573 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
44574 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
44575 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
44576 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
44577 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
44578 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
44579 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
44580 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
44581 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
44582 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
44583 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
44584 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
44585 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
44586 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44587 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
44588 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
44589 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
44590 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
44591 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44592 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44593 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
44594 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44595 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
44596 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
44597 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
44598 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
44599 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
44600 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
44601 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44602 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
44603 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
44604 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
44605 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
44606 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44607 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44608 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
44609 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
44610 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
44611 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
44612 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44613 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
44614 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
44615 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44616 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
44617 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
44618 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
44619 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
44620 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44621 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
44622 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44623 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
44624 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
44625 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44626 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
44627 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44628 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
44629 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44630 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
44631 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44632 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
44633 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
44634 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
44635 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
44636 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44637 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
44638 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
44639 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
44640 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
44641 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44642 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
44643 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
44644 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
44645 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44646 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
44647 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
44648 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
44649 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
44650 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
44651 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
44652 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
44653 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44654 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44655 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
44656 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44657 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
44658 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
44659 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
44660 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
44661 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44662 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
44663 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
44664 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
44665 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
44666 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
44667 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
44668 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
44669 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
44670 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
44671 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44672 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
44673 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
44674 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
44675 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
44676 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
44677 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
44678 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
44679 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
44680 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
44681 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
44682 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
44683 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
44684 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
44685 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
44686 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
44687 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
44688 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
44689 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
44690 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
44691 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
44692 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
44693 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
44694 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
44695 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
44696 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
44697 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
44698 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
44699 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
44700 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
44701 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44702 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
44703 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44704 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44705 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
44706 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
44707 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
44708 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
44709 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
44710 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
44711 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
44712 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
44713 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
44714 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
44715 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
44716 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
44717 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
44718 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
44719 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
44720 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
44721 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
44722 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
44723 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
44724 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
44725 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
44726 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
44727 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
44728 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
44729 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44730 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
44731 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44732 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
44733 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
44734 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
44735 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
44736 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
44737 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
44738 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
44739 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
44740 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
44741 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
44742 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
44743 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
44744 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
44745 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
44746 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
44747 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
44748 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44749 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
44750 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
44751 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
44752 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
44753 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44754 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
44755 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
44756 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44757 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
44758 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
44759 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
44760 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
44761 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
44762 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
44763 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
44764 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44765 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
44766 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
44767 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
44768 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
44769 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
44770 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44771 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44772 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
44773 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
44774 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
44775 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
44776 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44777 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
44778 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
44779 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
44780 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44781 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
44782 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
44783 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44784 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
44785 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44786 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
44787 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
44788 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
44789 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
44790 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44791 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
44792 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44793 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
44794 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44795 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
44796 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
44797 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44798 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44799 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
44800 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
44801 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44802 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
44803 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44804 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
44805 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
44806 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
44807 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
44808 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44809 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44810 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
44811 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
44812 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44813 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
44814 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
44815 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
44816 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
44817 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
44818 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
44819 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
44820 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
44821 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
44822 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
44823 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
44824 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
44825 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
44826 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
44827 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
44828 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44829 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
44830 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
44831 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
44832 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
44833 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44834 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
44835 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44836 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44837 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
44838 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
44839 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
44840 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
44841 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44842 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
44843 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44844 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44845 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
44846 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
44847 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
44848 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
44849 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
44850 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
44851 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
44852 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
44853 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
44854 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
44855 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
44856 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
44857 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
44858 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
44859 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
44860 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
44861 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
44862 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44863 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44864 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
44865 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
44866 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
44867 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
44868 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44869 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44870 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
44871 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44872 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
44873 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
44874 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
44875 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
44876 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
44877 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
44878 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
44879 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
44880 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
44881 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
44882 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
44883 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
44884 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
44885 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
44886 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
44887 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
44888 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
44889 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
44890 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 44891 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
1bd55598
RD
44892 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
44893 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 44894 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
1bd55598
RD
44895 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
44896 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
44897 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
44898 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
44899 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
44900 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44901 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 44902 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
44903 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44904 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
44905 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44906 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
44907 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44908 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
44909 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44910 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
44911 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
44912 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
44913 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
44914 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44915 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
44916 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
44917 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
44918 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
44919 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44920 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
44921 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
44922 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44923 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
44924 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
44925 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
44926 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
44927 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44928 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
44929 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
44930 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
44931 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44932 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
44933 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
44934 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
44935 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
44936 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44937 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
44938 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
44939 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
44940 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44941 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
44942 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
44943 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
44944 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
44945 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44946 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
44947 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
44948 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
44949 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
44950 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
44951 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
44952 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
44953 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
44954 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
44955 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44956 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
44957 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
44958 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
44959 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
44960 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44961 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
44962 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
44963 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
44964 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
44965 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44966 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
44967 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
44968 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
44969 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
44970 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
44971 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
44972 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
44973 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
44974 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
44975 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
44976 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
44977 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
44978 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
44979 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
44980 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
44981 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
44982 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
44983 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
44984 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
44985 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
44986 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
44987 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
44988 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
44989 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
44990 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44991 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44992 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
44993 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
44994 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
44995 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
44996 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
44997 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
44998 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
44999 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
45000 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45001 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45002 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
45003 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
45004 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
45005 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
45006 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
45007 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
45008 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
45009 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
45010 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
45011 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
45012 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
45013 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
45014 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45015 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45016 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45017 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
45018 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
45019 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45020 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45021 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45022 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45023 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45024 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
45025 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45026 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
45027 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
45028 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
45029 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
45030 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
45031 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
45032 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
45033 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
45034 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
45035 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
45036 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
45037 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
45038 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
45039 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45040 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
45041 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
45042 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
45043 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
45044 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
45045 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
45046 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
45047 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45048 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
45049 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
45050 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45051 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
45052 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45053 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45054 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45055 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
45056 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
45057 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
45058 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
45059 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
45060 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
45061 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
45062 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
45063 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
45064 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
45065 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
45066 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
45067 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
45068 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
45069 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45070 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45071 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45072 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
45073 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
45074 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
45075 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
45076 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45077 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45078 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
45079 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45080 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45081 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45082 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
45083 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
45084 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
45085 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
45086 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
45087 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
45088 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
45089 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
45090 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
45091 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
45092 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
45093 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
45094 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
45095 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
45096 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
45097 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
45098 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
45099 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
45100 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
45101 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
45102 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
45103 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
45104 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
45105 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
45106 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
45107 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
45108 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
45109 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
45110 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
45111 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
45112 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
45113 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
45114 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
45115 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
45116 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
45117 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
45118 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45119 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
45120 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
45121 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
45122 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
45123 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
45124 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
45125 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
45126 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
45127 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
45128 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
45129 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
45130 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
45131 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
45132 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
45133 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
45134 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
45135 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
45136 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
45137 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
45138 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
45139 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
45140 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
45141 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
45142 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
45143 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
45144 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
45145 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
45146 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45147 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
45148 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45149 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45150 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45151 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45152 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45153 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45154 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
45155 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
45156 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
45157 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45158 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45159 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45160 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
45161 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
45162 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45163 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45164 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45165 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45166 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45167 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45168 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45169 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
45170 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45171 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
45172 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
45173 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
45174 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
45175 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
45176 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
45177 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45178 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
45179 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45180 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45181 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45182 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45183 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45184 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
45185 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
45186 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
45187 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
45188 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
45189 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
45190 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
45191 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45192 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
45193 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
45194 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45195 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45196 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
45197 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45198 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
45199 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45200 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
45201 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
45202 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45203 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
45204 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45205 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
45206 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45207 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
45208 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
45209 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45210 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45211 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45212 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45213 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45214 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45215 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
45216 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
45217 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45218 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
45219 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
45220 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
45221 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
45222 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45223 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45224 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
45225 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
45226 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45227 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
45228 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45229 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45230 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45231 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
45232 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
45233 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
45234 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
45235 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
45236 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45237 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45238 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
45239 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
45240 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
45241 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
45242 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45243 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
45244 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
45245 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45246 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
45247 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45248 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
45249 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
45250 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
45251 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45252 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
45253 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45254 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
45255 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
45256 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
45257 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45258 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
45259 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
45260 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45261 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
45262 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45263 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
45264 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
45265 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45266 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
45267 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
45268 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
45269 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45270 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
45271 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45272 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45273 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
45274 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
45275 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45276 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
45277 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
45278 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
45279 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
45280 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45281 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45282 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45283 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45284 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45285 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45286 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45287 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
45288 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45289 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45290 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45291 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45292 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45293 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45294 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
45295 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45296 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
45297 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
45298 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45299 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45300 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45301 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45302 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45303 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45304 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45305 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
45306 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
45307 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
45308 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
45309 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
45310 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
45311 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
45312 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
45313 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
45314 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
45315 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
45316 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
45317 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45318 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45319 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
45320 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
45321 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
45322 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
45323 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
45324 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
45325 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45326 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
45327 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
45328 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
45329 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
45330 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
45331 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
45332 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
45333 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
45334 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
45335 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45336 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45337 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
45338 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45339 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
45340 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45341 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45342 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
45343 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
45344 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
45345 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
1bd55598
RD
45346 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
45347 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
45348 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45349 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
45350 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45351 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45352 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
45353 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
45354 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
45355 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
45356 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
45357 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45358 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
45359 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
45360 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
45361 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
45362 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
45363 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
45364 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
45365 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
45366 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
45367 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
45368 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
45369 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
45370 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
45371 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
45372 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45373 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
45374 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45375 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
45376 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
45377 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
45378 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
45379 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
45380 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45381 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
45382 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
45383 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45384 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45385 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
45386 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
45387 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
45388 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
45389 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
45390 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
45391 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
45392 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
45393 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
45394 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
45395 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
45396 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45397 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
45398 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45399 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
45400 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
45401 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
45402 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
45403 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
45404 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
45405 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
45406 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
45407 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45408 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
45409 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45410 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
45411 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
45412 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
45413 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
45414 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
45415 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 45416 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
1bd55598
RD
45417 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45418 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
45419 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45420 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 45421 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
45422 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45423 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
45424 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45425 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
45426 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
45427 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
45428 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
45429 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
45430 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
45431 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45432 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
45433 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
45434 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
45435 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
45436 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45437 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
45438 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
45439 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
45440 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
45441 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
45442 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
45443 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
45444 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
45445 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45446 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
45447 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
45448 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
45449 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
45451 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45453 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
45454 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45455 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
45456 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
45457 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
45458 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
45459 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45460 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
45461 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45462 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
45463 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
45464 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
45465 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
45466 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
45467 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
45468 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
45469 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
45470 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
45471 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
45472 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
45473 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
45474 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45475 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
45476 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
45477 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
45478 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
45479 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
45480 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
45481 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
45482 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
45483 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
45484 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
45485 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
45486 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
45487 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
45488 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45489 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
45490 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45491 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
45492 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
45493 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
45494 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
45495 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45496 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
45497 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
45498 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
45499 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
45500 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45501 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
45502 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45503 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
45504 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45505 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
45506 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
45507 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45508 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
45509 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45510 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
45511 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45512 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
45513 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
45514 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45515 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
45516 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45517 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
45518 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
45519 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45520 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
45521 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45522 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
45523 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
45524 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
45525 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
45526 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
45527 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
45528 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45529 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
45530 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45531 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
45532 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
1bd55598
RD
45533 { NULL, NULL, 0, NULL }
45534};
45535
45536
45537/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45538
45539static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
45540 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
45541}
45542static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
45543 return (void *)((wxEvent *) ((wxMenuEvent *) x));
45544}
45545static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
45546 return (void *)((wxEvent *) ((wxCloseEvent *) x));
45547}
45548static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
45549 return (void *)((wxEvent *) ((wxMouseEvent *) x));
45550}
45551static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
45552 return (void *)((wxEvent *) ((wxEraseEvent *) x));
45553}
45554static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
45555 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
45556}
45557static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
45558 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
45559}
45560static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
45561 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
45562}
b850e7f3
RD
45563static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
45564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
45565}
45566static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
45567 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
45568}
45569static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
45570 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
45571}
1bd55598
RD
45572static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
45573 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
45574}
45575static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
45576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
45577}
45578static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
45579 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
45580}
1bd55598
RD
45581static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
45582 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
45583}
2131d850
RD
45584static void *_p_wxPyEventTo_p_wxEvent(void *x) {
45585 return (void *)((wxEvent *) ((wxPyEvent *) x));
45586}
1bd55598
RD
45587static void *_p_wxListEventTo_p_wxEvent(void *x) {
45588 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
45589}
45590static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
45591 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
45592}
45593static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
45594 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
45595}
45596static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
45597 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
45598}
45599static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
45600 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
45601}
45602static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
45603 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
45604}
45605static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
45606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
45607}
45608static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
45609 return (void *)((wxEvent *) ((wxIdleEvent *) x));
45610}
45611static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
45612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
45613}
45614static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
45615 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
45616}
45617static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
45618 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
45619}
45620static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
45621 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
45622}
45623static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
45624 return (void *)((wxEvent *) ((wxActivateEvent *) x));
45625}
45626static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
45627 return (void *)((wxEvent *) ((wxSizeEvent *) x));
45628}
45629static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
45630 return (void *)((wxEvent *) ((wxMoveEvent *) x));
45631}
45632static void *_p_wxDateEventTo_p_wxEvent(void *x) {
45633 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
45634}
2131d850
RD
45635static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
45636 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
45637}
1bd55598
RD
45638static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
45639 return (void *)((wxEvent *) ((wxPaintEvent *) x));
45640}
45641static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
45642 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
45643}
45644static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
45645 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
45646}
45647static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
45648 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
45649}
45650static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
45651 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
45652}
45653static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
45654 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
45655}
45656static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
45657 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
45658}
704eda0c
RD
45659static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
45660 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
45661}
1bd55598
RD
45662static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
45663 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
45664}
45665static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
45666 return (void *)((wxEvent *) ((wxFocusEvent *) x));
45667}
45668static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
45669 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
45670}
45671static void *_p_wxShowEventTo_p_wxEvent(void *x) {
45672 return (void *)((wxEvent *) ((wxShowEvent *) x));
45673}
45674static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
45675 return (void *)((wxEvent *) ((wxCommandEvent *) x));
45676}
45677static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
45678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
45679}
45680static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
45681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
45682}
45683static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
45684 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
45685}
45686static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
45687 return (void *)((wxEvent *) ((wxKeyEvent *) x));
45688}
45689static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
45690 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
45691}
45692static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
45693 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
45694}
b850e7f3
RD
45695static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
45696 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
45697}
45698static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
45699 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
45700}
45701static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
45702 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
45703}
45704static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
45705 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
45706}
1bd55598
RD
45707static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
45708 return (void *)((wxItemContainer *) ((wxComboBox *) x));
45709}
45710static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
45711 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
45712}
45713static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
45714 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
45715}
45716static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
45717 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
45718}
45719static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
45720 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
45721}
45722static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
45723 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
45724}
45725static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
45726 return (void *)((wxPyListCtrl *) ((wxListView *) x));
45727}
45728static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
45729 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
45730}
45731static void *_p_wxToolBarTo_p_wxControl(void *x) {
45732 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
45733}
b850e7f3
RD
45734static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
45735 return (void *)((wxControl *) ((wxPickerBase *) x));
45736}
1bd55598
RD
45737static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
45738 return (void *)((wxControl *) ((wxToggleButton *) x));
45739}
45740static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
45741 return (void *)((wxControl *) ((wxRadioButton *) x));
45742}
45743static void *_p_wxToolbookTo_p_wxControl(void *x) {
45744 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
45745}
45746static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
45747 return (void *)((wxControl *) ((wxToolBarBase *) x));
45748}
45749static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
45750 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
45751}
45752static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
45753 return (void *)((wxControl *) ((wxPyListCtrl *) x));
45754}
45755static void *_p_wxComboBoxTo_p_wxControl(void *x) {
45756 return (void *)((wxControl *) ((wxComboBox *) x));
45757}
45758static void *_p_wxPyControlTo_p_wxControl(void *x) {
45759 return (void *)((wxControl *) ((wxPyControl *) x));
45760}
45761static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
45762 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
45763}
45764static void *_p_wxScrollBarTo_p_wxControl(void *x) {
45765 return (void *)((wxControl *) ((wxScrollBar *) x));
45766}
45767static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
45768 return (void *)((wxControl *) ((wxControlWithItems *) x));
45769}
45770static void *_p_wxGaugeTo_p_wxControl(void *x) {
45771 return (void *)((wxControl *) ((wxGauge *) x));
45772}
45773static void *_p_wxStaticLineTo_p_wxControl(void *x) {
45774 return (void *)((wxControl *) ((wxStaticLine *) x));
45775}
45776static void *_p_wxChoicebookTo_p_wxControl(void *x) {
45777 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
45778}
45779static void *_p_wxListbookTo_p_wxControl(void *x) {
45780 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
45781}
704eda0c
RD
45782static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
45783 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
45784}
1bd55598
RD
45785static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
45786 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
45787}
45788static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
45789 return (void *)((wxControl *) ((wxCheckBox *) x));
45790}
45791static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
45792 return (void *)((wxControl *) ((wxRadioBox *) x));
45793}
45794static void *_p_wxChoiceTo_p_wxControl(void *x) {
45795 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
45796}
45797static void *_p_wxListBoxTo_p_wxControl(void *x) {
45798 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
45799}
45800static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
45801 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
45802}
45803static void *_p_wxListViewTo_p_wxControl(void *x) {
45804 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
45805}
45806static void *_p_wxNotebookTo_p_wxControl(void *x) {
45807 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
45808}
45809static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
45810 return (void *)((wxControl *) ((wxStaticBitmap *) x));
45811}
45812static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
45813 return (void *)((wxControl *) ((wxSpinCtrl *) x));
45814}
45815static void *_p_wxStaticTextTo_p_wxControl(void *x) {
45816 return (void *)((wxControl *) ((wxStaticText *) x));
45817}
45818static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
45819 return (void *)((wxControl *) ((wxStaticBox *) x));
45820}
45821static void *_p_wxSliderTo_p_wxControl(void *x) {
45822 return (void *)((wxControl *) ((wxSlider *) x));
45823}
45824static void *_p_wxTreebookTo_p_wxControl(void *x) {
45825 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
45826}
45827static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
45828 return (void *)((wxControl *) ((wxSpinButton *) x));
45829}
45830static void *_p_wxButtonTo_p_wxControl(void *x) {
45831 return (void *)((wxControl *) ((wxButton *) x));
45832}
45833static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
45834 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
45835}
45836static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
45837 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
45838}
45839static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
45840 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
45841}
b850e7f3
RD
45842static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
45843 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
45844}
45845static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
45846 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
45847}
45848static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
45849 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
45850}
45851static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
45852 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
45853}
1bd55598
RD
45854static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
45855 return (void *)((wxControl *) ((wxTextCtrl *) x));
45856}
45857static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
45858 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
45859}
45860static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
45861 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
45862}
45863static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
45864 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
45865}
45866static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
45867 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
45868}
45869static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
45870 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
45871}
45872static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
45873 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
45874}
45875static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
45876 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
45877}
45878static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
45879 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
45880}
45881static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
45882 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
45883}
45884static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
45885 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
45886}
45887static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
45888 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
45889}
45890static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
45891 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
45892}
45893static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
45894 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
45895}
45896static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
45897 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
45898}
45899static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
45900 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
45901}
45902static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
45903 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
45904}
45905static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
45906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
45907}
45908static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
45909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
45910}
45911static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
45912 return (void *)((wxEvtHandler *) ((wxValidator *) x));
45913}
45914static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
45915 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
45916}
45917static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
45918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
45919}
b850e7f3
RD
45920static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
45921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
45922}
1bd55598
RD
45923static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
45924 return (void *)((wxEvtHandler *) ((wxMenu *) x));
45925}
45926static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
45927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
45928}
45929static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
45930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
45931}
45932static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
45933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
45934}
45935static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
45936 return (void *)((wxEvtHandler *) ((wxWindow *) x));
45937}
45938static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
45939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
45940}
45941static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
45942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
45943}
45944static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
45945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
45946}
45947static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
45948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
45949}
45950static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
45951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
45952}
45953static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
45954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
45955}
45956static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
45957 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
45958}
45959static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
45960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
45961}
45962static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
45963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
45964}
45965static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
45966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
45967}
45968static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
45969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
45970}
45971static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
45972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
45973}
45974static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
45975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
45976}
45977static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
45978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
45979}
704eda0c
RD
45980static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
45981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
45982}
1bd55598
RD
45983static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
45984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
45985}
45986static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
45987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
45988}
45989static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
45990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
45991}
45992static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
45993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
45994}
45995static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
45996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
45997}
45998static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
45999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46000}
46001static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
46002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46003}
46004static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
46005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46006}
46007static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
46008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46009}
46010static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
46011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46012}
46013static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
46014 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
46015}
46016static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
46017 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
46018}
46019static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
46020 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
46021}
46022static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
46023 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46024}
46025static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
46026 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
46027}
46028static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
46029 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
46030}
46031static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
46032 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46033}
46034static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
46035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46036}
46037static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
46038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46039}
b850e7f3
RD
46040static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
46041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46042}
46043static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
46044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46045}
46046static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
46047 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46048}
46049static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
46050 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46051}
1bd55598
RD
46052static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
46053 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46054}
46055static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
46056 return (void *)((wxListBox *) ((wxCheckListBox *) x));
46057}
46058static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
46059 return (void *)((wxButton *) ((wxBitmapButton *) x));
46060}
46061static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
46062 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
46063}
46064static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
46065 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
46066}
46067static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
46068 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
46069}
46070static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
46071 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
46072}
46073static void *_p_wxToolbookTo_p_wxObject(void *x) {
46074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46075}
46076static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
46077 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
46078}
46079static void *_p_wxSizerItemTo_p_wxObject(void *x) {
46080 return (void *)((wxObject *) ((wxSizerItem *) x));
46081}
46082static void *_p_wxScrollEventTo_p_wxObject(void *x) {
46083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
46084}
46085static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
46086 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
46087}
46088static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
46089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
46090}
46091static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
46092 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
46093}
46094static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
46095 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
46096}
46097static void *_p_wxSizerTo_p_wxObject(void *x) {
46098 return (void *)((wxObject *) ((wxSizer *) x));
46099}
46100static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
46101 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
46102}
46103static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
46104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
46105}
46106static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
46107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46108}
46109static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
46110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
46111}
46112static void *_p_wxEventTo_p_wxObject(void *x) {
46113 return (void *)((wxObject *) ((wxEvent *) x));
46114}
46115static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
46116 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
46117}
46118static void *_p_wxGridSizerTo_p_wxObject(void *x) {
46119 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
46120}
46121static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
46122 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
46123}
46124static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
46125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46126}
b850e7f3
RD
46127static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
46128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
46129}
1bd55598
RD
46130static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
46131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46132}
46133static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
46134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46135}
2131d850
RD
46136static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
46137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
46138}
1bd55598
RD
46139static void *_p_wxPaintEventTo_p_wxObject(void *x) {
46140 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
46141}
46142static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
46143 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
46144}
46145static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
46146 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
46147}
46148static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
46149 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
46150}
46151static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
46152 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46153}
46154static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
46155 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
46156}
46157static void *_p_wxStaticLineTo_p_wxObject(void *x) {
46158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
46159}
46160static void *_p_wxControlTo_p_wxObject(void *x) {
46161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
46162}
46163static void *_p_wxPyControlTo_p_wxObject(void *x) {
46164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
46165}
46166static void *_p_wxGaugeTo_p_wxObject(void *x) {
46167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
46168}
46169static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
46170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
46171}
46172static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
46173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
46174}
46175static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
46176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46177}
46178static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
46179 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
46180}
b850e7f3
RD
46181static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
46182 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
46183}
46184static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
46185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46186}
46187static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
46188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
46189}
1bd55598
RD
46190static void *_p_wxChoiceTo_p_wxObject(void *x) {
46191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46192}
46193static void *_p_wxFSFileTo_p_wxObject(void *x) {
46194 return (void *)((wxObject *) ((wxFSFile *) x));
46195}
46196static void *_p_wxPySizerTo_p_wxObject(void *x) {
46197 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
46198}
46199static void *_p_wxTreebookTo_p_wxObject(void *x) {
46200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46201}
46202static void *_p_wxListViewTo_p_wxObject(void *x) {
46203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46204}
704eda0c
RD
46205static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
46206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
46207}
1bd55598
RD
46208static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
46209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46210}
46211static void *_p_wxNotebookTo_p_wxObject(void *x) {
46212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46213}
46214static void *_p_wxPyEventTo_p_wxObject(void *x) {
46215 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
46216}
46217static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
46218 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
46219}
46220static void *_p_wxChoicebookTo_p_wxObject(void *x) {
46221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46222}
46223static void *_p_wxListbookTo_p_wxObject(void *x) {
46224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46225}
46226static void *_p_wxShowEventTo_p_wxObject(void *x) {
46227 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
46228}
46229static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
46230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46231}
46232static void *_p_wxSliderTo_p_wxObject(void *x) {
46233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
46234}
46235static void *_p_wxMenuItemTo_p_wxObject(void *x) {
46236 return (void *)((wxObject *) ((wxMenuItem *) x));
46237}
46238static void *_p_wxDateEventTo_p_wxObject(void *x) {
46239 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
46240}
46241static void *_p_wxIdleEventTo_p_wxObject(void *x) {
46242 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
46243}
46244static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
46245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
46246}
46247static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
46248 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
46249}
46250static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
46251 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
46252}
46253static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
46254 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
46255}
46256static void *_p_wxSizeEventTo_p_wxObject(void *x) {
46257 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
46258}
46259static void *_p_wxMoveEventTo_p_wxObject(void *x) {
46260 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
46261}
46262static void *_p_wxActivateEventTo_p_wxObject(void *x) {
46263 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
46264}
46265static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
46266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
46267}
46268static void *_p_wxContextHelpTo_p_wxObject(void *x) {
46269 return (void *)((wxObject *) ((wxContextHelp *) x));
46270}
46271static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
46272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
46273}
46274static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
46275 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
46276}
46277static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
46278 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
46279}
46280static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
46281 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
46282}
46283static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
46284 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
46285}
46286static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
46287 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
46288}
46289static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
46290 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46291}
46292static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
46293 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
46294}
46295static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
46296 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
46297}
46298static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
46299 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
46300}
46301static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
46302 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
46303}
46304static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
46305 return (void *)((wxObject *) ((wxImageHandler *) x));
46306}
46307static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
46308 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
46309}
46310static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
46311 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
46312}
46313static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
46314 return (void *)((wxObject *) ((wxEvtHandler *) x));
46315}
46316static void *_p_wxListEventTo_p_wxObject(void *x) {
46317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46318}
46319static void *_p_wxListBoxTo_p_wxObject(void *x) {
46320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46321}
46322static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
46323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46324}
46325static void *_p_wxButtonTo_p_wxObject(void *x) {
46326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
46327}
46328static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
46329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46330}
46331static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
46332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
46333}
46334static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
46335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46336}
46337static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
46338 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46339}
46340static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
46341 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
46342}
46343static void *_p_wxScrollBarTo_p_wxObject(void *x) {
46344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
46345}
46346static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
46347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
46348}
46349static void *_p_wxComboBoxTo_p_wxObject(void *x) {
46350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
46351}
46352static void *_p_wxHelpEventTo_p_wxObject(void *x) {
46353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
46354}
46355static void *_p_wxListItemTo_p_wxObject(void *x) {
46356 return (void *)((wxObject *) ((wxListItem *) x));
46357}
46358static void *_p_wxImageTo_p_wxObject(void *x) {
46359 return (void *)((wxObject *) ((wxImage *) x));
46360}
46361static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
46362 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
46363}
46364static void *_p_wxSpinEventTo_p_wxObject(void *x) {
46365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46366}
46367static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
46368 return (void *)((wxObject *) ((wxGenericDragImage *) x));
46369}
46370static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
46371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46372}
46373static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
46374 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46375}
46376static void *_p_wxListbookEventTo_p_wxObject(void *x) {
46377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46378}
46379static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
46380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46381}
46382static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
46383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46384}
46385static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
46386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46387}
46388static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
46389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46390}
46391static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
46392 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
46393}
46394static void *_p_wxKeyEventTo_p_wxObject(void *x) {
46395 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
46396}
46397static void *_p_wxWindowTo_p_wxObject(void *x) {
46398 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
46399}
46400static void *_p_wxMenuTo_p_wxObject(void *x) {
46401 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
46402}
46403static void *_p_wxMenuBarTo_p_wxObject(void *x) {
46404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
46405}
46406static void *_p_wxFileSystemTo_p_wxObject(void *x) {
46407 return (void *)((wxObject *) ((wxFileSystem *) x));
46408}
46409static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
46410 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
46411}
46412static void *_p_wxMenuEventTo_p_wxObject(void *x) {
46413 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
46414}
46415static void *_p_wxPyAppTo_p_wxObject(void *x) {
46416 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
46417}
46418static void *_p_wxCloseEventTo_p_wxObject(void *x) {
46419 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
46420}
46421static void *_p_wxMouseEventTo_p_wxObject(void *x) {
46422 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
46423}
46424static void *_p_wxEraseEventTo_p_wxObject(void *x) {
46425 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
46426}
46427static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
46428 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46429}
46430static void *_p_wxTreeEventTo_p_wxObject(void *x) {
46431 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46432}
46433static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
46434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
46435}
46436static void *_p_wxCommandEventTo_p_wxObject(void *x) {
46437 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
46438}
46439static void *_p_wxStaticTextTo_p_wxObject(void *x) {
46440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
46441}
46442static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
46443 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
46444}
46445static void *_p_wxFocusEventTo_p_wxObject(void *x) {
46446 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
46447}
46448static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
46449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
46450}
46451static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
46452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46453}
b850e7f3
RD
46454static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
46455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46456}
46457static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
46458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46459}
46460static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
46461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46462}
46463static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
46464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46465}
1bd55598
RD
46466static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
46467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46468}
704eda0c
RD
46469static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
46470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46471}
1bd55598
RD
46472static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
46473 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
46474}
46475static void *_p_wxToolBarTo_p_wxObject(void *x) {
46476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46477}
46478static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
46479 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
46480}
46481static void *_p_wxValidatorTo_p_wxObject(void *x) {
46482 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
46483}
46484static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
46485 return (void *)((wxWindow *) ((wxMenuBar *) x));
46486}
46487static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
46488 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
46489}
46490static void *_p_wxToolBarTo_p_wxWindow(void *x) {
46491 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46492}
b850e7f3
RD
46493static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
46494 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
46495}
1bd55598
RD
46496static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
46497 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
46498}
46499static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
46500 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
46501}
46502static void *_p_wxToolbookTo_p_wxWindow(void *x) {
46503 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46504}
46505static void *_p_wxControlTo_p_wxWindow(void *x) {
46506 return (void *)((wxWindow *) ((wxControl *) x));
46507}
46508static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
46509 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
46510}
46511static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
46512 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
46513}
46514static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
46515 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
46516}
46517static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
46518 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46519}
46520static void *_p_wxPyControlTo_p_wxWindow(void *x) {
46521 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
46522}
46523static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
46524 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
46525}
46526static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
46527 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
46528}
46529static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
46530 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
46531}
46532static void *_p_wxGaugeTo_p_wxWindow(void *x) {
46533 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
46534}
46535static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
46536 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
46537}
46538static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
46539 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46540}
46541static void *_p_wxListbookTo_p_wxWindow(void *x) {
46542 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46543}
704eda0c
RD
46544static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
46545 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
46546}
1bd55598
RD
46547static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
46548 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
46549}
46550static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
46551 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
46552}
46553static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
46554 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
46555}
46556static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
46557 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46558}
46559static void *_p_wxChoiceTo_p_wxWindow(void *x) {
46560 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46561}
46562static void *_p_wxListBoxTo_p_wxWindow(void *x) {
46563 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46564}
46565static void *_p_wxListViewTo_p_wxWindow(void *x) {
46566 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46567}
46568static void *_p_wxNotebookTo_p_wxWindow(void *x) {
46569 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46570}
46571static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
46572 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
46573}
46574static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
46575 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
46576}
46577static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
46578 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
46579}
46580static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
46581 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
46582}
46583static void *_p_wxSliderTo_p_wxWindow(void *x) {
46584 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
46585}
46586static void *_p_wxTreebookTo_p_wxWindow(void *x) {
46587 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46588}
46589static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
46590 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
46591}
46592static void *_p_wxButtonTo_p_wxWindow(void *x) {
46593 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
46594}
46595static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
46596 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
46597}
46598static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
46599 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46600}
46601static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
46602 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
46603}
b850e7f3
RD
46604static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
46605 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46606}
46607static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
46608 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46609}
46610static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
46611 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46612}
46613static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
46614 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46615}
1bd55598
RD
46616static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
46617 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
46618}
46619static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46620 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46621}
46622static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46623 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46624}
46625static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46626 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46627}
46628static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46629 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46630}
46631static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46632 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46633}
46634static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
46635 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46636}
704eda0c
RD
46637static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
46638 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
46639}
2131d850
RD
46640static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
46641 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
46642}
b850e7f3
RD
46643static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
46644 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
46645}
46646static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
46647 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46648}
46649static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
46650 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
46651}
1bd55598
RD
46652static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
46653 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
46654}
46655static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
46656 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
46657}
46658static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
46659 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
46660}
46661static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
46662 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
46663}
46664static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
46665 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
46666}
1bd55598
RD
46667static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
46668 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46669}
2131d850
RD
46670static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
46671 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46672}
1bd55598
RD
46673static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
46674 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46675}
46676static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
46677 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46678}
46679static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
46680 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46681}
46682static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
46683 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
46684}
46685static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
46686 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
46687}
46688static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
46689 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
46690}
46691static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
46692 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46693}
46694static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
46695 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
46696}
46697static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
46698 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
46699}
46700static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
46701 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
46702}
46703static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
46704 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
46705}
46706static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
46707 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
46708}
46709static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
46710 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
46711}
46712static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
46713 return (void *)((wxControlWithItems *) ((wxChoice *) x));
46714}
46715static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
46716 return (void *)((wxControlWithItems *) ((wxListBox *) x));
46717}
46718static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
46719 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
46720}
46721static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
46722 return (void *)((wxValidator *) ((wxPyValidator *) x));
46723}
46724static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
46725static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
46726static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
46727static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
46728static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
46729static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
46730static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
46731static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
46732static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
46733static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
46734static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
46735static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
46736static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
46737static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
46738static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
46739static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
46740static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
46741static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
46742static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
46743static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
46744static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
46745static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
46746static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
46747static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
46748static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
46749static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
46750static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 46751static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598
RD
46752static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
46753static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
46754static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
46755static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
46756static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
46757static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
46758static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
46759static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
46760static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
46761static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
46762static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
46763static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
46764static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
46765static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
46766static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
46767static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 46768static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
1bd55598
RD
46769static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
46770static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
46771static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
46772static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
46773static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
46774static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
46775static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
46776static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
46777static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
46778static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
46779static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
46780static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
46781static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
46782static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
46783static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
46784static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
46785static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
46786static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
46787static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
46788static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
46789static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
46790static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
46791static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
46792static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
46793static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
46794static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
46795static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
46796static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
46797static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
46798static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
46799static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
b850e7f3
RD
46800static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
46801static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
1bd55598 46802static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
46803static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
46804static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
46805static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
46806static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
46807static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
46808static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
46809static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
46810static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
46811static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
46812static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
46813static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
46814static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
46815static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
46816static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
46817static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
46818static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
46819static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
46820static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
46821static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
46822static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
46823static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
46824static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
46825static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
46826static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
46827static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
46828static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
46829static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
46830static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
46831static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
46832static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
46833static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
46834static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
46835static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
46836static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
46837static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
46838static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
46839static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
46840static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
46841static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
46842static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
46843static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
46844static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
46845static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
46846static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
46847static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
46848static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
46849static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
46850static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 46851static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 46852static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
46853static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
46854static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
46855static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
46856static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
46857static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
46858static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
46859static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 46860static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
1bd55598
RD
46861static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
46862static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
46863static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
46864static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
46865static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
46866static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
46867static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
46868static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
46869static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
46870static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
46871static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
46872static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
46873static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
46874static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
46875static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
46876static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
46877static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
46878static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
46879static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
46880static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
46881static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
46882static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
46883static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
46884static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
46885static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
46886static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
46887static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
46888static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
46889static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
46890static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
46891static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
46892static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
46893static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
46894static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
46895static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
46896static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
46897static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 46898static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
1bd55598
RD
46899
46900static swig_type_info *swig_type_initial[] = {
46901 &_swigt__p_bool,
46902 &_swigt__p_char,
46903 &_swigt__p_form_ops_t,
46904 &_swigt__p_int,
46905 &_swigt__p_long,
46906 &_swigt__p_unsigned_char,
46907 &_swigt__p_unsigned_int,
46908 &_swigt__p_unsigned_long,
46909 &_swigt__p_void,
46910 &_swigt__p_wxANIHandler,
46911 &_swigt__p_wxAcceleratorTable,
46912 &_swigt__p_wxActivateEvent,
46913 &_swigt__p_wxArrayInt,
46914 &_swigt__p_wxArrayString,
46915 &_swigt__p_wxBMPHandler,
46916 &_swigt__p_wxBitmap,
46917 &_swigt__p_wxBitmapButton,
46918 &_swigt__p_wxBookCtrlBase,
46919 &_swigt__p_wxBookCtrlBaseEvent,
46920 &_swigt__p_wxBoxSizer,
46921 &_swigt__p_wxButton,
46922 &_swigt__p_wxCURHandler,
46923 &_swigt__p_wxCheckBox,
46924 &_swigt__p_wxCheckListBox,
46925 &_swigt__p_wxChildFocusEvent,
46926 &_swigt__p_wxChoice,
46927 &_swigt__p_wxChoicebook,
46928 &_swigt__p_wxChoicebookEvent,
2131d850 46929 &_swigt__p_wxClipboardTextEvent,
1bd55598
RD
46930 &_swigt__p_wxCloseEvent,
46931 &_swigt__p_wxColour,
b850e7f3
RD
46932 &_swigt__p_wxColourPickerCtrl,
46933 &_swigt__p_wxColourPickerEvent,
1bd55598
RD
46934 &_swigt__p_wxComboBox,
46935 &_swigt__p_wxCommandEvent,
46936 &_swigt__p_wxContextHelp,
46937 &_swigt__p_wxContextHelpButton,
46938 &_swigt__p_wxContextMenuEvent,
46939 &_swigt__p_wxControl,
46940 &_swigt__p_wxControlWithItems,
46941 &_swigt__p_wxCursor,
46942 &_swigt__p_wxDC,
46943 &_swigt__p_wxDateEvent,
46944 &_swigt__p_wxDatePickerCtrl,
46945 &_swigt__p_wxDateTime,
46946 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 46947 &_swigt__p_wxDirPickerCtrl,
1bd55598
RD
46948 &_swigt__p_wxDisplayChangedEvent,
46949 &_swigt__p_wxDropFilesEvent,
46950 &_swigt__p_wxDuplexMode,
46951 &_swigt__p_wxEraseEvent,
46952 &_swigt__p_wxEvent,
46953 &_swigt__p_wxEvtHandler,
46954 &_swigt__p_wxFSFile,
b850e7f3
RD
46955 &_swigt__p_wxFileDirPickerEvent,
46956 &_swigt__p_wxFilePickerCtrl,
1bd55598
RD
46957 &_swigt__p_wxFileSystem,
46958 &_swigt__p_wxFlexGridSizer,
46959 &_swigt__p_wxFocusEvent,
46960 &_swigt__p_wxFont,
b850e7f3
RD
46961 &_swigt__p_wxFontPickerCtrl,
46962 &_swigt__p_wxFontPickerEvent,
1bd55598
RD
46963 &_swigt__p_wxGBSizerItem,
46964 &_swigt__p_wxGIFHandler,
46965 &_swigt__p_wxGauge,
46966 &_swigt__p_wxGenericDirCtrl,
46967 &_swigt__p_wxGenericDragImage,
46968 &_swigt__p_wxGridBagSizer,
46969 &_swigt__p_wxGridSizer,
46970 &_swigt__p_wxHelpEvent,
46971 &_swigt__p_wxHelpProvider,
704eda0c
RD
46972 &_swigt__p_wxHyperlinkCtrl,
46973 &_swigt__p_wxHyperlinkEvent,
1bd55598
RD
46974 &_swigt__p_wxICOHandler,
46975 &_swigt__p_wxIcon,
46976 &_swigt__p_wxIconizeEvent,
46977 &_swigt__p_wxIdleEvent,
46978 &_swigt__p_wxImage,
46979 &_swigt__p_wxImageHandler,
46980 &_swigt__p_wxImageList,
46981 &_swigt__p_wxIndividualLayoutConstraint,
46982 &_swigt__p_wxInitDialogEvent,
46983 &_swigt__p_wxItemContainer,
46984 &_swigt__p_wxJPEGHandler,
46985 &_swigt__p_wxKeyEvent,
46986 &_swigt__p_wxLayoutConstraints,
46987 &_swigt__p_wxListBox,
46988 &_swigt__p_wxListEvent,
46989 &_swigt__p_wxListItem,
46990 &_swigt__p_wxListItemAttr,
46991 &_swigt__p_wxListView,
46992 &_swigt__p_wxListbook,
46993 &_swigt__p_wxListbookEvent,
46994 &_swigt__p_wxMaximizeEvent,
46995 &_swigt__p_wxMemoryDC,
46996 &_swigt__p_wxMenu,
46997 &_swigt__p_wxMenuBar,
46998 &_swigt__p_wxMenuEvent,
46999 &_swigt__p_wxMenuItem,
47000 &_swigt__p_wxMouseCaptureChangedEvent,
47001 &_swigt__p_wxMouseEvent,
47002 &_swigt__p_wxMoveEvent,
47003 &_swigt__p_wxNavigationKeyEvent,
47004 &_swigt__p_wxNcPaintEvent,
47005 &_swigt__p_wxNotebook,
47006 &_swigt__p_wxNotebookEvent,
47007 &_swigt__p_wxNotifyEvent,
47008 &_swigt__p_wxObject,
47009 &_swigt__p_wxPCXHandler,
47010 &_swigt__p_wxPNGHandler,
47011 &_swigt__p_wxPNMHandler,
47012 &_swigt__p_wxPaintEvent,
47013 &_swigt__p_wxPaletteChangedEvent,
47014 &_swigt__p_wxPaperSize,
b850e7f3 47015 &_swigt__p_wxPickerBase,
1bd55598
RD
47016 &_swigt__p_wxPoint,
47017 &_swigt__p_wxPyApp,
47018 &_swigt__p_wxPyCommandEvent,
47019 &_swigt__p_wxPyControl,
47020 &_swigt__p_wxPyEvent,
47021 &_swigt__p_wxPyImageHandler,
47022 &_swigt__p_wxPyListCtrl,
47023 &_swigt__p_wxPySizer,
47024 &_swigt__p_wxPyTreeCtrl,
47025 &_swigt__p_wxPyTreeItemData,
47026 &_swigt__p_wxPyValidator,
47027 &_swigt__p_wxQueryNewPaletteEvent,
47028 &_swigt__p_wxRadioBox,
47029 &_swigt__p_wxRadioButton,
47030 &_swigt__p_wxRect,
47031 &_swigt__p_wxScrollBar,
47032 &_swigt__p_wxScrollEvent,
47033 &_swigt__p_wxScrollWinEvent,
47034 &_swigt__p_wxSetCursorEvent,
47035 &_swigt__p_wxShowEvent,
47036 &_swigt__p_wxSimpleHelpProvider,
47037 &_swigt__p_wxSize,
47038 &_swigt__p_wxSizeEvent,
47039 &_swigt__p_wxSizer,
47040 &_swigt__p_wxSizerItem,
47041 &_swigt__p_wxSlider,
47042 &_swigt__p_wxSpinButton,
47043 &_swigt__p_wxSpinCtrl,
47044 &_swigt__p_wxSpinEvent,
47045 &_swigt__p_wxStaticBitmap,
47046 &_swigt__p_wxStaticBox,
47047 &_swigt__p_wxStaticBoxSizer,
47048 &_swigt__p_wxStaticLine,
47049 &_swigt__p_wxStaticText,
47050 &_swigt__p_wxStdDialogButtonSizer,
47051 &_swigt__p_wxString,
47052 &_swigt__p_wxSysColourChangedEvent,
47053 &_swigt__p_wxTIFFHandler,
47054 &_swigt__p_wxTextAttr,
47055 &_swigt__p_wxTextCtrl,
47056 &_swigt__p_wxTextUrlEvent,
47057 &_swigt__p_wxToggleButton,
47058 &_swigt__p_wxToolBar,
47059 &_swigt__p_wxToolBarBase,
47060 &_swigt__p_wxToolBarToolBase,
47061 &_swigt__p_wxToolbook,
47062 &_swigt__p_wxToolbookEvent,
47063 &_swigt__p_wxTreeCtrl,
47064 &_swigt__p_wxTreeEvent,
47065 &_swigt__p_wxTreeItemId,
47066 &_swigt__p_wxTreebook,
47067 &_swigt__p_wxTreebookEvent,
47068 &_swigt__p_wxUpdateUIEvent,
47069 &_swigt__p_wxValidator,
47070 &_swigt__p_wxVisualAttributes,
47071 &_swigt__p_wxWindow,
b850e7f3 47072 &_swigt__p_wxWindowBase,
1bd55598
RD
47073 &_swigt__p_wxWindowCreateEvent,
47074 &_swigt__p_wxWindowDestroyEvent,
47075 &_swigt__p_wxXPMHandler,
47076};
47077
47078static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
47079static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
47080static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
47081static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
47082static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
47083static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
47084static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
47085static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
47086static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
47087static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
47088static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
47089static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
47090static 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}};
47091static 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}};
47092static 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}};
47093static 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}};
47094static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
47095static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
47096static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
47097static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
47098static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47099static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47100static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47101static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47102static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
47103static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 47104static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47105static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
47106static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
47107static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
47108static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
47109static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
47110static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
47111static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47112static 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}};
1bd55598
RD
47113static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
47114static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47115static 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}};
1bd55598
RD
47116static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
47117static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
47118static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
47119static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47120static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
47121static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47122static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47123static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
47124static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
47125static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
47126static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
47127static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
47128static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
47129static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
47130static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
47131static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
47132static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47133static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47134static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
47135static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47136static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
47137static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
47138static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
47139static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47140static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47141static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47142static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47143static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
47144static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
47145static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
47146static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
47147static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47148static 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}};
1bd55598
RD
47149static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
47150static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
47151static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
47152static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47153static 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}};
47154static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
47155static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 47156static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47157static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47158static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47159static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
47160static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
47161static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
47162static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
47163static 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
47164static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
47165static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47166static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
47167static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
47168static 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}};
47169static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
47170static 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}};
47171static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
47172static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
47173static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
47174static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
47175static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
47176static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
47177static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
47178static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
47179static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
47180static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47181static 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}};
47182static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
47183static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
47184static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
47185static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
47186static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
47187static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
47188static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
47189static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
47190static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
47191static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
47192static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
47193static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
47194static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47195static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
47196static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
47197static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
47198static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
47199static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47200static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
47201static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
47202static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
47203static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 47204static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 47205static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47206static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
47207static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
47208static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
47209static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
47210static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
47211static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47212static 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}};
1bd55598 47213static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47214static 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}};
1bd55598
RD
47215static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
47216static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
47217static 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}};
47218static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
47219static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
47220static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
47221static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
47222static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
47223static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
47224static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
47225static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
47226static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
47227static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
47228static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
47229static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
47230static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
47231static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
47232static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
47233static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
47234static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
47235static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
47236static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
47237static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
47238static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
47239static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
47240static 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}};
47241static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
47242static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
47243static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
47244static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
47245static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
47246static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
47247static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
47248static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47249static 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}};
47250static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47251static 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}};
47252static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
47253
47254static swig_cast_info *swig_cast_initial[] = {
47255 _swigc__p_bool,
47256 _swigc__p_char,
47257 _swigc__p_form_ops_t,
47258 _swigc__p_int,
47259 _swigc__p_long,
47260 _swigc__p_unsigned_char,
47261 _swigc__p_unsigned_int,
47262 _swigc__p_unsigned_long,
47263 _swigc__p_void,
47264 _swigc__p_wxANIHandler,
47265 _swigc__p_wxAcceleratorTable,
47266 _swigc__p_wxActivateEvent,
47267 _swigc__p_wxArrayInt,
47268 _swigc__p_wxArrayString,
47269 _swigc__p_wxBMPHandler,
47270 _swigc__p_wxBitmap,
47271 _swigc__p_wxBitmapButton,
47272 _swigc__p_wxBookCtrlBase,
47273 _swigc__p_wxBookCtrlBaseEvent,
47274 _swigc__p_wxBoxSizer,
47275 _swigc__p_wxButton,
47276 _swigc__p_wxCURHandler,
47277 _swigc__p_wxCheckBox,
47278 _swigc__p_wxCheckListBox,
47279 _swigc__p_wxChildFocusEvent,
47280 _swigc__p_wxChoice,
47281 _swigc__p_wxChoicebook,
47282 _swigc__p_wxChoicebookEvent,
2131d850 47283 _swigc__p_wxClipboardTextEvent,
1bd55598
RD
47284 _swigc__p_wxCloseEvent,
47285 _swigc__p_wxColour,
b850e7f3
RD
47286 _swigc__p_wxColourPickerCtrl,
47287 _swigc__p_wxColourPickerEvent,
1bd55598
RD
47288 _swigc__p_wxComboBox,
47289 _swigc__p_wxCommandEvent,
47290 _swigc__p_wxContextHelp,
47291 _swigc__p_wxContextHelpButton,
47292 _swigc__p_wxContextMenuEvent,
47293 _swigc__p_wxControl,
47294 _swigc__p_wxControlWithItems,
47295 _swigc__p_wxCursor,
47296 _swigc__p_wxDC,
47297 _swigc__p_wxDateEvent,
47298 _swigc__p_wxDatePickerCtrl,
47299 _swigc__p_wxDateTime,
47300 _swigc__p_wxDirFilterListCtrl,
b850e7f3 47301 _swigc__p_wxDirPickerCtrl,
1bd55598
RD
47302 _swigc__p_wxDisplayChangedEvent,
47303 _swigc__p_wxDropFilesEvent,
47304 _swigc__p_wxDuplexMode,
47305 _swigc__p_wxEraseEvent,
47306 _swigc__p_wxEvent,
47307 _swigc__p_wxEvtHandler,
47308 _swigc__p_wxFSFile,
b850e7f3
RD
47309 _swigc__p_wxFileDirPickerEvent,
47310 _swigc__p_wxFilePickerCtrl,
1bd55598
RD
47311 _swigc__p_wxFileSystem,
47312 _swigc__p_wxFlexGridSizer,
47313 _swigc__p_wxFocusEvent,
47314 _swigc__p_wxFont,
b850e7f3
RD
47315 _swigc__p_wxFontPickerCtrl,
47316 _swigc__p_wxFontPickerEvent,
1bd55598
RD
47317 _swigc__p_wxGBSizerItem,
47318 _swigc__p_wxGIFHandler,
47319 _swigc__p_wxGauge,
47320 _swigc__p_wxGenericDirCtrl,
47321 _swigc__p_wxGenericDragImage,
47322 _swigc__p_wxGridBagSizer,
47323 _swigc__p_wxGridSizer,
47324 _swigc__p_wxHelpEvent,
47325 _swigc__p_wxHelpProvider,
704eda0c
RD
47326 _swigc__p_wxHyperlinkCtrl,
47327 _swigc__p_wxHyperlinkEvent,
1bd55598
RD
47328 _swigc__p_wxICOHandler,
47329 _swigc__p_wxIcon,
47330 _swigc__p_wxIconizeEvent,
47331 _swigc__p_wxIdleEvent,
47332 _swigc__p_wxImage,
47333 _swigc__p_wxImageHandler,
47334 _swigc__p_wxImageList,
47335 _swigc__p_wxIndividualLayoutConstraint,
47336 _swigc__p_wxInitDialogEvent,
47337 _swigc__p_wxItemContainer,
47338 _swigc__p_wxJPEGHandler,
47339 _swigc__p_wxKeyEvent,
47340 _swigc__p_wxLayoutConstraints,
47341 _swigc__p_wxListBox,
47342 _swigc__p_wxListEvent,
47343 _swigc__p_wxListItem,
47344 _swigc__p_wxListItemAttr,
47345 _swigc__p_wxListView,
47346 _swigc__p_wxListbook,
47347 _swigc__p_wxListbookEvent,
47348 _swigc__p_wxMaximizeEvent,
47349 _swigc__p_wxMemoryDC,
47350 _swigc__p_wxMenu,
47351 _swigc__p_wxMenuBar,
47352 _swigc__p_wxMenuEvent,
47353 _swigc__p_wxMenuItem,
47354 _swigc__p_wxMouseCaptureChangedEvent,
47355 _swigc__p_wxMouseEvent,
47356 _swigc__p_wxMoveEvent,
47357 _swigc__p_wxNavigationKeyEvent,
47358 _swigc__p_wxNcPaintEvent,
47359 _swigc__p_wxNotebook,
47360 _swigc__p_wxNotebookEvent,
47361 _swigc__p_wxNotifyEvent,
47362 _swigc__p_wxObject,
47363 _swigc__p_wxPCXHandler,
47364 _swigc__p_wxPNGHandler,
47365 _swigc__p_wxPNMHandler,
47366 _swigc__p_wxPaintEvent,
47367 _swigc__p_wxPaletteChangedEvent,
47368 _swigc__p_wxPaperSize,
b850e7f3 47369 _swigc__p_wxPickerBase,
1bd55598
RD
47370 _swigc__p_wxPoint,
47371 _swigc__p_wxPyApp,
47372 _swigc__p_wxPyCommandEvent,
47373 _swigc__p_wxPyControl,
47374 _swigc__p_wxPyEvent,
47375 _swigc__p_wxPyImageHandler,
47376 _swigc__p_wxPyListCtrl,
47377 _swigc__p_wxPySizer,
47378 _swigc__p_wxPyTreeCtrl,
47379 _swigc__p_wxPyTreeItemData,
47380 _swigc__p_wxPyValidator,
47381 _swigc__p_wxQueryNewPaletteEvent,
47382 _swigc__p_wxRadioBox,
47383 _swigc__p_wxRadioButton,
47384 _swigc__p_wxRect,
47385 _swigc__p_wxScrollBar,
47386 _swigc__p_wxScrollEvent,
47387 _swigc__p_wxScrollWinEvent,
47388 _swigc__p_wxSetCursorEvent,
47389 _swigc__p_wxShowEvent,
47390 _swigc__p_wxSimpleHelpProvider,
47391 _swigc__p_wxSize,
47392 _swigc__p_wxSizeEvent,
47393 _swigc__p_wxSizer,
47394 _swigc__p_wxSizerItem,
47395 _swigc__p_wxSlider,
47396 _swigc__p_wxSpinButton,
47397 _swigc__p_wxSpinCtrl,
47398 _swigc__p_wxSpinEvent,
47399 _swigc__p_wxStaticBitmap,
47400 _swigc__p_wxStaticBox,
47401 _swigc__p_wxStaticBoxSizer,
47402 _swigc__p_wxStaticLine,
47403 _swigc__p_wxStaticText,
47404 _swigc__p_wxStdDialogButtonSizer,
47405 _swigc__p_wxString,
47406 _swigc__p_wxSysColourChangedEvent,
47407 _swigc__p_wxTIFFHandler,
47408 _swigc__p_wxTextAttr,
47409 _swigc__p_wxTextCtrl,
47410 _swigc__p_wxTextUrlEvent,
47411 _swigc__p_wxToggleButton,
47412 _swigc__p_wxToolBar,
47413 _swigc__p_wxToolBarBase,
47414 _swigc__p_wxToolBarToolBase,
47415 _swigc__p_wxToolbook,
47416 _swigc__p_wxToolbookEvent,
47417 _swigc__p_wxTreeCtrl,
47418 _swigc__p_wxTreeEvent,
47419 _swigc__p_wxTreeItemId,
47420 _swigc__p_wxTreebook,
47421 _swigc__p_wxTreebookEvent,
47422 _swigc__p_wxUpdateUIEvent,
47423 _swigc__p_wxValidator,
47424 _swigc__p_wxVisualAttributes,
47425 _swigc__p_wxWindow,
b850e7f3 47426 _swigc__p_wxWindowBase,
1bd55598
RD
47427 _swigc__p_wxWindowCreateEvent,
47428 _swigc__p_wxWindowDestroyEvent,
47429 _swigc__p_wxXPMHandler,
47430};
47431
47432
47433/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47434
47435static swig_const_info swig_const_table[] = {
47436{0, 0, 0, 0.0, 0, 0}};
47437
47438#ifdef __cplusplus
47439}
47440#endif
47441/* -----------------------------------------------------------------------------
47442 * Type initialization:
47443 * This problem is tough by the requirement that no dynamic
47444 * memory is used. Also, since swig_type_info structures store pointers to
47445 * swig_cast_info structures and swig_cast_info structures store pointers back
47446 * to swig_type_info structures, we need some lookup code at initialization.
47447 * The idea is that swig generates all the structures that are needed.
47448 * The runtime then collects these partially filled structures.
47449 * The SWIG_InitializeModule function takes these initial arrays out of
47450 * swig_module, and does all the lookup, filling in the swig_module.types
47451 * array with the correct data and linking the correct swig_cast_info
47452 * structures together.
47453 *
47454 * The generated swig_type_info structures are assigned staticly to an initial
47455 * array. We just loop though that array, and handle each type individually.
47456 * First we lookup if this type has been already loaded, and if so, use the
47457 * loaded structure instead of the generated one. Then we have to fill in the
47458 * cast linked list. The cast data is initially stored in something like a
47459 * two-dimensional array. Each row corresponds to a type (there are the same
47460 * number of rows as there are in the swig_type_initial array). Each entry in
47461 * a column is one of the swig_cast_info structures for that type.
47462 * The cast_initial array is actually an array of arrays, because each row has
47463 * a variable number of columns. So to actually build the cast linked list,
47464 * we find the array of casts associated with the type, and loop through it
47465 * adding the casts to the list. The one last trick we need to do is making
47466 * sure the type pointer in the swig_cast_info struct is correct.
47467 *
47468 * First off, we lookup the cast->type name to see if it is already loaded.
47469 * There are three cases to handle:
47470 * 1) If the cast->type has already been loaded AND the type we are adding
47471 * casting info to has not been loaded (it is in this module), THEN we
47472 * replace the cast->type pointer with the type pointer that has already
47473 * been loaded.
47474 * 2) If BOTH types (the one we are adding casting info to, and the
47475 * cast->type) are loaded, THEN the cast info has already been loaded by
47476 * the previous module so we just ignore it.
47477 * 3) Finally, if cast->type has not already been loaded, then we add that
47478 * swig_cast_info to the linked list (because the cast->type) pointer will
47479 * be correct.
47480 * ----------------------------------------------------------------------------- */
47481
47482#ifdef __cplusplus
47483extern "C" {
47484#if 0
47485} /* c-mode */
47486#endif
47487#endif
47488
47489#if 0
47490#define SWIGRUNTIME_DEBUG
47491#endif
47492
47493SWIGRUNTIME void
47494SWIG_InitializeModule(void *clientdata) {
47495 size_t i;
47496 swig_module_info *module_head;
47497 static int init_run = 0;
47498
47499 clientdata = clientdata;
47500
47501 if (init_run) return;
47502 init_run = 1;
47503
47504 /* Initialize the swig_module */
47505 swig_module.type_initial = swig_type_initial;
47506 swig_module.cast_initial = swig_cast_initial;
47507
47508 /* Try and load any already created modules */
47509 module_head = SWIG_GetModule(clientdata);
47510 if (module_head) {
47511 swig_module.next = module_head->next;
47512 module_head->next = &swig_module;
47513 } else {
47514 /* This is the first module loaded */
47515 swig_module.next = &swig_module;
47516 SWIG_SetModule(clientdata, &swig_module);
47517 }
47518
47519 /* Now work on filling in swig_module.types */
47520#ifdef SWIGRUNTIME_DEBUG
47521 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
47522#endif
47523 for (i = 0; i < swig_module.size; ++i) {
47524 swig_type_info *type = 0;
47525 swig_type_info *ret;
47526 swig_cast_info *cast;
d55e5bfc 47527
1bd55598
RD
47528#ifdef SWIGRUNTIME_DEBUG
47529 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
47530#endif
d55e5bfc 47531
1bd55598
RD
47532 /* if there is another module already loaded */
47533 if (swig_module.next != &swig_module) {
47534 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 47535 }
1bd55598
RD
47536 if (type) {
47537 /* Overwrite clientdata field */
47538#ifdef SWIGRUNTIME_DEBUG
47539 printf("SWIG_InitializeModule: found type %s\n", type->name);
47540#endif
47541 if (swig_module.type_initial[i]->clientdata) {
47542 type->clientdata = swig_module.type_initial[i]->clientdata;
47543#ifdef SWIGRUNTIME_DEBUG
47544 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
47545#endif
47546 }
47547 } else {
47548 type = swig_module.type_initial[i];
36ed4f51 47549 }
d55e5bfc 47550
1bd55598
RD
47551 /* Insert casting types */
47552 cast = swig_module.cast_initial[i];
47553 while (cast->type) {
47554 /* Don't need to add information already in the list */
47555 ret = 0;
47556#ifdef SWIGRUNTIME_DEBUG
47557 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
47558#endif
47559 if (swig_module.next != &swig_module) {
47560 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
47561#ifdef SWIGRUNTIME_DEBUG
47562 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
47563#endif
47564 }
47565 if (ret) {
47566 if (type == swig_module.type_initial[i]) {
47567#ifdef SWIGRUNTIME_DEBUG
47568 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
47569#endif
47570 cast->type = ret;
47571 ret = 0;
47572 } else {
47573 /* Check for casting already in the list */
47574 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
47575#ifdef SWIGRUNTIME_DEBUG
47576 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
47577#endif
47578 if (!ocast) ret = 0;
47579 }
47580 }
47581
47582 if (!ret) {
47583#ifdef SWIGRUNTIME_DEBUG
47584 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
47585#endif
47586 if (type->cast) {
47587 type->cast->prev = cast;
47588 cast->next = type->cast;
47589 }
47590 type->cast = cast;
47591 }
47592 cast++;
36ed4f51 47593 }
1bd55598
RD
47594 /* Set entry in modules->types array equal to the type */
47595 swig_module.types[i] = type;
47596 }
47597 swig_module.types[i] = 0;
47598
47599#ifdef SWIGRUNTIME_DEBUG
47600 printf("**** SWIG_InitializeModule: Cast List ******\n");
47601 for (i = 0; i < swig_module.size; ++i) {
47602 int j = 0;
47603 swig_cast_info *cast = swig_module.cast_initial[i];
47604 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
47605 while (cast->type) {
47606 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
47607 cast++;
47608 ++j;
47609 }
47610 printf("---- Total casts: %d\n",j);
47611 }
47612 printf("**** SWIG_InitializeModule: Cast List ******\n");
47613#endif
47614}
47615
47616/* This function will propagate the clientdata field of type to
47617* any new swig_type_info structures that have been added into the list
47618* of equivalent types. It is like calling
47619* SWIG_TypeClientData(type, clientdata) a second time.
47620*/
47621SWIGRUNTIME void
47622SWIG_PropagateClientData(void) {
47623 size_t i;
47624 swig_cast_info *equiv;
47625 static int init_run = 0;
47626
47627 if (init_run) return;
47628 init_run = 1;
47629
47630 for (i = 0; i < swig_module.size; i++) {
47631 if (swig_module.types[i]->clientdata) {
47632 equiv = swig_module.types[i]->cast;
47633 while (equiv) {
47634 if (!equiv->converter) {
47635 if (equiv->type && !equiv->type->clientdata)
47636 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
47637 }
47638 equiv = equiv->next;
47639 }
36ed4f51 47640 }
1bd55598
RD
47641 }
47642}
47643
47644#ifdef __cplusplus
47645#if 0
47646{
47647 /* c-mode */
47648#endif
47649}
47650#endif
47651
47652
47653
47654#ifdef __cplusplus
47655extern "C" {
47656#endif
47657
47658 /* Python-specific SWIG API */
47659#define SWIG_newvarlink() SWIG_Python_newvarlink()
47660#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47661#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47662
47663 /* -----------------------------------------------------------------------------
47664 * global variable support code.
47665 * ----------------------------------------------------------------------------- */
47666
47667 typedef struct swig_globalvar {
47668 char *name; /* Name of global variable */
47669 PyObject *(*get_attr)(void); /* Return the current value */
47670 int (*set_attr)(PyObject *); /* Set the value */
47671 struct swig_globalvar *next;
47672 } swig_globalvar;
47673
47674 typedef struct swig_varlinkobject {
47675 PyObject_HEAD
47676 swig_globalvar *vars;
47677 } swig_varlinkobject;
47678
47679 SWIGINTERN PyObject *
47680 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
47681 return PyString_FromString("<Swig global variables>");
47682 }
47683
47684 SWIGINTERN PyObject *
47685 swig_varlink_str(swig_varlinkobject *v) {
47686 PyObject *str = PyString_FromString("(");
47687 swig_globalvar *var;
47688 for (var = v->vars; var; var=var->next) {
47689 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
47690 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
47691 }
47692 PyString_ConcatAndDel(&str,PyString_FromString(")"));
47693 return str;
47694 }
47695
47696 SWIGINTERN int
47697 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
47698 PyObject *str = swig_varlink_str(v);
47699 fprintf(fp,"Swig global variables ");
47700 fprintf(fp,"%s\n", PyString_AsString(str));
47701 Py_DECREF(str);
47702 return 0;
47703 }
47704
47705 SWIGINTERN void
47706 swig_varlink_dealloc(swig_varlinkobject *v) {
47707 swig_globalvar *var = v->vars;
47708 while (var) {
47709 swig_globalvar *n = var->next;
47710 free(var->name);
47711 free(var);
47712 var = n;
36ed4f51 47713 }
1bd55598
RD
47714 }
47715
47716 SWIGINTERN PyObject *
47717 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
47718 PyObject *res = NULL;
47719 swig_globalvar *var = v->vars;
47720 while (var) {
47721 if (strcmp(var->name,n) == 0) {
47722 res = (*var->get_attr)();
47723 break;
47724 }
47725 var = var->next;
36ed4f51 47726 }
1bd55598
RD
47727 if (res == NULL && !PyErr_Occurred()) {
47728 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 47729 }
1bd55598
RD
47730 return res;
47731 }
47732
47733 SWIGINTERN int
47734 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
47735 int res = 1;
47736 swig_globalvar *var = v->vars;
47737 while (var) {
47738 if (strcmp(var->name,n) == 0) {
47739 res = (*var->set_attr)(p);
47740 break;
47741 }
47742 var = var->next;
36ed4f51 47743 }
1bd55598
RD
47744 if (res == 1 && !PyErr_Occurred()) {
47745 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 47746 }
1bd55598
RD
47747 return res;
47748 }
47749
47750 SWIGINTERN PyTypeObject*
47751 swig_varlink_type(void) {
47752 static char varlink__doc__[] = "Swig var link object";
47753 static PyTypeObject varlink_type;
47754 static int type_init = 0;
47755 if (!type_init) {
47756 const PyTypeObject tmp
47757 = {
47758 PyObject_HEAD_INIT(NULL)
47759 0, /* Number of items in variable part (ob_size) */
47760 (char *)"swigvarlink", /* Type name (tp_name) */
47761 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
47762 0, /* Itemsize (tp_itemsize) */
47763 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
47764 (printfunc) swig_varlink_print, /* Print (tp_print) */
47765 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
47766 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
47767 0, /* tp_compare */
47768 (reprfunc) swig_varlink_repr, /* tp_repr */
47769 0, /* tp_as_number */
47770 0, /* tp_as_sequence */
47771 0, /* tp_as_mapping */
47772 0, /* tp_hash */
47773 0, /* tp_call */
47774 (reprfunc)swig_varlink_str, /* tp_str */
47775 0, /* tp_getattro */
47776 0, /* tp_setattro */
47777 0, /* tp_as_buffer */
47778 0, /* tp_flags */
47779 varlink__doc__, /* tp_doc */
47780 0, /* tp_traverse */
47781 0, /* tp_clear */
47782 0, /* tp_richcompare */
47783 0, /* tp_weaklistoffset */
47784#if PY_VERSION_HEX >= 0x02020000
47785 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47786#endif
47787#if PY_VERSION_HEX >= 0x02030000
47788 0, /* tp_del */
47789#endif
47790#ifdef COUNT_ALLOCS
47791 0,0,0,0 /* tp_alloc -> tp_next */
47792#endif
47793 };
47794 varlink_type = tmp;
47795 varlink_type.ob_type = &PyType_Type;
47796 type_init = 1;
53aa7709 47797 }
1bd55598
RD
47798 return &varlink_type;
47799 }
47800
47801 /* Create a variable linking object for use later */
47802 SWIGINTERN PyObject *
47803 SWIG_Python_newvarlink(void) {
47804 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
47805 if (result) {
47806 result->vars = 0;
47807 }
47808 return ((PyObject*) result);
47809 }
47810
47811 SWIGINTERN void
47812 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
47813 swig_varlinkobject *v = (swig_varlinkobject *) p;
47814 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
47815 if (gv) {
47816 size_t size = strlen(name)+1;
47817 gv->name = (char *)malloc(size);
47818 if (gv->name) {
47819 strncpy(gv->name,name,size);
47820 gv->get_attr = get_attr;
47821 gv->set_attr = set_attr;
47822 gv->next = v->vars;
47823 }
53aa7709 47824 }
1bd55598
RD
47825 v->vars = gv;
47826 }
47827
47828 SWIGINTERN PyObject *
47829 SWIG_globals() {
47830 static PyObject *_SWIG_globals = 0;
47831 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
47832 return _SWIG_globals;
47833 }
47834
47835 /* -----------------------------------------------------------------------------
47836 * constants/methods manipulation
47837 * ----------------------------------------------------------------------------- */
47838
47839 /* Install Constants */
47840 SWIGINTERN void
47841 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
47842 PyObject *obj = 0;
47843 size_t i;
47844 for (i = 0; constants[i].type; ++i) {
47845 switch(constants[i].type) {
47846 case SWIG_PY_POINTER:
47847 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
47848 break;
47849 case SWIG_PY_BINARY:
47850 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
47851 break;
47852 default:
47853 obj = 0;
47854 break;
47855 }
47856 if (obj) {
47857 PyDict_SetItemString(d, constants[i].name, obj);
47858 Py_DECREF(obj);
47859 }
53aa7709 47860 }
1bd55598
RD
47861 }
47862
47863 /* -----------------------------------------------------------------------------*/
47864 /* Fix SwigMethods to carry the callback ptrs when needed */
47865 /* -----------------------------------------------------------------------------*/
47866
47867 SWIGINTERN void
47868 SWIG_Python_FixMethods(PyMethodDef *methods,
47869 swig_const_info *const_table,
47870 swig_type_info **types,
47871 swig_type_info **types_initial) {
47872 size_t i;
47873 for (i = 0; methods[i].ml_name; ++i) {
47874 char *c = methods[i].ml_doc;
47875 if (c && (c = strstr(c, "swig_ptr: "))) {
47876 int j;
47877 swig_const_info *ci = 0;
47878 char *name = c + 10;
47879 for (j = 0; const_table[j].type; ++j) {
47880 if (strncmp(const_table[j].name, name,
47881 strlen(const_table[j].name)) == 0) {
47882 ci = &(const_table[j]);
47883 break;
47884 }
47885 }
47886 if (ci) {
47887 size_t shift = (ci->ptype) - types;
47888 swig_type_info *ty = types_initial[shift];
47889 size_t ldoc = (c - methods[i].ml_doc);
47890 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
47891 char *ndoc = (char*)malloc(ldoc + lptr + 10);
47892 if (ndoc) {
47893 char *buff = ndoc;
47894 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
47895 if (ptr) {
47896 strncpy(buff, methods[i].ml_doc, ldoc);
47897 buff += ldoc;
47898 strncpy(buff, "swig_ptr: ", 10);
47899 buff += 10;
47900 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
47901 methods[i].ml_doc = ndoc;
47902 }
47903 }
47904 }
47905 }
53aa7709 47906 }
1bd55598
RD
47907 }
47908
47909#ifdef __cplusplus
47910}
47911#endif
47912
47913/* -----------------------------------------------------------------------------*
47914 * Partial Init method
47915 * -----------------------------------------------------------------------------*/
47916
47917#ifdef __cplusplus
47918extern "C"
47919#endif
47920SWIGEXPORT void SWIG_init(void) {
47921 PyObject *m, *d;
47922
47923 /* Fix SwigMethods to carry the callback ptrs when needed */
47924 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
47925
47926 m = Py_InitModule((char *) SWIG_name, SwigMethods);
47927 d = PyModule_GetDict(m);
47928
47929 SWIG_InitializeModule(0);
47930 SWIG_InstallConstants(d,swig_const_table);
47931
47932
47933 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
47934 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
47935 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
47936 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
47937 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
47938 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
47939 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
47940 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
47941 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
47942 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
47943 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
47944 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
47945 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
47946 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
47947 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
47948 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
47949 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
47950 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
47951 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
47952 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
47953 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
47954 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
1bd55598
RD
47955 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
47956 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
47957 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
47958 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
47959 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
47960 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
47961 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
47962 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
47963 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
47964 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
47965 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
47966 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
47967 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
47968 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
47969 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
47970 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
47971 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
47972 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
47973 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
47974 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
47975 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
47976 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
47977 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
1bd55598
RD
47978 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
47979 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
47980 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
47981 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
47982 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
47983 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
47984 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
47985 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
47986 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
47987 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
47988 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
47989 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
47990 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
47991 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
47992 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
47993 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
47994 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
47995 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
47996 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
47997 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
47998 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
47999 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
48000 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
48001 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
48002 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
48003 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
48004 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
48005 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
48006 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
48007 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
48008 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
48009 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
48010 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
48011 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
48012 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
48013 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
48014 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
48015 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
48016 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
48017 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
48018 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
48019 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
48020 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
48021 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
48022 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
48023 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
48024 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
48025 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
48026 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
48027 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
48028 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
48029 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
48030 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
48031 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
48032 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
48033 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
48034 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
48035 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
48036 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
48037 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
48038 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
48039 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
48040 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 48041 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
1bd55598
RD
48042 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
48043 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
48044 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
48045 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
48046 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
48047 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
48048 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
48049 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
48050 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
48051 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
48052 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
48053 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
48054 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
48055 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
48056 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
48057 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
48058 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
48059 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
48060 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
48061 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
48062 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
48063 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
48064 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
48065 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
48066 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
48067 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
48068 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
48069 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
48070 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
48071 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
48072 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
48073 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
48074 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
48075 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
48076 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
48077 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
48078 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
48079 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
48080 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
48081 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
48082 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
48083 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
48084 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
48085 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
48086 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
48087 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
48088 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
48089 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
48090 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 48091 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
1bd55598
RD
48092 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
48093 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
48094 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
48095 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
48096 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
48097 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
48098 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
48099 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
48100 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
48101 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
48102 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
48103 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
48104 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
48105 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
48106 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
48107 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
48108 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
48109 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
48110 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
48111 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
48112 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
48113 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
48114 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
48115 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
48116 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
48117 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
48118 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
48119 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
48120 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
48121 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
48122 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
48123 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
48124 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
48125 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
48126 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
48127 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
48128 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
48129 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
48130 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
48131 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
48132 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
48133 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
48134 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
48135 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
48136 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
48137 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
48138 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 48139 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
1bd55598
RD
48140 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
48141 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
48142 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
48143 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
48144 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
48145 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
48146 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
48147 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
48148 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
48149 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
48150 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
48151 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
48152 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
48153 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
48154 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
48155 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
48156 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
48157 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
48158 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
48159 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
48160 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
48161 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
48162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
48163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
48164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
48165 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
48166 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
48167 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
48168 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
48169 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
48170 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
48171 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
48172 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
48173 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
48174 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
48175 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
48176 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
48177 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
48178 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
48179 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
48180 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
48181 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
48182
48183 // Map renamed classes back to their common name for OOR
48184 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48185
48186 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
48187 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
48188 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
48189 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
48190 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
48191 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
48192 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
48193 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
48194 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
48195 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
48196 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
48197 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
48198 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
48199 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
48200 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
1bd55598
RD
48201 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
48202 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
48203 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
48204 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
48205 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
48206 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
48207 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
48208 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
48209 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
48210 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
48211 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
48212 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
48213 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
48214 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
48215 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
48216 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
48217 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
48218 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
48219 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
48220 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
48221 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
48222 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
48223 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
48224 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
48225 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
48226 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
48227 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
48228 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
48229 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
48230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
48231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
48232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
48233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
48234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
48235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
48236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
48237 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
48238 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
48239 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
48240 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
48241
48242 // Map renamed classes back to their common name for OOR
48243 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48244 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48245
48246 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
48247 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
48248 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
48249 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
48250 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
48251 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
48252 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
48253 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
48254 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
48255 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
48256 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
48257 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
48258 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
1bd55598
RD
48259
48260 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48261
48262 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
48263 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
48264 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
48265 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
48266 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
48267 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
48268 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
48269 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
48270 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
48271 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
48272 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
48273 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
48274 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
48275 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
48276 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
48277 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
48278 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
48279 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
48280 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
48281 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
48282 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
48283 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
48284 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
48285 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
48286 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
48287 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
48288 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
48289 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
48290 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
48291 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
48292 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
48293 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
48294 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
48295 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
48296 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
48297 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
48298 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
48299 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
48300 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
48301 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
d55e5bfc
RD
48302}
48303